I had for a long time a degradedArray /dev/md127 from a linux "divorce" 1.5TB drive,
/dev/sdc1
I recently picked up a 3TB disk and partitioned it to two 1.5TB partitions, sdb1/sdb2.
After partitioning and formatting (mkfs.ext3), I added sdb1 into the raid array, and moved a couple hundred gigs of data out of the array and into /dev/sdb2 (mounted in a directory inside md127, just to keep things confusing.
A single reboot later, and md127 does not show up. Even more, sdb1 and sdb2 dont show up either.
mdadm --assemble --scan found two unlinked arrays.
I think I have two problems, but possibly more.
1. Linux is not finding my partitions on sdb.
2. My mdadm.conf is empty, I don't know what to put in it.
Can anyone help me dig my head out of my ***?
---------- Post added 05-24-12 at 10:58 PM ----------
Here is some debugging info:
================================================================================
root@king:/# fdisk -l /dev/sdb
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000f2982
Device Boot Start End Blocks Id System
/dev/sdb1 1 182402 1465144033+ 83 Linux
Partition 1 does not start on physical sector boundary.
/dev/sdb2 182403 364802 1465121792 83 Linux
root@king:/# fdisk -l /dev/sdc
================================================================================
Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 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: 0x0000349c
Device Boot Start End Blocks Id System
/dev/sdc1 1 182401 1465136001 fd Linux raid autodetect
================================================================================
TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdb - 3000 GB / 2794 GiB - CHS 364801 255 63
Partition Start End Size in sectors
P ext3 0 1 1 182400 252 59 2930271872
P Linux md 0.9 RAID 182400 81 18 364801 80 15 2930272000 [md126]
P ext3 182401 3 3 364801 66 1 2930259968
================================================================================