[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

mount, blkid, df stopped resolving VGs



Hello,
I recently upgraded my raid array from 4 to 5 disks,
and mount no longer shows lv names but is /dev/dm-* style instead.
My setup is lvm on softraid

blkid, cat /proc/mounts, df, etc.. are all affected

How can I recover the normal behavior? Is it really caused by my
upgrade?
I recreated /etc/blkid, /etc/lvm/.cache.
I straced blkid (with no cache): it reads directly the data
from /proc/partitions.

cat /proc/partitions shows (edited for simplicity)
major minor  #blocks  name

   8     0  390711384 sda
   8     1    1020096 sda1
   8    16  390711384 sdb
   8    17    1020096 sdb1
   8    32  195360984 sdc
   8    33          1 sdc1
   8    48  195360984 sdd
   8    49          1 sdd1
   8    64  976762584 sde
   8    65          1 sde1
   9     1   78171648 md1
 253     0    2064384 dm-0
 253     1    2064384 dm-1
 253     2   10485760 dm-2
 253     3   12484608 dm-3
 253     4    4194304 dm-4
   9     2   78171904 md2
   9     0    1020032 md0
   9     3   78171904 md3
 253     5  136314880 dm-5
 253     6   62914560 dm-6
 253     7   37748736 dm-7
 253     8   31457280 dm-8
 253     9   20971520 dm-9


Should I file a bug? And if so, to which component

example of output:
 Filesystem            Size  Used Avail Use% Mounted on
 /dev/dm-0             2.0G  505M  1.4G  27% /
 /dev/md0              981M   40M  891M   5% /boot
 /dev/dm-2             9.9G  5.8G  3.7G  62% /usr
 /dev/dm-1             2.0G   38M  1.9G   2% /tmp
 /dev/dm-3              12G  994M   11G   9% /var
 /dev/dm-16             20G   12G  6.8G  64% /var/www/html
 /dev/dm-15             36G  3.6G   32G  11% /home
 /dev/dm-17             60G   38G   19G  67% /home/alex/Images
 /dev/dm-18             20G   15G  3.9G  80% /home/alex/Mp3
 /dev/dm-19             25G   21G  2.5G  90% /home/alex/vmware
 /dev/dm-11             20G   13G  6.7G  65% /backup/www
 /dev/dm-7              36G  3.6G   31G  11% /backup/home
 /dev/dm-6              60G   38G   19G  68% /backup/Images
 /dev/dm-9              20G   15G  3.8G  81% /backup/Mp3
 /dev/dm-10             25G  173M   24G   1% /backup/vmware

instead of
Filesystem            Size  Used Avail Use% Mounted on
 /dev/mapper/rootvg-rootlv
                       2.0G  505M  1.4G  27% /
 /dev/md0              981M   40M  891M   5% /boot
 /dev/mapper/rootvg-usrlv
                       9.9G  5.8G  3.7G  62% /usr
 /dev/mapper/rootvg-tmplv
                       2.0G   38M  1.9G   2% /tmp
 /dev/mapper/rootvg-varlv
                        12G  936M   11G   9% /var
 /dev/mapper/datavg-wwwlv
                        20G   12G  6.8G  64% /var/www/html
 /dev/mapper/datavg-homelv
                        36G  3.5G   32G  10% /home
 /dev/mapper/datavg-Imageslv
                        60G   38G   19G  67% /home/alex/Images
 /dev/mapper/datavg-mp3lv
                        20G   15G  3.9G  80% /home/alex/Mp3
 /dev/mapper/datavg-vmwarelv
                        25G   21G  3.4G  86% /home/alex/vmware
 /dev/mapper/sauv2vg-mp3lv
                        20G   15G  3.8G  81% /backup/Mp3

Thank you in advance,
Laurent



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]