Sponsored Content
Full Discussion: Info on /dev/dm files
Operating Systems Linux Red Hat Info on /dev/dm files Post 302664489 by admin_xor on Friday 29th of June 2012 04:10:38 PM
Old 06-29-2012
Quote:
So, my assumption is these files are created when i run lvcreate. Correct me if I'm wrong.
Yes, you are correct.

Quote:
...if we can use this as instead of /dev/mapper/logvol's in the /etc/fstab?
If you do an "ls -l" on /dev/mapper/* it will tell you that those are symbolic links to the /dev/dm-* files. Files in /dev/mapper are named according to the volume groups and logical volumes lying on top of them. If you are comfortable with dm-* files and you know what volume group-logical volume they map to, you may use them in /etc/fstab file.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mv files to /dev/null

im having trouble with moving files in a directory into /dev/null for file in $HOME/.trashcan/ do mv $file /dev/null done the error msg i get is: mv: /dev/null: not a directory. does anyone know how to fix this? thanks primal (16 Replies)
Discussion started by: primal
16 Replies

2. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

3. UNIX for Dummies Questions & Answers

Make /dev/null all the files

How can I make /dev/null all the 8640 files that I am getting from this command. find . \( ! -name . -prune \) -type f -name "EXPORT_v1x0*" | awk -F'_' '$6<20120812' And then delete everything. If I am using this command to delete it, I am getting Disk Quota Exceeded Exception. find .... (4 Replies)
Discussion started by: raihan26
4 Replies

4. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies

5. AIX

Difference between /dev/hdisk and /dev/rhdisk

Hi, How can i check that i am using RAW devices for storage in my AIX machine... Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number eg: dcback1(root):/dev>ls -lrt | grep disk12 crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies

6. AIX

Problem in /dev/hd1 and /dev/hd9var

Hello AIXians, I can't boot my AIX, it hangs and stops at the code error: 0518 After searching google, I knew the problem is due to problems in File Systems. So the solution is booting from any bootable media, then run these commands in maintenance mode: #fsck -y /dev/hd4 #fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies

7. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

8. Solaris

Why files get created with srwxrwxrwt under /dev/?

$ uname -a SunOS myhost 5.11 11.2 sun4v sparc sun4v I see following 0 byte (regular)files getting created under /dev/mydisks directory : srwxrwxrwt 1 gusr dba 0 Sep 14 23:57 VF_10 srwxrwxrwt 1 gusr dba 0 Sep 14 23:57 DATA1 srwxrwxrwt 1 gusr dba 0 Sep 14 23:57... (8 Replies)
Discussion started by: YShivak
8 Replies

9. Red Hat

Changing grub from /dev/sda to /dev/sdb

Hi, Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

10. HP-UX

Dev/urandom and dev/random missing in HP-UX

Hi, In our HP-UX B.11.11. I could not find dev/urandom and dev/random Are all pseudo-devices implemented as device drivers, or in need to run /configure some package to install the package to have dev/urandom. Please help (4 Replies)
Discussion started by: rashi
4 Replies
VGMKNODES(8)						      System Manager's Manual						      VGMKNODES(8)

NAME
vgmknodes - create volume group directory and special files SYNOPSIS
vgmknodes [-d|--debug] [-h|--help] [-v|--verbose] [VolumeGroupPath | VolumeGroupName...] DESCRIPTION
vgmknodes creates the volume group directory and special files for an existing volume group. This is to restore deleted special files. Owner, group and file permissions will not be restored. OPTIONS -d, --debug Enables additional debugging output (if compiled with DEBUG). -h, --help Print a usage message on standard output and exit successfully. -v, --verbose Gives verbose information about vgmknode's activities. Examples "vgmknodes /dev/vg02" tries to remove /dev/vg02 and all contained special files and then creates them again based on the VGDA. DIAGNOSTICS
vgmknodes returns an exit code of 0 for success and > 0 for error: 1 invalid volume group name 2 error checking existence of volume group 3 error removing volume group device special files 4 error creating volume group device special files 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan (8)) 99 invalid command line See also lvm(8), vgcreate(8) AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com> Heinz Mauelshagen LVM TOOLS VGMKNODES(8)
All times are GMT -4. The time now is 09:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy