Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv
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 “device mapper.” (IIRC, there was an LVM implementation for HP-UX, bearing some similarity to the one currently in Linux.) Thanks for sharing that info. AndrewM, thanks for the prompt reply. -- Kind regards, Yudi
LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv
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
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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e53c13c.3020...@affinityvision.com.au
Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv
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 /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 “device mapper.” (IIRC, there was an LVM implementation for HP-UX, bearing some similarity to the one currently in Linux.) -- FSF associate member #7257 Coming soon: Software Freedom Day http://mail.sf-day.org/lists/listinfo/ planning-ru (ru), sfd-discuss (en) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/86ippoqgvs@gray.siamics.net