[Gllug] still wondering about lvm

Adrian McMenamin adrian at mcmen.demon.co.uk
Thu Mar 9 20:27:48 UTC 2006


On Thu, 2006-03-09 at 20:00 +0000, Rich Walker wrote:

> 
> I was going to say:
> pvscan checks all possible things for being pv's, and so will whinge
> about non-pv's.
> then I tried it and didn't get that error.
> 
> Can you do "pvscan -v -d" and send the result?
> 
root at dragoneye:~# pvscan -v -d
    Wiping cache of LVM-capable devices
    Wiping internal cache
    Walking through all physical volumes
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  PV /dev/sda5   VG Ubuntu   lvm2 [186.07 GB / 0    free]
  PV /dev/hda5   VG Ubuntu   lvm2 [76.45 GB / 460.00 MB free]
  PV /dev/hda1               lvm2 [101.76 MB]
  Total: 3 [262.62 GB] / in use: 2 [262.52 GB] / in no VG: 1 [101.76 MB]




> >
> > and if /dev/hda5 is in the Ubuntu VG why doesn't df report it:
> >
> > adrian at dragoneye:~$ df
> > Filesystem           1K-blocks      Used Available Use% Mounted on
> > /dev/mapper/Ubuntu-root
> >                      190527180   2392928 178456020   2% /
> > tmpfs                   258160         0    258160   0% /dev/shm
> > /dev/sda1               233335     27083    193804  13% /boot
> 
> Because you haven't allocated any of it to an LV?
I should have added this because it is reported as having been assigned
to an LV:

root at dragoneye:~# lvscan
  Incorrect metadata area header checksum
  ACTIVE            '/dev/Ubuntu/root' [260.60 GB] inherit
  ACTIVE            '/dev/Ubuntu/swap_1' [1.47 GB] inherit




-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list