LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-31-2007, 05:50 PM   #1
freefall235
LQ Newbie
 
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Rep: Reputation: 15
Dismantle Raid 1 Array, then re-assemble...?


Hi Everyone,

I have a Linux software raid 1 on 2 drives at home. Is it possible to dismantle that array (as in pull the drive out for use in another machine), so that only 1 drive is operational...

Then, in a little while reformat and add that drive back to the array?


If so, how hard is this to do on a Linux Software raid?

Cheers,
Justin
 
Old 07-31-2007, 06:01 PM   #2
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 295

Rep: Reputation: 47
Quote:
Originally Posted by freefall235
If so, how hard is this to do on a Linux Software raid?
Very easy. After you --fail and --remove the drive you can take it out. (Actually, unless you can hotswap, just take it out before booting up)
This obviously requires that your machine is still bootable with the leftover drive (BIOS- and grub-wise).

Then later put the drive back in and --add it.
 
Old 07-31-2007, 06:10 PM   #3
freefall235
LQ Newbie
 
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rupertwh
Very easy. After you --fail and --remove the drive you can take it out. (Actually, unless you can hotswap, just take it out before booting up)
This obviously requires that your machine is still bootable with the leftover drive (BIOS- and grub-wise).

Then later put the drive back in and --add it.
Hey, Thanks for your reply...

The drive is used as storage only, so no system files are on it...

When you say --fail and --remove, what command is that for, as when i setup the raid, it was in the graphical setup of opensuse 10.2...?

Cheers,
Justin
 
Old 07-31-2007, 09:55 PM   #4
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 295

Rep: Reputation: 47
Hi Justin,

sorry, I just assumed that mdadm would be the natural tool for softraid. Anyway, that's it: mdadm.
 
Old 07-31-2007, 10:42 PM   #5
freefall235
LQ Newbie
 
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Original Poster
Rep: Reputation: 15
Hi rupertwh,

Thank you very much for the help. Much appreciated.

Cheers,
Justin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mdadm fails to assemble my RAID device tomhildebrand Fedora 6 06-28-2007 12:08 AM
same raid array on 2 O.S. tataiermail Linux - Server 5 06-27-2007 09:22 AM
Configure/modify/dismantle DSL Dachy DamnSmallLinux 2 02-24-2006 04:29 AM
Raid Array wwnexc Linux - Hardware 1 09-25-2005 05:47 PM
moving a md array (RAID) MorrisIS Linux - General 2 10-04-2001 11:41 PM


All times are GMT -5. The time now is 02:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration