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 25th October 2011, 10:39 PM
biglizheng Offline
Registered User
 
Join Date: May 2009
Posts: 5
macosfirefox
Question How to rebuild fake RAID 1 using dmraid

Hello everyone,

I'm having a trouble rebuilding raid 1 array using dmraid, can anyone offer some suggestions?

The server originally has two hard drives configured into RAID1 through intel ich9r chip, which is a fakeraid. However, one of the hard drive failed a couple of days ago, and I ordered a replacement hard drive. However, I cannot rebuild the raid 1 array.

After I've inserted the hard drive, I used control+I in Bios to set the new hard drive into the rebuild status, and it says the rebuild will be performed in the operating system. After I boot up the system I cannot rebuild it using dmraid -R. Here is the status.

$ sudo /sbin/dmraid -ay

RAID set "isw_djijedgcga_Volume0" was not activated
ERROR: device "isw_djijedgcga_Volume0" could not be found

$ sudo /sbin/dmraid -s
*** Group superset isw_djijedgcga
--> Subset
name : isw_djijedgcga_Volume0
size : 1465143296
stride : 128
type : mirror
status : nosync
subsets: 0
devs : 2
spares : 0

$ sudo /sbin/dmraid -r
/dev/sda: isw, "isw_djijedgcga", GROUP, ok, 1465149165 sectors, data@ 0
/dev/sdb: isw, "isw_djijedgcga", GROUP, ok, 1465149165 sectors, data@ 0

$ sudo /sbin/fdisk -l

Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 12748 102398278+ 83 Linux
/dev/sda2 12749 14788 16386300 82 Linux swap / Solaris
/dev/sda3 14789 91200 613779390 83 Linux

Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

$ sudo /sbin/dmraid -R isw_djijedgcga /dev/sdb
ERROR: disk /dev/sdb cannot be used to rebuilding


Thanks a million for help.
Reply With Quote
  #2  
Old 25th October 2011, 10:55 PM
marvin_ita Offline
Registered User
 
Join Date: Jun 2007
Location: Como - Italy
Posts: 248
linuxfirefox
Re: How to rebuild fake RAID 1 using dmraid

I really think you can only rebuild the raid using Windows and the drivers/software provided with your motherboard... unless the builder of your motherboard provide support for linux, II suggest you to contact their technical support.
Reply With Quote
  #3  
Old 25th October 2011, 11:14 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,769
linuxfirefox
Re: How to rebuild fake RAID 1 using dmraid

Since you set it in the BIOS, try the dmraid -R command without the /dev/sdb parameter.

sudo /sbin/dmraid -R isw_djijedgcga
Reply With Quote
  #4  
Old 25th October 2011, 11:44 PM
biglizheng Offline
Registered User
 
Join Date: May 2009
Posts: 5
macosfirefox
Re: How to rebuild fake RAID 1 using dmraid

Thanks marvin_ita,

I did see someone else has successfully did that using dmraid -R. Here is the post:
http://techie.org/Blog/2010/09/03/ho...-isw-on-linux/

I just don't understand why I cannot do the same thing in my machine.

Best,
Zheng

---------- Post added at 06:44 AM ---------- Previous post was at 06:15 AM ----------

Quote:
Originally Posted by JEO View Post
Since you set it in the BIOS, try the dmraid -R command without the /dev/sdb parameter.

sudo /sbin/dmraid -R isw_djijedgcga
It still doesn't work.

# dmraid -R isw_djijedgcga
RAID set "isw_djijedgcga_Volume0" was not activated
ERROR: device "isw_djijedgcga_Volume0" could not be found
ERROR: Device suspend failed.

PS. I tried the unplug the new harddrive and plug it in again, the volume name changed.

# dmraid -r
/dev/sda: isw, "isw_djijedgcga", GROUP, ok, 1465149165 sectors, data@ 0
/dev/sdb: isw, "isw_djijedgcga", GROUP, ok, 1465149165 sectors, data@ 0
# dmraid -s
*** Group superset isw_djijedgcga
--> Subset
name : isw_djijedgcga_Volume0
size : 1465143296
stride : 128
type : mirror
status : nosync
subsets: 0
devs : 2
spares : 0
Reply With Quote
  #5  
Old 26th October 2011, 05:02 AM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,769
linuxfirefox
Re: How to rebuild fake RAID 1 using dmraid

That "ERROR: device "isw_djijedgcga_Volume0" could not be found" is odd. The only thing I can think of is check that md raid is not trying to already claim the raid so that dmraid can't access it. Look for the existence of /dev/md<number> devices or mention of it in /var/log/messages.
Reply With Quote
  #6  
Old 26th October 2011, 11:28 AM
marvin_ita Offline
Registered User
 
Join Date: Jun 2007
Location: Como - Italy
Posts: 248
windows_xp_2003firefox
Re: How to rebuild fake RAID 1 using dmraid

Quote:
Originally Posted by biglizheng View Post

Disk /dev/sdb doesn't contain a valid partition table

$ sudo /sbin/dmraid -R isw_djijedgcga /dev/sdb
ERROR: disk /dev/sdb cannot be used to rebuilding

Try to create a partition table before using dmraid -R (you can use gparted for doing that in GUI)... I guess it cannot use /dev/sdb because the disk doesn't contain any mbr.
Reply With Quote
  #7  
Old 26th October 2011, 04:43 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,769
linuxfirefox
Re: How to rebuild fake RAID 1 using dmraid

Also try it after booting into text mode in case the graphical desktop has one or more of the drives open.
Reply With Quote
  #8  
Old 23rd April 2012, 10:38 PM
Ernst0 Offline
Registered User
 
Join Date: Mar 2009
Location: Northern California
Posts: 89
linuxfirefox
Re: How to rebuild fake RAID 1 using dmraid

Hello,

I am in much the same situation.

I have a RAID1 set, my first ever RAID set, and I mistakenly selected an older well worn and heat abused drive when I built the RAID set.

I am being warned that it has many bad sectors daily now and that is a given so how do I swap out that drive for the other good one I should have selected in the first place?

I see dmraid.. was told to try RAIDXPERT by amd and eventhough ther PDF states there is a Linux version I have not found one.

So I am learning all about it now.

Any help is appreciated.
Reply With Quote
Reply

Tags
dmraid, fake, raid, rebuild

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
Intel fake RAID1 rebuild, "boot has failed, sleeping forever" rag Using Fedora 1 22nd March 2011 03:46 PM
upgrade f13 to f14 fake raid system santana Installation and Live Media 0 25th December 2010 07:17 PM
Dual Boot on fake raid sgilpatr Installation and Live Media 2 31st March 2008 05:49 AM
Fake RAID and software RAID? hapaboy Installation and Live Media 0 4th April 2005 02:30 AM
Boot up fake raid controller BouReaq Servers & Networking 5 6th December 2004 06:04 PM


Current GMT-time: 01:16 (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