[Techtalk] df under LVM oddness

Aguido Horatio Davis horatio at computer.org
Sat Aug 13 10:26:26 EST 2005


'Morning, all.

Most of the partitions on my Gentoo system are under logical volume  
management:

thomas ~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              18G  6.5G   12G  37% /
udev                  502M  648K  502M   1% /dev
/dev/sda1             479M   17M  438M   4% /boot
/dev/mapper/self-var   20G  2.8G   18G  14% /var
/dev/mapper/self-home
                        20G  700M   20G   4% /home
/dev/mapper/other-hosts
                        30G   22G  8.1G  74% /root/snapshots
none                  502M     0  502M   0% /dev/shm
thomas ~ # ls -l /dev/self
total 0
lrwxrwxrwx  1 root root 21 Jul  9 20:26 home -> /dev/mapper/self-home
lrwxrwxrwx  1 root root 20 Jul  9 20:26 var -> /dev/mapper/self-var
thomas ~ #

The customary /dev/self/* and /dev/other/* symbolic links are present  
for the two volume groups. /etc/fstab refers to these names. df, and  
mount, and so on persist in using the /dev/mapper/* names instead,  
and I am trying to persuade them not to.

Could anybody point me in the right direction?

Cheers,

Horatio


More information about the Techtalk mailing list