crokett
10-31-2001, 06:56 PM
My raidtab looks like:
raidev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/sda
raid disk 0
device /dev/sdb
raid disk 1
there are 7 partitions on the disk. mkraid works. fdisk /dev/md0 then returns the usual partition info, with the partitions /dev/md0p1 through /dev/md0p7. I checked mdstat, /dev/md0 is listed as active. The partitions cannot be mounted, mount returns them as invalid devices. After rummaging on the web, all the raidtabs I saw use different raiddev statements for each partition. Is that the way you have to do it or am I doing something else wrong?
thanks
raidev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/sda
raid disk 0
device /dev/sdb
raid disk 1
there are 7 partitions on the disk. mkraid works. fdisk /dev/md0 then returns the usual partition info, with the partitions /dev/md0p1 through /dev/md0p7. I checked mdstat, /dev/md0 is listed as active. The partitions cannot be mounted, mount returns them as invalid devices. After rummaging on the web, all the raidtabs I saw use different raiddev statements for each partition. Is that the way you have to do it or am I doing something else wrong?
thanks