1848729 Members
4184 Online
104036 Solutions
New Discussion

Replacing two root disk

 
SOLVED
Go to solution
Regina Mitchell
Frequent Advisor

Replacing two root disk

System= 9000/800/N4000-44
OS 11.11
I'm replacing two internal 18gb root disk with two 36gb root disk. I plan to do the following. Please provide any feedback if possible.

1)Bdf and record filesystem sizes for vg00
2)Create make recovery tape: make_tape_recovery –A -I

3)Shutdown and halt server: Shutdown –hy 0

4)Replace current root disk with two new root disk (36GB each):5) Boot from make recovery tape, use Advance option for interactive recovery
a. Interrupt Boot
b. Search for bootable device: sea
c. Boot P# (Sequential): bo P#
d. Do not interact with IPL or IS, select NO
e. Choose option “Install HP-UX”
f. Confirm max_pe size
g. Select Advance Options and adjust filesystem sizes for vg00
/var from 2GB to 4Gb (4096 MB)
/var/adm/sw from 1GB to 4GB (4096 MB)
/opt from 3GB to 4GB (4096 MB)
/home from 100 MB to 500 MB
h. Proceed with the installation, select GO
6) Mirror new root disks
a. pvcreate -B /dev/rdsk/
b. vgextend /dev/vg00 /dev/dsk/
c. mkboot –l /dev/rdsk/
d. mkboot -a "hpux -lq" /dev/rdsk/
f. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/
g. lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/
h. lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/
i. lvlnboot -R
Repeat step f for any additional logical volumes that need to be mirrored.
7) Test mirrored disk
a. Shutdown –ry 0
b. Interrupt boot
c. boot off mirror root disk; bo p# mirrored disk
8) Shutdown and reboot to primary root disk; shutdown –ry 0

Notes & Questions:
1) Look into max-pe size for vg00, is the current value okay or need to be changed? Will Ignite change the default size based on the new disk?
2) Do I need to remove the mirror before the removal of the curr
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Replacing two root disk

It should assign the appropriate number of extents to accomodate your larger drive. You have an instruction to check so do so.

There is no need to remove the mirrors. Label you old drives so that you can return them to the correct slots. I like your approach because it's very easy to revert to a safe state in case there is an "oops".

When you are done, I would do a mkboot -a "hpux -lq ..." on the primary boot disk as well; otherwise, your system is actually less likely to boot unattended because both disks must be available if booting from the primary.

It's always a good idea to leave a good chunk of unallocated space so that it's easy to expand LVOL's.
If it ain't broke, I can fix that.
Regina Mitchell
Frequent Advisor

Re: Replacing two root disk

Thanks Clay. I've read so many threads on this topic and tried to to sum it all on that. Thanks for clarifying the Max PE.