Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv

2011-08-24 Thread yudi v
There should be none. Note, however, that /dev/mapper/ may contain non-LVM specials as well, such as cryptsetup(8) ones. My guess is that /dev/VG/LV may provide some sort of backwards compatibility, as LVM may have been implemented before Linux's

LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv

2011-08-23 Thread yudi v
I created a LV and was going to use the following command to create a file system: mkfs.ext4 /dev/vg/lv someone suggested I use: mkfs.ext4 /dev/mapper/vg-lv What's the difference? -- Kind regards, Yudi

Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv

2011-08-23 Thread Andrew McGlashan
Hi Yudi, yudi v wrote: I created a LV and was going to use the following command to create a file system: mkfs.ext4 /dev/vg/lv someone suggested I use: mkfs.ext4 /dev/mapper/vg-lv What's the difference? Perhaps nothing, provided it is mapped properly: # ls -lart /dev/mapper/vg0-root

Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv

2011-08-23 Thread Ivan Shmakov
yudi v yudi@gmail.com writes: I created a LV and was going to use the following command to create a file system: mkfs.ext4 /dev/vg/lv someone suggested I use: mkfs.ext4 /dev/mapper/vg-lv What's the difference? There should be none. Note, however, that