Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reinstall Gentoo without losing RAID?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Aitikin
Apprentice
Apprentice


Joined: 14 May 2005
Posts: 227

PostPosted: Tue Oct 07, 2008 1:43 am    Post subject: Reinstall Gentoo without losing RAID? Reply with quote

So my mythbox appears to be completely FUBAR and I was considering reinstalling. Then I remember that I have my media disks as a RAID 0 and I was wondering if there's a way to reinstall without loosing all the data? Much of it is fairly easy to copy off, I just don't want to have to go through all that trouble of getting it off and getting it back on the drives.

Anyone know a way?
_________________
"it's like sex, except over ssh" ~Valkura

"I should go to bitch, I get up at 6:20" ~Valkura
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Tue Oct 07, 2008 6:14 am    Post subject: Reply with quote

If it is Linux Software RAID, just copy the config to the new setup before you access it.
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
shickapooka800
Guru
Guru


Joined: 05 Dec 2004
Posts: 304
Location: no

PostPosted: Tue Oct 07, 2008 6:34 am    Post subject: Reply with quote

even if you forget the config file containing the raid info (mdadm.conf or raidtab or whatever) you can always re-assemble a linux software raid array if you know which devices are part of the array.
hell, you can put the disks on different ata/sata ports or even on another controller, and still re-assemble the array. read through the mdadm man page.

edit: come to think of it, my server, which has 2 raid0's and 1 raid1 has NO raid config file whatsoever. the raid subsystem always finds the disks and assembles them perfectly. of course I should probably generate a config file just in case :)
Back to top
View user's profile Send private message
Aitikin
Apprentice
Apprentice


Joined: 14 May 2005
Posts: 227

PostPosted: Mon Oct 13, 2008 9:33 pm    Post subject: Reply with quote

Cool, thanks. I just wanted to make 100% certain that I'd be okay.
_________________
"it's like sex, except over ssh" ~Valkura

"I should go to bitch, I get up at 6:20" ~Valkura
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum