[linux-lvm] pvscan fails
Heinz J . Mauelshagen
Heinz.Mauelshagen at t-online.de
Mon Aug 26 05:20:02 UTC 2002
On Mon, Aug 26, 2002 at 01:21:31AM -0400, Todd Troxell wrote:
> Hello,
>
> I'm having trouble setting up physical volumes.
>
> caffeine:~# pvcreate /dev/hdd1
> pvcreate -- physical volume "/dev/hdd1" successfully created
>
> caffeine:~# pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- ERROR "pv_read(): read" reading physical volumes
>
> After looking at debug messages, I think it is related to my
> ide cdrom (/dev/hdc).
Todd,
have you temporarily removed /dev/hdc and retried to prove this right?
>
> Does this seem to be the case? Is there a way to ignore /dev/hdc?
Not with LVM version < 1.1 :(
You should give LVM2 a try (please follow download instructions at
www.sistina.com in that case) which has fully configurable devices
based on regular expressions.
Regards,
Heinz -- The LVM Guy --
>
> (attached is output from pvscan -d) (2.2.18, lvm 1.0.4)
>
> -Todd
>
> p.s. please cc:
> <1> lvm_get_iop_version -- CALLED
> <22> lvm_check_special -- CALLED
<SNIP>
> <1> lvm_error -- LEAVING with: "pv_read(): read"
> pvscan -- ERROR "pv_read(): read" reading physical volumes
>
> pvscan -- reading all physical volumes (this may take a while...)
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen at Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list