Solution:
I noticed these in /var/log/messages which I did not previously report in this thread. I bingled (bing/google) on the ioctl 1261 and found several bug reports within the last couple months. I upgraded my system which is set to manual updates and reran the mdmadm --add which worked. /proc/mdstat indicates that all three raid 1 partitions are not synced UU.
Apr 5 14:14:43 sombrero kernel: [89360.847049] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:14:43 sombrero kernel: [89360.847058] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.100456] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.100465] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.342727] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.342737] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.345601] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.345609] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.364859] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.364867] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.365471] mdadm: sending ioctl 1261 to a partition!
Apr 5 14:15:04 sombrero kernel: [89382.365479] mdadm: sending ioctl 1261 to a partition!
__________________________________________________ __________________________________________________ ___
I've had a fc16 64 bit system running for several months. It was built on two 750 gig Seagate Barracuda 750 gig drives.
Recently one of the 750g drives, /dev/sdb, failed. Today I replaced it with a Seagate Barracuda 1tb drive.
I followed the procedures outlined in this article:
http://www.howtoforge.com/replacing_..._a_raid1_array
Find below relevant information. I was able to mirror and sync 2 of the 3 partitions.
I don't know how to make mdadm more verbose to perhaps give more informaton. When I mdadm --manage /dev/md1 --add /dev/sdb1 I see no errors but /proc/mdstat does not indicate syncing.
Note the output from fdisk particularly the I/O size and Sector size.
I created the partitons on the new drive like this: sfdisk -d /dev/sda | sfdisk /dev/sdb
Any ides how I can reestablish /dev/md1 ?
Thanks, - jeffa
[root@sombrero ~]# uname -a
Linux sombrero.jeffa.org 3.2.2-1.fc16.x86_64 #1 SMP Thu Jan 26 03:21:58 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@sombrero ~]#
sfdisk -d /dev/sda | sfdisk /dev/sdb
mdadm --manage /dev/md2 --add /dev/sdb3
mdadm --manage /dev/md0 --add /dev/sdb2
mdadm --manage /dev/md1 --add /dev/sdb1
[root@sombrero ~]# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sda3[0] sdb3[1]
2047936 blocks [2/2] [UU]
md0 : active raid1 sda2[0] sdb2[2]
8190964 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sda1[0]
722331512 blocks super 1.2 [2/1] [U_]
bitmap: 1/6 pages [4KB], 65536KB chunk
unused devices: <none>
[root@sombrero ~]#
[root@sombrero ~]# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005ab51
Device Boot Start End Blocks Id System
/dev/sda1 2048 1444667391 722332672 fd Linux raid autodetect
/dev/sda2 1444667392 1461051391 8192000 fd Linux raid autodetect
/dev/sda3 * 1461051392 1465147391 2048000 fd Linux raid autodetect
Command (m for help):
[root@sombrero ~]# fdisk /dev/sdb
Command (m for help): p
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 2048 1444667391 722332672 fd Linux raid autodetect
/dev/sdb2 1444667392 1461051391 8192000 fd Linux raid autodetect
/dev/sdb3 * 1461051392 1465147391 2048000 fd Linux raid autodetect
Command (m for help):