[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] mdraid, pvcreate and vgcreate problem


i've ran into some problems with mdraid and lvm. as i guess that log messages will give you more information than i might do, i will begin:

i've got an identical setup on another server, which works flawlessly. as i don't know, where these problems might originate from, i hope that you can help me!

best regards,
raoul bhatia

yellow:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md3 : active raid1 ide/host0/bus1/target0/lun0/part3[1] ide/host0/bus0/target0/lun0/part3[0]
489856 blocks [2/2] [UU]

md0 : active raid1 ide/host0/bus1/target0/lun0/part5[1] ide/host0/bus0/target0/lun0/part5[0]
979840 blocks [2/2] [UU]

md1 : active raid1 ide/host0/bus1/target0/lun0/part6[1] ide/host0/bus0/target0/lun0/part6[0]
37069888 blocks [2/2] [UU]

unused devices: <none>

yellow:~# pvcreate -v /dev/md1
pvcreate -- locking logical volume manager
pvcreate -- checking physical volume name "/dev/md1"
pvcreate -- getting physical volume size
pvcreate -- checking maximum physical volume size
pvcreate -- checking partition type
pvcreate -- creating new physical volume
pvcreate -- setting up physical volume for /dev/md1 with 74139776 sectors
pvcreate -- writing physical volume data to disk "/dev/md1"
pvcreate -- physical volume "/dev/md1" successfully created
pvcreate -- unlocking logical volume manager

yellow:~# pvdisplay /dev/md1
pvdisplay -- "/dev/md1" is a new physical volume of 35.35 GB

yellow:~# pvdata -v /dev/md1
--- NEW Physical volume ---
PV Name               /dev/md1
VG Name
PV Size               35.35 GB [74139776 secs]
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               FzRQMD-gyz0-xB06-iP2s-Pog2-4MtC-lYSuab

yellow:~# vgcreate -v vg0 /dev/md1
vgcreate -- checking volume group name
vgcreate -- checking volume group directory existence
vgcreate -- locking logical volume manager
vgcreate -- checking volume group "vg0" existence
vgcreate -- counting all existing volume groups
vgcreate -- reading all physical volume data from disks
vgcreate -- checking if all given physical volumes in command line are new
vgcreate -- checking physical volumes name "/dev/md1"
vgcreate -- no valid physical volumes in command line

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]