As you see, there's a small difference:
/dev/mapper/datavg-datalv is a
device file while /dev/datavg/datalv is a
symbolic link.
Although both paths they are interchangeable in commands like mount or fdisk:
# mount /dev/datavg/datalv /mnt
# mount /dev/mapper/datavg-datalv /mnt
my experience is that
you should use the device file in /etc/fstab, for example:
/dev/mapper/datavg-datalv /mnt ext3 acl,user_xattr 1 2
How come I recommend this? A couple of years ago I had an issue with a server that didn't come up after a reboot and the cause was a missing device symlink for an LVM filesystem listed in /etc/fstab
Partager