Code:
jake@Kratos:~$ sudo fdisk -l
[sudo] password for jake:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 243202 1953514583+ ee GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 243202 1953514583+ ee GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 243202 1953514583+ ee GPT
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sde: 64.0 GB, 64023257088 bytes
255 heads, 63 sectors/track, 7783 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001fe85
Device Boot Start End Blocks Id System
/dev/sde1 * 1 7393 59376640 83 Linux
/dev/sde2 7393 7784 3143681 5 Extended
/dev/sde5 7393 7784 3143680 82 Linux swap / Solaris
Looks like my boot drive is now sde when before it was sda (this is probably because I unplugged the boot drive yesterday and attempted raid recovery with another OS)
So I ran the following code but still no luck.
Code:
jake@Kratos:~$ sudo mdadm --assemble --force /dev/md0 /dev/sd[abc]1 /dev/sdd
mdadm: Failed to restore critical section for reshape, sorry.
Possibly you needed to specify the --backup-file
jake@Kratos:~$
Code:
jake@Kratos:~$ sudo mdadm -E /dev/sd[abc]1 /dev/sdd
/dev/sda1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x4
Array UUID : a534fd37:9406e049:57bd996c:53cc4b2e
Name : Kratos:0 (local to host Kratos)
Creation Time : Mon Oct 17 00:43:02 2011
Raid Level : raid6
Raid Devices : 4
Avail Dev Size : 3907027037 (1863.02 GiB 2000.40 GB)
Array Size : 7814051840 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : fc438e7d:6252e19f:4c12e4aa:cc1bdfc8
Reshape pos'n : 130744320 (124.69 GiB 133.88 GB)
New Layout : left-symmetric
Update Time : Sun Mar 11 19:06:02 2012
Checksum : 7a5349fb - correct
Events : 40035
Layout : left-symmetric-6
Chunk Size : 512K
Device Role : Active device 0
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x4
Array UUID : a534fd37:9406e049:57bd996c:53cc4b2e
Name : Kratos:0 (local to host Kratos)
Creation Time : Mon Oct 17 00:43:02 2011
Raid Level : raid6
Raid Devices : 4
Avail Dev Size : 3907027037 (1863.02 GiB 2000.40 GB)
Array Size : 7814051840 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 174e4f18:1bb2b2ae:05bfece5:ccabc55b
Reshape pos'n : 130744320 (124.69 GiB 133.88 GB)
New Layout : left-symmetric
Update Time : Sun Mar 11 19:06:02 2012
Checksum : f1d50370 - correct
Events : 40035
Layout : left-symmetric-6
Chunk Size : 512K
Device Role : Active device 1
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdc1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x4
Array UUID : a534fd37:9406e049:57bd996c:53cc4b2e
Name : Kratos:0 (local to host Kratos)
Creation Time : Mon Oct 17 00:43:02 2011
Raid Level : raid6
Raid Devices : 4
Avail Dev Size : 3907027037 (1863.02 GiB 2000.40 GB)
Array Size : 7814051840 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 31c79272:d019e24c:e792d4c1:c8d37298
Reshape pos'n : 130744320 (124.69 GiB 133.88 GB)
New Layout : left-symmetric
Update Time : Sun Mar 11 19:06:02 2012
Checksum : 2dccd37 - correct
Events : 40035
Layout : left-symmetric-6
Chunk Size : 512K
Device Role : Active device 2
Array State : AAAA ('A' == active, '.' == missing)
/dev/sdd:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x6
Array UUID : a534fd37:9406e049:57bd996c:53cc4b2e
Name : Kratos:0 (local to host Kratos)
Creation Time : Mon Oct 17 00:43:02 2011
Raid Level : raid6
Raid Devices : 4
Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
Array Size : 7814051840 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
Recovery Offset : 130749440 sectors
State : clean
Device UUID : b5144d18:300cfe7e:7c66ec29:5759e861
Reshape pos'n : 130744320 (124.69 GiB 133.88 GB)
New Layout : left-symmetric
Update Time : Sun Mar 11 19:06:02 2012
Checksum : 140b7a94 - correct
Events : 40035
Layout : left-symmetric-6
Chunk Size : 512K
Device Role : Active device 3
Array State : AAAA ('A' == active, '.' == missing)
jake@Kratos:~$
Bookmarks