Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv
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 /dev/vg0/root
brw-rw---- 1 root disk 253, 0 2011-06-24 18:56 /dev/mapper/vg0-root
lrwxrwxrwx 1 root root 20 2011-06-24 18:56 /dev/vg0/root ->
/dev/mapper/vg0-root
The "non mapper" version links back to the other one ... so, I think it
should be essentially the same -- or rather exactly the same.
Cheers
--
Kind Regards
AndrewM
Andrew McGlashan
Broadband Solutions now including VoIP
Reply to: