niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » hardware
What is the correct procedure to transfer (hda+hdb) raid-1 to (hda+hdc) raid-1
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Richie Gan
*nix forums beginner


Joined: 03 Feb 2005
Posts: 2

PostPosted: Thu Feb 03, 2005 5:59 pm    Post subject: What is the correct procedure to transfer (hda+hdb) raid-1 to (hda+hdc) raid-1 Reply with quote

hi folks,
I have setup a sofeware raid-1 on my linux box,
hda1+hdb1 -> md0 (/)
hda5+hdb5 -> md1 (/home)

because hda and hdb are on same IDE controller, the preformance is really bad.

what is the correct procedure to transfer hdb to hdc ?

if I
put the hdb hardisk to hdc and restart the box
than mdadm --assemable /dev/md0 /dev/hdc1
and edit the lilo.conf and raidtab to match the setting
and reboot again.

is it the right way to make better performance with all data safe ?

Thank you very much
Back to top
Tauno Voipio
*nix forums Guru


Joined: 14 Mar 2005
Posts: 678

PostPosted: Thu Feb 03, 2005 6:53 pm    Post subject: Re: What is the correct procedure to transfer (hda+hdb) raid-1 to (hda+hdc) raid-1 Reply with quote

Richie Gan wrote:
Quote:
hi folks,
I have setup a sofeware raid-1 on my linux box,
hda1+hdb1 -> md0 (/)
hda5+hdb5 -> md1 (/home)

because hda and hdb are on same IDE controller, the preformance is really bad.

what is the correct procedure to transfer hdb to hdc ?

if I
put the hdb hardisk to hdc and restart the box
than mdadm --assemable /dev/md0 /dev/hdc1
and edit the lilo.conf and raidtab to match the setting
and reboot again.

is it the right way to make better performance with all data safe ?

Thank you very much

Report hdb as bad and take it off the RAID.
Power off, move it to hdc and correct /etc/raidtab,
add hdc partitions back to array.

It will take some time to sync till the array is up again.

--

Tauno Voipio
tauno voipio (at) iki fi
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 9:02 am | All times are GMT
navigation Forum index » *nix » Linux » hardware
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Transfer qmail email account to postfix server tallman Postfix 0 Thu Jun 05, 2008 12:43 pm
No new posts How to ALTER a table using the ALTOBJ procedure Serge Rielau IBM DB2 1 Fri Jul 21, 2006 1:06 pm
No new posts how to transfer Linda NY Solaris 4 Fri Jul 21, 2006 5:30 am
No new posts need wget binary transfer mode victorfeng1973@yahoo.com Solaris 7 Thu Jul 20, 2006 9:03 pm
No new posts calling stored procedure using ECPG Jasbinder Bali PostgreSQL 1 Thu Jul 20, 2006 7:53 pm

SMS-Sprüche | Bankruptcy | Personal Finance | Credit Card Consolidation | Credit Cards
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1204s ][ Queries: 16 (0.0444s) ][ GZIP on - Debug on ]