[linux-lvm] Broken hard disk

Martin Wilmes martin.wilmes at java-cup.de
Fri Oct 13 03:53:18 UTC 2006


On Friday, 13. October 2006 00:53, Bryn M. Reeves wrote:
> You can add move 'v's to increase the verbosity of vgscan to see what
> it's scanning - do you have any device filters configured in /etc/lvm.conf?

No filters, everything is commented out (unchanged).

vgscan -vvv now generates ouput for hda:

...
      /dev/hda1: size is 208782 sectors
        Closed /dev/hda1
      /dev/hda1: size is 208782 sectors
        Opened /dev/hda1 RO O_DIRECT
        /dev/hda1: block size is 1024 bytes
        Closed /dev/hda1
        Using /dev/hda1
        Opened /dev/hda1 RO O_DIRECT
        /dev/hda1: block size is 1024 bytes
      /dev/hda1: No label detected
        Closed /dev/hda1
        /dev/loop1: Skipping (sysfs)
        /dev/cloop1: Skipping: Unrecognised LVM device type 240
...

> It'd also be good to see what pvscan shows, for e.g.:

pvscan -vvv outputs:

...
      /dev/hda1: size is 208782 sectors
        Closed /dev/hda1
      /dev/hda1: size is 208782 sectors
        Opened /dev/hda1 RO O_DIRECT
        /dev/hda1: block size is 1024 bytes
        Closed /dev/hda1
        Using /dev/hda1
        Opened /dev/hda1 RO O_DIRECT
        /dev/hda1: block size is 1024 bytes
      /dev/hda1: No label detected
        Closed /dev/hda1
        /dev/loop1: Skipping (sysfs)
        /dev/cloop1: Skipping: Unrecognised LVM device type 240
...

Thanks
Martin




More information about the linux-lvm mailing list