[linux-lvm] pvcreate & pvscan error on MD device

BOIK MOON mooasun at yahoo.com
Wed Sep 18 22:31:02 UTC 2002


Hello, I do not have any error on PVCREATE, but
I do not have more than one MD device registred on my PVSCAN.
However, it is OK for the regular devices. Please help me, any clues?

The following are console message:

root# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md1 : active raid1 hdd4[1] hdb4[0]
      2048192 blocks [2/2] [UU]

md0 : active raid1 hdc4[1] hda4[0]
      2048192 blocks [2/2] [UU]

unused devices: <none>
root# pvcreate /dev/md1
pvcreate -- physical volume "/dev/md1" successfully created

root# pvcreate /dev/md0
pvcreate -- physical volume "/dev/md0" successfully created

root# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/md0"  is in no VG  [1.95 GB]
pvscan -- inactive PV "/dev/hdg4" is in no VG  [1000.12 MB]
pvscan -- inactive PV "/dev/hdh4" is in no VG  [1000.12 MB]
pvscan -- total: 3 [3.91 GB] / in use: 0 [0] / in no VG: 3 [3.91 GB]

root# pvdisplay /dev/md1
pvdisplay -- ERROR "pv_read(): pv_create_name_from_kdev_t" no VALID physical
volume "/dev/md1"


root# pvdisplay /dev/md0
pvdisplay -- "/dev/md0" is a new physical volume of 1.95 GB

root# pvdata /dev/md1
--- NEW Physical volume ---
PV Name               /dev/md1
VG Name
PV Size               1.95 GB
PV#                   0
PV Status             NOT available
Allocatable           NO
Cur LV                0
PE Size (KByte)       0
Total PE              0
Free PE               0
Allocated PE          0
PV UUID               Ke5PpL-bWgO-GTkR-E6Wt-QOzz-pRhy-cJQcPW




---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20020918/4173eafc/attachment.htm>


More information about the linux-lvm mailing list