Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th April 2012, 10:26 PM
jhalbrecht Offline
Registered User
 
Join Date: Jan 2012
Location: Spokane, WA
Posts: 2
linuxfirefox
fc16 software raid 1 replaced 750gb with 1tb

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):

Last edited by jhalbrecht; 6th April 2012 at 06:49 AM. Reason: Solved
Reply With Quote
Reply

Tags
1tb, 750gb, fc16, raid, replaced, software, software raid 1

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Convert /boot to raid 1 after fc16 install ? jhalbrecht Installation and Live Media 1 3rd February 2012 12:56 AM
can't boot after fresh fc16 install, linux raid-5 santana Hardware & Laptops 4 6th January 2012 07:35 AM
Jmicron software raid 1 seen as raid during install, as 2 disk after xranix Using Fedora 0 9th March 2009 04:02 PM
Installing a software raid on an existing non-raid system jimispier Hardware & Laptops 8 4th March 2006 05:51 AM
Software RAID problem (RAID is gone after create process finishes) michal Using Fedora 4 16th November 2005 12:24 PM


Current GMT-time: 19:05 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat