News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

[SOLVED]: URGENT 810 Software RAID failed after power outage

Started by Beeker, June 14, 2013, 10:50:26 PM

Previous topic - Next topic

Crumble

Ok try

mdadm --assemble --force /dev/md1 /dev/sd[bcde]1

Beeker

got this

dcerouter_1024641:/home/bruce# mdadm --assemble --force /dev/md1 /dev/sd[bcde]1
mdadm: /dev/md1 has been started with 3 drives (out of 4).
dcerouter_1024641:/home/bruce#

Beeker

LMCE now reports the RAID status as damaged and when I check the status of each HDD

sdb is ok
sbc is ok
sdd is still saying removed
sde is ok
sdf is still saying removed

Crumble

There you go.  You only need the three.  But once its done get that data off.  One drive failure and its kablooe data.  You can check the rebuild with

cat /proc/mdstat

Beeker

Thanks Crumble you are awesome and I really
appreciate your patience and help

Kind regards
Beeker

:)

Crumble

No problem Beeker.   You owe me the life debt now :-p

Beeker

you bet I do...........and there was going to be a special mention to you on my headstone if all that hard work didn't pay off :)

I just browsed to the RAID array and all the data is there so I will be madly copying all the data off tonight

Beeker

Hey Crumble,
Do you know if it will repair itself eventually or will it stay in damaged mode?

Don't want to push my luck though I cant get any help in getting LMCE to regonise the QNAP NAS if you see my other recent post I have tried everything I know which isn't much :)

Crumble

It will stay in damaged mode until sdd1 is added.  I will check the other thread never used a QNAS.  Once you get that data off we can sdd1 back in if you like

Beeker

Thanks............its a circus of HDD lights flashing in my office copying all that data off

Beeker

Hi Crumble,
Sorry been traveling and I finally got all the data of the RAID array and I want to try and add in the sdd1 so what should we do

Cheers
Beeker 

Crumble


Beeker

No problems I will get it shortly and come back to

Cheers
Beeker :)

Beeker

Hi Crumble,
Very sorry been out of action with work and an arm injury...........below is fdisk -l and the df -h

Cheers
Beeker

--------------------------------------------------------------------------------------------------------------
dcerouter_1024641:/home/# fdisk -l

Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x39686ed2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       90446   726507463+  83  Linux
/dev/sda2           90447       91201     6064537+   5  Extended
/dev/sda5           90447       91201     6064506   82  Linux swap / Solaris

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0006a5c8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      182401  1465136001   83  Linux

Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb217d64b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      182401  1465136001   83  Linux

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x43b7a284

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      182401  1465136001   83  Linux

Disk /dev/sde: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2848762e

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1      182401  1465134080   83  Linux
dcerouter_1024641:/home/#

---------------------------------------------------------------------------------------------------

dcerouter_1024641:/home/# df -h
Filesystem            Size Used Avail Use% Mounted on
rootfs                682G   44G  604G   7% /
udev                 1012M  2.9M 1009M   1% /dev
/dev/disk/by-uuid/50ef0102-13de-4f96-8c0f-23a2e75ee41f
                      682G   44G  604G   7% /
/dev/disk/by-uuid/50ef0102-13de-4f96-8c0f-23a2e75ee41f
                      682G   44G  604G   7% /dev/.static/dev
tmpfs                1012M     0 1012M   0% /lib/init/rw
varrun               1012M  392K 1012M   1% /var/run
varlock              1012M     0 1012M   0% /var/lock
tmpfs                1012M  2.2M 1010M   1% /lib/modules/2.6.27-17-generic/volatile
tmpfs                1012M     0 1012M   0% /dev/shm
/dev/md1              4.1T  3.2T  703G  83% /mnt/device/31
/dev/md1              4.1T  3.2T  703G  83% /tmp/tmp.RZtaM22685
dcerouter_1024641:/home/#

Crumble