Hi, I have successfully setup lvm on top of my software raid 1 (two ide-disks, hda, hdb, two raid1 on top, md0 and md1, one as root and one for the first volume group, vg0). Everything works as expected, no problems at all.
Now I want to put two more disks (hdc/hdd) in the machine. For simplicity reasons (the data is on the second disk) I describe the problem with one harddisk: /etc/raidtab [...] raiddev /dev/md3 raid-level 1 nr-raid-disks 2 nr-spare-disks 0 persistent-superblock 1 device /dev/hdc1 raid-disk 0 device /dev/hdd1 failed-disk 1 [EMAIL PROTECTED]:~# mkraid /dev/md3 handling MD device /dev/md3 analyzing super-block disk 0: /dev/hdc1, 100522768kB, raid superblock at 100522688kB disk 1: /dev/hdd1, failed [EMAIL PROTECTED]:~# pvcreate /dev/md3 Physical volume "/dev/md3" successfully created [EMAIL PROTECTED]:~# vgcreate -v vgnew /dev/md3 Adding physical volume '/dev/md3' to volume group 'vgnew' Archiving volume group "vgnew" metadata. Creating volume group backup "/etc/lvm/backup/vgnew" Volume group "vgnew" successfully created [EMAIL PROTECTED]:~# vgscan Reading all physical volumes. This may take a while... Found volume group "vg0" using metadata type lvm2 [EMAIL PROTECTED]:~# lvcreate -L 83G -n smb2 vgnew Volume group "vgnew" doesn't exist Uah. Whats that? Creating a filesystem on md3 is no problem, data can be written and read, mounted, unmounted. So, I decided to test without md: [EMAIL PROTECTED]:~# pvremove /dev/md3 Labels on physical volume "/dev/md3" successfully wiped [EMAIL PROTECTED]:~# raidstop /dev/md3 [EMAIL PROTECTED]:~# pvcreate /dev/hdc1 Physical volume "/dev/hdc1" successfully created [EMAIL PROTECTED]:~# vgcreate -v vgnew /dev/hdc1 Adding physical volume '/dev/hdc1' to volume group 'vgnew' Archiving volume group "vgnew" metadata. Creating volume group backup "/etc/lvm/backup/vgnew" Volume group "vgnew" successfully created [EMAIL PROTECTED]:~# vgscan Reading all physical volumes. This may take a while... Found volume group "vgnew" using metadata type lvm2 Found volume group "vg0" using metadata type lvm2 [EMAIL PROTECTED]:~# lvcreate -L 83G -n smb2 vgnew Logical volume "smb2" created [EMAIL PROTECTED]:~# ls -al /dev/vgnew/ total 32 drwx------ 2 root root 4096 Nov 8 12:59 . drwxr-xr-x 16 root root 28672 Nov 8 12:59 .. lrwxrwxrwx 1 root root 22 Nov 8 12:59 smb2 -> /dev/mapper/vgnew-smb2 Hmm, this works. Whats up with creating lvm on top of raid? On the same machine this works (vg0) without problems. There a no messages in syslog, no dmessages etc. Some machine-data: Debian testing/sarge AMD Athlon(TM) XP 1900+ Linux fs 2.6.8-1-k7 #1 Thu Oct 7 02:47:47 EDT 2004 i686 GNU/Linux ii lvm-common 1.5.17 ii lvm2 2.00.24-1 ii raidtools2 1.00.3-15 How can I trace the problem? Any hints? -- Beste Gruesse / Best regards Markus Meissner -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]