Operating System - Linux
1828586 Members
2436 Online
109982 Solutions
New Discussion

Replace 73 Gb internal system disk with Linux & LVM in BL35p with others internal 146Gb disks

 
JBR
Frequent Advisor

Replace 73 Gb internal system disk with Linux & LVM in BL35p with others internal 146Gb disks

Hi, I´ve a Proliant Blade BL35p with two internal SAS 80Gb HDD and Linux Redhat Enterprise LInux AS 4 Update 4 as Operanting System.

Partiton table for /dev/sda:

/dev/sda1 --> /boot 100Mb
/dev/sda2 -> Linux swap 2Gb
/dev/sda3 --> / 1Gb
/dev/sda4 --> Extended Partition
/dev/sda5 --> Linux LVM (vg00) 68 Gb
!--> /dev/vg00/lvol02 ..
/dev/vg00/lvol10 (usr+var+home.. )


I need to replace two original disks with others 146Gb SAS HDDs to have more size to extend volume group vg00.

What is the best way to perform this operation?

3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: Replace 73 Gb internal system disk with Linux & LVM in BL35p with others internal 146Gb disks

¿Where is your original second disk /dev/sdb?

One option is to use mondorescue to backup and restore your operating system onto the new disks. During restore you can resize your paritions.

You can insert the second disk, partition and create the file systems to replicate the current structore, mount in a temporary location, for example /mnt/newroot, /mnt/newroot/usr, /mnt/newroot/var, etc and copy/tar/cpio files from the current to the new file systems.

Also, I would use LVM for everything except /boot. Is your swap size according to your RAM?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: Replace 73 Gb internal system disk with Linux & LVM in BL35p with others internal 146Gb disks

I forgot, if you use the second option, you will have to reinstall grub, using the grub-install command.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
JBR
Frequent Advisor

Re: Replace 73 Gb internal system disk with Linux & LVM in BL35p with others internal 146Gb disks

Hi Ivan, thank you for your quickly reply, this Blade has two internal disk in mirror (NO SMARTARRAY), but I don´t know how to put the new disk into the controller to perform a clone.

The controller is:
SCSI storage controller: LSI Logic / Symbios Logic SAS1064 PCI-X Fusion-MPT SAS (rev 02)