[linux-lvm] Broken hard disk

Bryn M. Reeves breeves at redhat.com
Fri Oct 13 16:33:18 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Wilmes wrote:
> 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
> ...

What about hda2? According to your fdisk output, that's the PV on this disk.

Does hda2 appear in /proc/partitions?

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

Likewise - all I can see here is hda1 - that's a type 0x83 (Linux)
partition, rather than the 0x8e (Linux LVM) partition that we're
interested in here.

Can you put the complete output of vgscan -vvv and pvscan -vvv somewhere
on the web and post the links here?

You can use a pastedump service like http://p.opsat.net/new if you don't
have access to somewhere to host this.

Cheers,

Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFL7/O6YSQoMYUY94RAmxzAJkBGN5IDouPjSKCk44l8MCuN0XNjQCg2SB5
J7s5pP0VJTRzpLtgRJ5Ylxs=
=MwUj
-----END PGP SIGNATURE-----




More information about the linux-lvm mailing list