Complex Software raid
Hi!
I have inherited an old linux linux system from the previous sysadmin. It has slot for 12sata disks. Currently I think one ata disk is for boot (hda) The other 12 disks are partitioned with two partitions each. Then one Raid 6 is made on the first partitions on all drives and one Raid on on the second partitions. Here's my mdstat to clear things out. --- Personalities : [raid6] md11 : active raid6 sdl1[11] sdk1[10] sdj1[9] sdi1[8] sdh1[7] sdg1[6] sdf1[5] sde1[4] sdd1[3] sdc1[2] sdb1[1] sda1[0] 31641600 blocks level 6, 1024k chunk, algorithm 2 [12/12] [UUUUUUUUUUUU] md10 : active raid6 sdl2[11] sdk2[10] sdj2[9] sdi2[8] sdh2[7] sdg2[6] sdf2[5] sde2[4] sdd2[3] sdc2[2] sdb2[1] sda2[0] 2409748480 blocks level 6, 1024k chunk, algorithm 2 [12/12] [UUUUUUUUUUUU] unused devices: <none> --- My problem is that i haven't dealt with software raids in a while. (Plus the setups feels a bit complex) And the question is: What do I do in case of a disk failure. If for example sdk1 were to fail, do i have to manually fail sdk2? And what to do then? Reboot with a new drive in place. Then create the partitions and then add them to the array? To top things there's an LVM on top --- Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg00-root 40G 30G 7.7G 80% / /dev/mapper/vg00-root2 40G 21G 18G 54% /root2 /dev/hda2 99M 83M 11M 89% /boot /dev/hda3 9.7G 2.0G 7.3G 22% /rootadmin none 1014M 0 1014M 0% /dev/shm /dev/mapper/vg00-smbshare 99G 87G 6.5G 94% /smbshare /dev/mapper/vg00-nfsusr 40G 32G 6.4G 84% /nfsroot_usr /dev/mapper/vg00-nfsroot 15G 2.6G 12G 19% /nfsroot_root /dev/mapper/vg00-nfsclnt 20G 7.7G 12G 42% /nfsroot_client /dev/mapper/vg00-nfspers2 9.9G 653M 8.8G 7% /nfsroot_pers /dev/mapper/vg00-disk0 247G 230G 4.2G 99% /disk0 /dev/mapper/vg00-disk1 247G 131G 103G 56% /disk1 /dev/mapper/vg00-disk2 247G 160G 75G 69% /disk2 /dev/mapper/vg00-disk3 296G 109G 172G 39% /disk3 /dev/mapper/vg00-mail 300G 81G 220G 27% /mail --- I have: mdctl - v0.5 - 23 August 2001 Probably from source --- The disks seem to be on two 3ware cards. 03:01.0 RAID bus controller: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID (rev 01) 04:02.0 RAID bus controller: 3ware Inc 7xxx/8xxx-series PATA/SATA-RAID (rev 01) --- Linux blabla.com 2.6.17-1.2157_FC5smp #1 SMP Tue Jul 11 23:24:16 EDT 2006 i686 i686 i386 GNU/Linux --- Fedora Core release 5 (Bordeaux) --- Please help!. Any contributions welcome... |
Hello LeffeOne
i would suggest that you use some virtual machine to play with software raid. i have used VMWARE than i have installed centOS and added extra hard drives... (virtual hard drives... files) create a raid... put some data on it... break it... fix it.. and so on good luck Yaniv |
Thanks
That is a good idea. (when I can actually get the time) Any pointer or hints on my current problem is more than welcome though. |
All times are GMT -5. The time now is 09:10 PM. |