Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Expanding RAID5 to larger discs
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
kaltag
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2004
Posts: 116
Location: Boise, ID

PostPosted: Sun Dec 11, 2005 4:01 am    Post subject: Expanding RAID5 to larger discs Reply with quote

Good evening, I'v currently got a RAID 5 of 6x400GB drives running fine on IDE using mdadm and the kernel RAID 5 driver. I will soon be upgrading to 500GB SATA drives and I'm curious what the easiest/safest way to do this is. Would I just unlug the first IDE drive, plug the SATA drive in, partition it, then add it to the array and let it rebuild then repeat for each drive until all the 500GB drives are installed and then expand the filesystem? Or is there a better way of doing this? Recommendations for tools to do this? The number of drives will stay at 6, only the capacity will increase. I'm using Reiser 3 on the current RAID array if it matters. Thank you.
_________________
Yeah, I know about the recovery console. Usually, it doesn't do anything more than I can do with a match, a weedwhacker, and a sledgehammer. Actually, it does a whole lot less. - Caffinehog
Back to top
View user's profile Send private message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 488
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Sun Dec 11, 2005 6:56 am    Post subject: Reply with quote

well, I'm not a fan of software raid, but since you don't need more hardware to run it, why not create a new array, then migrate all your data to it, then remove the ide based array?

as to mixing drives, as I understand your 500gb drives would be seen as 400gb if you did that. remember the raid 5 formula is (N-1) * capacity of smallest drive, where N = # of block devices, so you need all drives to match.

NQS
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Back to top
View user's profile Send private message
kaltag
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2004
Posts: 116
Location: Boise, ID

PostPosted: Sun Dec 11, 2005 6:43 pm    Post subject: Reply with quote

Aside from having to hook 12 hard drives for that to work I don't have any real problems with it except that I don't have the $ to buy all 6 500GB drives at one time. I was thinking more along the lines of 1 drive every 2 weeks. I understand that each 500GB drive would be using 400GB until they were all replaced and THEN I was thinking of using the grow funtion under mdadm to add the extra 100GB on each drive then resize the filesystem.
_________________
Yeah, I know about the recovery console. Usually, it doesn't do anything more than I can do with a match, a weedwhacker, and a sledgehammer. Actually, it does a whole lot less. - Caffinehog
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