To answer my own question
/dev/sda1 and /dev/sda2 should be set the other way around ie:
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/sda2
raid-disk 0
device /dev/sda1
raid-disk 1
failed-disk 1
according to the HOWTO.
Any additional pointers, reassurance ;) etc appreciated.
Mike
---
Michael S. E. Kraus
Administration
Capital Holdings Group (NSW) Pty Ltd
[EMAIL PROTECTED]
phone (02) 9955 8000 fax (02) 9955 8144
[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
07/01/2003 12:01 PM
To: Jeff Waugh <[EMAIL PROTECTED]>
cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] Using raid as root filesystem under Mandrake 8.2
G'day Jeff (and all)
I'm going to use raidtools, rather than mdadm (not because its the best,
but because there is more documentation to ease my learning curve).
Just wanting to check my /etc/raidtab before starting the array. (I'm
nervous, and really don't want to loose data or incur extra downtime.)
So here it is:
----
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/sda1
raid-disk 0
device /dev/sda2
raid-disk 1
failed-disk 0
---
>From my understanding this will set up my two scsi disks, with the first
one marked as a failed disk (so I can keep its contents currently).
Thanks heaps.
Mike
---
Michael S. E. Kraus
Administration
Capital Holdings Group (NSW) Pty Ltd
[EMAIL PROTECTED]
phone (02) 9955 8000 fax (02) 9955 8144
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug