[linux-lvm] Identifying useable block devices
Paul B. Henson
henson at acm.org
Thu Jan 16 01:32:30 UTC 2014
> Anatoly Pugachev
> Sent: Wednesday, January 15, 2014 12:25 PM
> > the /dev/mapper/.. devices are for internal use only.
> If so, how come most commands use it (df, mount, findmnt, etc..) and
> not /dev/vg/vol notation?
Because /dev/vg/vol is just a symlink to /dev/mapper/vg-vol, and mount
dereferences it and uses the authoritative name when it actually mounts it.
It can be rather confusing to have an fstab full of /dev/vg/foo but then see
/dev/mapper/vg-foo listed by mount, it does tend to make one think they
should just use /dev/mapper paths directly.
More information about the linux-lvm