Hi,
I am having a problem with my RAID array. After going on vacation for a couple of weeks I have come back unable to access any of the data. I would appreciate it if anybody can help as i don't want to loose my data by rebuiling the array incorrectly.
I am not sure why the problem happened and help in understanding why would also be appreciated.
I used to have a ZFS filesystem on 3 of the 5 drives.
After setting up the mdraid i formated the filesystem with btrfs. (I realize this is my next problem if i can get as far as loading up the array). But my hope is to be able to extracted media so i don't have to rerip everything.
The drives should be set up in a RAID-6 setup.
Hope i included the most usefull data
Thanks for reading this far.
René
Code:
$ uname -a
Linux Asgard 3.0.0-16-server #29-Ubuntu SMP Tue Feb 14 13:08:12 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Code:
$ sudo mdadm --examine /dev/sd*
mdadm: No md superblock detected on /dev/sda.
mdadm: No md superblock detected on /dev/sda1.
mdadm: No md superblock detected on /dev/sda2.
mdadm: No md superblock detected on /dev/sda5.
/dev/sdb:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 0db0c336:f56bd888:2f9e92e4:c1d64c09
Name : Asgard:0 (local to host Asgard)
Creation Time : Sat Jan 28 14:29:36 2012
Raid Level : raid6
Raid Devices : 5
Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
Array Size : 11721077760 (5589.05 GiB 6001.19 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 8e861931:6f7448ec:6f2c6cd2:74cb06a2
Update Time : Tue Mar 27 18:25:33 2012
Checksum : a4305a9b - correct
Events : 315451
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 4
Array State : ..A.A ('A' == active, '.' == missing)
/dev/sdc:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 0db0c336:f56bd888:2f9e92e4:c1d64c09
Name : Asgard:0 (local to host Asgard)
Creation Time : Sat Jan 28 14:29:36 2012
Raid Level : raid6
Raid Devices : 5
Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
Array Size : 11721077760 (5589.05 GiB 6001.19 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : ef9d6881:b31e81b4:9403e07a:4280392d
Update Time : Tue Mar 27 18:25:33 2012
Checksum : f05ad7f8 - correct
Events : 0
Layout : left-symmetric
Chunk Size : 512K
Device Role : spare
Array State : ..A.A ('A' == active, '.' == missing)
/dev/sdd:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 0db0c336:f56bd888:2f9e92e4:c1d64c09
Name : Asgard:0 (local to host Asgard)
Creation Time : Sat Jan 28 14:29:36 2012
Raid Level : raid6
Raid Devices : 5
Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
Array Size : 11721077760 (5589.05 GiB 6001.19 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 387de195:c966497f:f7fad598:cfc7fb10
Update Time : Tue Mar 27 18:25:33 2012
Checksum : d1543e47 - correct
Events : 0
Layout : left-symmetric
Chunk Size : 512K
Device Role : spare
Array State : ..A.A ('A' == active, '.' == missing)
/dev/sde:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 0db0c336:f56bd888:2f9e92e4:c1d64c09
Name : Asgard:0 (local to host Asgard)
Creation Time : Sat Jan 28 14:29:36 2012
Raid Level : raid6
Raid Devices : 5
Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
Array Size : 11721077760 (5589.05 GiB 6001.19 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 8e1a4400:e00d30d2:faf68bb0:99e13cb1
Update Time : Tue Mar 27 18:25:33 2012
Checksum : 46949882 - correct
Events : 0
Layout : left-symmetric
Chunk Size : 512K
Device Role : spare
Array State : ..A.A ('A' == active, '.' == missing)
/dev/sdf:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 0db0c336:f56bd888:2f9e92e4:c1d64c09
Name : Asgard:0 (local to host Asgard)
Creation Time : Sat Jan 28 14:29:36 2012
Raid Level : raid6
Raid Devices : 5
Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
Array Size : 11721077760 (5589.05 GiB 6001.19 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 418fe563:d3c6d16b:54762ab7:8b6aced2
Update Time : Tue Mar 27 18:25:33 2012
Checksum : 6c0b9ead - correct
Events : 315451
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 2
Array State : ..A.A ('A' == active, '.' == missing)
Code:
Output of parted:
# parted -l /dev/sd[bcdef]
Error: The primary GPT table is corrupt, but the backup appears OK, so that will
be used.
OK/Cancel? ok
Model: ATA ST2000DL003-9VT1 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 2000GB 2000GB zfs
9 2000GB 2000GB 8389kB
Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used.
OK/Cancel? ok
Model: ATA ST2000DL003-9VT1 (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 2000GB 2000GB zfs
9 2000GB 2000GB 8389kB
Error: /dev/sdd: unrecognised disk label
Error: /dev/sde: unrecognised disk label
Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used.
OK/Cancel? ok
Model: ATA ST2000DL003-9VT1 (scsi)
Disk /dev/sdf: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 2000GB 2000GB zfs
9 2000GB 2000GB 8389kB
Build:
Code:
#created a raid 5 array with 3 disks. Don't have the precise commands anymore.
sudo mdadm --add /dev/md127 /dev/sdc /dev/sdd
sudo mdadm --grow --level=6 --raid-devices=5 /dev/md127 --backup-file=/home/renec/raid.backup
Bookmarks