Hi all,

I have setup a software raid5 array consisting of 3 sata hard drives with a
small boot partition at the beginning of the first disk. Therefore the setup
is as follows:
        _____________________________________________________________
sda     | /boot | swap  |                       raid5                           
        |
        |_______|_______|___________________________________________|

        ____________________________________________________________
sdb     |                       raid5                                   |       
        |
        |_______________________________________________|___________|

        ____________________________________________________________
sdc     |                       raid5                                   |       
        |
        |_______________________________________________|___________|


The purpose of what I would like to do arrises from the fact that in the
event of sda failure, I wont be able to boot the raid array. Therefore,
perhaps I can make a one off backup of the /boot partition to backuppc and
then should failure happen, I can just restore the backup of the /boot
partition and have the machine boot, and raid5 will automatically recreate
the failed raid partition on sda.
I hope this makes sense; please correct me if I'm wrong.

However, another option I am considering and am pushing for is to copy the
boot partition over to sdb and sdc (in the area available after the raid
partition). I know this can be done using the dd command but finding out
where the free partitions on sdb and sdc start aswell as where the /boot
partition ends is giving me problems. The partitions dont seem to add up!

FYI:
df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md0              540G  1.4G  511G   1% /
/dev/sda1              76M   13M   60M  18% /boot
/dev/shm              501M     0  501M   0% /dev/shm

hdparm /dev/sdXX

/dev/sda1:
 IO_support   =  0 (default 16-bit)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 36483/255/63, sectors = 82220544, start = 63

/dev/sda2:
 IO_support   =  0 (default 16-bit)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 36483/255/63, sectors = 1061061120, start = 160650

/dev/sda3:
 IO_support   =  0 (default 16-bit)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 36483/255/63, sectors = 298939576320, start = 2233035

/dev/sdb1:
 IO_support   =  0 (default 16-bit)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 36481/255/63, sectors = 300066407424, start = 63

/dev/sdc1:
 IO_support   =  0 (default 16-bit)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 36481/255/63, sectors = 300066407424, start = 63

As far as I understand, with raid5, all raid5 partitions have to be the same
size, so why aren't sda3, sdb1, sdc1 not the same size?

I appreciate this is slightly off-topic but please advise me.

Kindest Regards

Khaled Hussain
Server Administrator
Coulomb Ltd







-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to