Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
unable to use LVM with stripes
Hello everybody,
I'm trying to stripe my logical volume accross 4 disks. But once
created, LVM lost one of his physical volume ("Couldn't find device
with uuid 'XXX-xxxx...'").
Does anybody already tried that ?
Here are some info:
* I'm using 4 disks: sd0, sd1, sd2 and sd3. Each disk is 2TB. And each
disk are dedicated to LVM. My system is on another disk. I'm using
6.0_BETA2 from two weeks ago (july, 17).
* disklabel is identical for all disks:
c: 3905945472 128 unused 0 0
d: 3905945600 0 unused 0 0
* Then, I launch pvcreate on each raw partitions:
lvm pvcreate /dev/rsd0d
lvm pvcreate /dev/rsd1d
lvm pvcreate /dev/rsd2d
lvm pvcreate /dev/rsd3d
* I create one volume group (I set PE size to 128M in order to have a
maximum LV size of 8TB):
lvm vgcreate -s 128M vg00 /dev/rsd0d /dev/rsd1d /dev/rsd2d /dev/rsd3d
* I create one logical volume, stripped accross 4 disks, with a strip
size of 128K:
lvm lvcreate -i 4 -I 128K -L 1G -n test vg00
* Here, a pvscan is OK:
# lvm pvscan
PV /dev/rsd0d VG vg00 lvm2 [1.82 TiB / 1.82 TiB free]
PV /dev/rsd1d VG vg00 lvm2 [1.82 TiB / 1.82 TiB free]
PV /dev/rsd2d VG vg00 lvm2 [1.82 TiB / 1.82 TiB free]
PV /dev/rsd3d VG vg00 lvm2 [1.82 TiB / 1.82 TiB free]
Total: 4 [7.27 TiB] / in use: 4 [7.27 TiB] / in no VG: 0 [0 ]
* Then I create my filesystem:
newfs /dev/vg00/rtest
* Strangely, LVM has lost his last PV:
# lvm pvscan
Couldn't find device with uuid
'd0f3eX-aGgM-jyDn-Zb78-wWkC-B7AC-e8wAMY'.
Couldn't find device with uuid
'd0f3eX-aGgM-jyDn-Zb78-wWkC-B7AC-e8wAMY'.
Couldn't find device with uuid
'd0f3eX-aGgM-jyDn-Zb78-wWkC-B7AC-e8wAMY'.
PV /dev/rsd0d VG vg00 lvm2 [1.82 TiB / 1.82 TiB free]
PV /dev/rsd1d VG vg00 lvm2 [1.82 TiB / 1.82 TiB free]
PV /dev/rsd2d VG vg00 lvm2 [1.82 TiB / 1.82 TiB free]
PV unknown device VG vg00 lvm2 [1.82 TiB / 1.82 TiB free]
Total: 4 [7.27 TiB] / in use: 4 [7.27 TiB] / in no VG: 0 [0 ]
* And dmesg shows an abnormal log on stripes creation:
Stripe target init function called!!
Stripe target chunk size 256 number of stripes 4
Stripe target device name /dev/sd0d -- offset 384
Stripe target device name /dev/sd1d -- offset 384
Stripe target device name /dev/sd2d -- offset 384
Stripe target device name /dev/sd3d -- offset
M-kM-5UHM^IM-eHM^EM^?u^D1M-@]M-CHM^A?M^@C>M^@uM-sHM^KG^PHM
What am I missing ? Is there another way to proceed ?
If anybody can help, thank you very much.
best,
jym
Home |
Main Index |
Thread Index |
Old Index