Bohmer, Andre ten wrote:
Hi,

An older Proliant DL-145 server is installed using Linux software raid
on a 40 (primary) and 80 gb disk (secondary). Strange and not an
efficient setup, so we want to re-place the 40 GB disk with an 80 GB
disk and also resize one partition to use the full 80 GB. After some
googling and faq reading, this seems to be an option :

- make sure grub is also setup on the old 80 gb disk
- remove the 40 gb disk from the array with raidsetfaulty and
raidhotremove
- shutdown the system and replace the 40 gb disk with the new 80 gb disk
- boot from CD and repartition the old 80 gb disk
- boot the system from the old 80 gb disk
- safe partition layout to file : sfdisk -d  /dev/hdb > partitions.file
- partition new 80 gb disk : sfdisk /dev/hda < partitions.file - add new 80 gb disks partition to the raidset

We have a backup so the removed partition can be restored ;)

Any ideas or comment is welcome!

It's a long time since I fiddled with software RAID, but I do recall trying to replace one 80 Gbyte drive with another.

The replacement was a few sectors short, and so unsuitable.

Longer is fine, until the other fails:-)

_I_ would contemplate replacing the pair; if they're three years old then they're three years closer to expiring, and if further argument is required I would prefer to be able to schedule time to do the deed at a convenient time rather than when the end-of-year reports are due at the system's gone belly up.

Replacing the pair also gives you complete freedom wrt _how_ you do the deed; something mundane such as "tar cvC /oldsys . | tarxpC /newsys" works nicely, and one can adjust partition sizes if needed.



--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to