On Saturday 15 February 2003 05:45 pm, gikoreno wrote:
> Hey everyone:
>
>
>
> I would like to know if DiskDrake supports RAID0+1 or RAID1+0, and how I
> can achieve these configurations using DiskDrake.
>
>
>
> If that can't be done, what's the easiest way I can implement these, since
> I know the kernel supports at least one of these methods.
>
> I did check out the RAID Howto, and it's in Appendix C, but I am wondering
> if there isn't another way of doing so that I can use while installing
> Mandrake.
>
>
>
> Thanks,
>
>
>
> gikoreno
>
>
>
>
>
>
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
No there is no support for RAID0+1 in diskdrake.

you can set up this way in /etc/raidtab

(I am assuming 4 drives for RAID10)

raiddev /dev/md0
        raid-level              0
        nr-raid-disks           2
        nr-spare-disks  0
        chunk-size              64k
        persistent-superblock   1
        device                  /dev/hde5
        raid-disk                       0
        device                  /dev/hdf5
        raid-disk                       1

raiddev /dev/md1
        raid-level              0
        nr-raid-disks           2
        nr-spare-disks  0
        chunk-size              64k
        persistent-superblock   1
        device                  /dev/hdg5
        raid-disk                       0
        device                  /dev/hdh5
        raid-disk                       1

radidev /dev/md2
        raid-level              1
        nr-raid-disks           2
        nr-spare-disks  0
        persistent-superblock   1
        device                  /dev/md0
        raid-disk                       0
        device                  /dev/md1
        raid-disk                       1

Now it is VITAL that you access md2 and NEVER access md0 or md1 directly.

you run
in this order

mkraid /dev/md0
mkraid /dev/md1
mkraid /dev/md2

The danger here is that md0 anfd md1 must be mounted but must NEVER be 
accessed directly.  

Sure and it is a RAID0+1 array, but the bastardized way of achieving it allows 
independent writing to the objects that are supposed to be mirrored.

Civileme



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to