Message-ID: <20020919145709.30802.qmail@web10404.mail.yahoo.com> From: BOIK MOON MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-118757654-1032447429=:30646" Subject: [linux-lvm] Fwd: pvcreate & pvscan error on MD device Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Thu Sep 19 10:02:54 2002 List-Id: To: linux-lvm@sistina.com --0-118757654-1032447429=:30646 Content-Type: multipart/alternative; boundary="0-1647274487-1032447429=:30646" --0-1647274487-1032447429=:30646 Content-Type: text/plain; charset=us-ascii Note: forwarded message attached. --------------------------------- Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! --0-1647274487-1032447429=:30646 Content-Type: text/html; charset=us-ascii

 Note: forwarded message attached.



Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo! --0-1647274487-1032447429=:30646-- --0-118757654-1032447429=:30646 Content-Type: message/rfc822 Received: from [66.127.100.114] by web10409.mail.yahoo.com via HTTP; Wed, 18 Sep 2002 20:30:59 PDT Date: Wed, 18 Sep 2002 20:30:59 -0700 (PDT) From: BOIK MOON Subject: pvcreate & pvscan error on MD device To: linux-lvm@sistina.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-362390394-1032406259=:36370" Content-Length: 1330 --0-362390394-1032406259=:36370 Content-Type: text/plain; charset=us-ascii 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: 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! --0-362390394-1032406259=:36370 Content-Type: text/html; charset=us-ascii
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! --0-362390394-1032406259=:36370-- --0-118757654-1032447429=:30646--