How do I increase partition size in a RAID 1 array with minimal downtime?
May 4, 2012 6:08 AM Subscribe
RAID 1 Partition Filter: Physical capacity increased. How do we increase the partition size to match on a production machine? Details within.
posted by even butter to Computers & Internet (4 answers total) 2 users marked this as a favorite
We have a production server running Debian with a RAID 1. Yesterday, the 3ware RAID card showed that one of the 120 gig drives had become degraded and we replaced it with a 250 gig drive. After the array rebuilt, the tech on site decided to pull the other 120 gig drive and replace it with a 500 gig drive and increase the storage on the machine to 250 gigs. The array rebuilt again and all is running fine, however, the partition size remains at 120 gigs (minus swap, etc).
What's the best way to resize the partition with the least amount of downtime for the machine? Ideally, it would be on the fly. A few restarts would be ok. A backup/restore would probably be more trouble than it's worth, but if that's the only option, we'd like to hear about it anyways. The host handles mail and MySQL slave duties.
Snowflakery: Linux 3.1.0-1-amd64, Debian wheezy/testing, 3DM 2 version 2.07.00.003, ext3
Further info upon request. Thanks in advance.