Hi there,
I'm trying to create a mirrored filesystem using software RAID-1 and
LVM2. The creation of the RAID-1 device went oke (see output bellow). Also
the pvcreate looks to be going fine. But when I do a pvdisplay it says "No
physical volume label read from /dev/md0".
Where using SLES9 (SuSE), the primary packages used here are;
Name : mdadm
Version : 1.5.0
Release : 40.1
Name : lvm2
Version : 2.00.15
Release : 0.3
Anybody a clue?
Thanks Henk
linux:~ # mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.01
Creation Time : Fri Sep 9 13:33:47 2005
Raid Level : raid1
Array Size : 2403264 (2.29 GiB 2.46 GB)
Device Size : 2403264 (2.29 GiB 2.46 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Fri Sep 9 15:27:10 2005
State : clean, no-errors
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Number Major Minor RaidDevice State
0 94 20 0 active sync /dev/dasdf
1 94 24 1 active sync /dev/dasdg
UUID : 2552994c:a78ec853:e4bc900b:9472770f
Events : 0.22
linux:~ # pvcreate /dev/md0 -vvv
Setting global/locking_type to 1
Setting global/locking_dir to /var/lock/lvm
File-based locking enabled.
Locking /var/lock/lvm/P_orphans WB
Opened /dev/md0
/dev/md0: No label detected
No physical volume label read from /dev/md0
metadata/pvmetadatasize not found in config: defaulting to 255
metadata/pvmetadatacopies not found in config: defaulting to 1
Getting size of /dev/md0
Wiping /dev/md0 at sector 4 length 8 sectors
Set up physical volume for "/dev/md0" with 4806144 available sectors
Scanning for labels to wipe from /dev/md0
Writing physical volume data to disk "/dev/md0"
Creating metadata area on /dev/md0 at sector 4 size 380 sectors
/dev/md0: Writing label to sector 1
Physical volume "/dev/md0" successfully created
Unlocking /var/lock/lvm/P_orphans
Closed /dev/md0
linux:~ # pvscan
No matching physical volumes found
linux:~ # pvdisplay /dev/md0
No physical volume label read from /dev/md0
Failed to read physical volume "/dev/md0"
linux:~ #
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390