Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an issue with my Raid 5 array that is puzzling me. The PC crashed yesterday and after a reboot my raid 5 array was empty.

cat /proc/mdstat

Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10] 
md0 : active raid5 sdi1[3] sdd1[4] sda1[0] sdc1[2] sdb1[1]
5860545536 blocks super 1.2 level 5, 256k chunk, algorithm 2 [5/5] [UUUUU]

sudo mdadm --detail /dev/md0
/dev/md0:
        Version : 1.2
 Creation Time : Thu Jul 26 17:59:04 2012
     Raid Level : raid5
     Array Size : 5860545536 (5589.05 GiB 6001.20 GB)
  Used Dev Size : 1465136384 (1397.26 GiB 1500.30 GB)
   Raid Devices : 5
  Total Devices : 5
    Persistence : Superblock is persistent
    Update Time : Wed Feb 19 07:40:09 2014
          State : clean 
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0
         Layout : left-symmetric
     Chunk Size : 256K
           Name : kb01:0  (local to host kb01)
           UUID : 4f992d9b:0328b7bb:38d77cc4:80172ca6
         Events : 371
    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1
       2       8       33        2      active sync   /dev/sdc1
       3       8      129        3      active sync   /dev/sdi1
       4       8       49        4      active sync   /dev/sdd1


df
/dev/md0       5858458624     44744 5858413880   1% /mnt/raid

Any help would be appreciated.

I am using Kubuntu 13.10

Added by edit; The xfs file system checked out OK using

sudo xfs_check /dev/md0

The top level of the file structure is still visible

ls /mnt/raid
library  library1  library2  lost+found

I had just finished restoring to another drive mounted on library1 which still contains the data on an ext4 file system.

Still totally puzzled where the data went.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.