bin langsam am verzweifeln. Versuche meinem Server beizubringen, dass ich gerne eine Volume Group auf einem RAID1-Device anlegen möchte.
Das RAID-Device (/dev/md4) sieht folgendermaßen aus:
Code: Select all
mdadm -D /dev/md4
/dev/md4:
Version : 00.90.02
Creation Time : Wed Aug 2 15:30:00 2006
Raid Level : raid1
Array Size : 150199616 (143.24 GiB 153.80 GB)
Device Size : 150199616 (143.24 GiB 153.80 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 4
Persistence : Superblock is persistent
Update Time : Wed Aug 2 18:02:16 2006
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 033cb6df:73a552ad:258244f0:c9b5836d
Events : 0.10
Number Major Minor RaidDevice State
0 8 4 0 active sync /dev/sda4
1 8 20 1 active sync /dev/sdb4
Code: Select all
pvcreate /dev/md4
Physical volume "/dev/md4" successfully created
Beim Anlegen einer Volume Group passiert folgendes:
Code: Select all
vgcreate vg0 /dev/md4
Found duplicate PV NcqHYpUk6IDzBEasrzQWvNwXkMzZ1DYt: using /dev/sdb4 not /dev/sda4
Found duplicate PV NcqHYpUk6IDzBEasrzQWvNwXkMzZ1DYt: using /dev/sdb4 not /dev/sda4
Found duplicate PV NcqHYpUk6IDzBEasrzQWvNwXkMzZ1DYt: using /dev/sdb4 not /dev/sda4
/etc/lvm/backup: fsync failed: Invalid argument
Volume group "vg0" successfully created
Der Clou kommt jetzt beim Anlegen eines Logical Volumes:
Code: Select all
lvcreate -L2G -nhome vg0
Found duplicate PV NcqHYpUk6IDzBEasrzQWvNwXkMzZ1DYt: using /dev/sdb4 not /dev/sda4
Found duplicate PV NcqHYpUk6IDzBEasrzQWvNwXkMzZ1DYt: using /dev/sdb4 not /dev/sda4
Volume group "vg0" doesn't exist