Hi, sorry to bother you all about this, but I have a few questions. First:

 I'm working off the latest snapshot of Raidtools-0.90, and a 2.2pre1
kernel, with RAID-1 built in (not as a module).

 In the QuickStart.RAID file, it says that mkraid will work like:

  $ mkraid /etc/raid1.conf

 It doesn't - it needs a -c option to get it to use something other than
/etc/raidtab. Just something small I noticed. Anyway. I've done:

minbar#  mkraid --really-force -c /etc/raid1.conf /dev/md0
DESTROYING the contents of /dev/md0 in 5 seconds, Ctrl-C if unsure!
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda9, 658633kB, raid superblock at 658560kB
disk 1: /dev/hda10, 658633kB, raid superblock at 658560kB
mkraid: aborted      
minbar# cat /proc/mdstat
Personalities : [3 raid1]
read_ahead not set
md0 : inactive hda9 hda10 1317266 blocks
md1 : inactive
md2 : inactive
md3 : inactive   
minbar# raidstart --configfile /etc/raid1.conf /dev/md01.conf /dev/md0 
/dev/md0: Invalid argument

 (just testing, I know the two partitions are on the same disk)

 Can I find out what was "aborted" in mkraid ? Any ideas on how to work out
what's up would be appricated..

Kate
# My RAID1 config

# From fdisk: 
# /dev/hda9          418      418      499   658633+  83  Linux native
# /dev/hda10         500      500      581   658633+  83  Linux native

raiddev           /dev/md0


raid-level        1
nr-raid-disks     2
nr-spare-disks    0
chunk-size        128

device            /dev/hda9
raid-disk         0
device            /dev/hda10
raid-disk         1



Disk /dev/hda: 255 heads, 63 sectors, 784 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hda1            1        1        9    72261   83  Linux native
/dev/hda2           10       10       17    64260   83  Linux native
/dev/hda3           18       18       81   514080    6  DOS 16-bit >=32M
/dev/hda4           82       82      784  5646847+   5  Extended
/dev/hda5           82       82      212  1052226    6  DOS 16-bit >=32M
/dev/hda6          213      213      408  1574338+   6  DOS 16-bit >=32M
/dev/hda7          409      409      417    72261   83  Linux native
/dev/hda8          582      582      784  1630566   83  Linux native
/dev/hda9          418      418      499   658633+  83  Linux native
/dev/hda10         500      500      581   658633+  83  Linux native

Disk /dev/hdb: 255 heads, 63 sectors, 523 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hdb1            1        1       64   514048+   6  DOS 16-bit >=32M
/dev/hdb2           65       65       72    64260   83  Linux native
/dev/hdb3           73       73      523  3622657+   5  Extended
/dev/hdb5           73       73       89   136521   82  Linux swap
/dev/hdb6           90       90      220  1052226   83  Linux native
/dev/hdb7          221      221      523  2433816   83  Linux native

Reply via email to