Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
migrate software RAID from level 1 to level 5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
supermihi
Guru
Guru


Joined: 09 Feb 2005
Posts: 348

PostPosted: Fri Nov 10, 2006 11:04 am    Post subject: migrate software RAID from level 1 to level 5 Reply with quote

Hello,
I have a server running a software RAID 1, with two physical hard discs. To add more disk space I want to add another hard disc and then use RAID 5. Is there a way to convert the running RAID 1 into a RAID 5 without needing a fourth disc to swap the data on?
_________________
"You may say I'm a dreamer, but I'm not the only one."
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Fri Nov 10, 2006 11:21 am    Post subject: Reply with quote

I think, you should backup your data and then reinstall the OS on a raid5 partition.
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Fri Nov 10, 2006 11:38 am    Post subject: Reply with quote

I was told there were tools to do this, but I would never do this without a recent backup. At least if your data are of any value. Also it will be most likely more time consuming to convert than to copy from a backup disk.
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
Strunzdesign
n00b
n00b


Joined: 12 May 2004
Posts: 67
Location: Nuremberg - Germany

PostPosted: Fri Nov 10, 2006 12:18 pm    Post subject: Reply with quote

Hi!

You could combine your new hard drive with one of your harddiscs from your RAID1 and create a new degraded RAID5 (3 Disks, 2 active). Then you copy all your data from your (degraded) RAID1 hard disk to your new (degraded) RAID5. Afterwards, you add your "last" RAID1 disk to the RAID5 array and you have a full functional RAID5 system :-)

Florian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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