Sep 24, 2002 1 #1 freder MIS Jun 22, 2001 3 CA Does anyone know how to increase the root volume size on HP-UX 11.11 ? I want to increase it because it's at 98% I've tried from single user mode but it keeps returning message that's it's being used by another process.
Does anyone know how to increase the root volume size on HP-UX 11.11 ? I want to increase it because it's at 98% I've tried from single user mode but it keeps returning message that's it's being used by another process.
Sep 24, 2002 #2 patel MIS Jun 22, 2001 263 US You have to do it from lvm command mode. These are the step to increase /stand It will be true for / too. Considering you have Size of /dev/vg00/lvol1 is A (boot or /stand or /dev/vg00/lvol1) Size of /dev/vg00/lvol2 is B (swap or /dev/vg00/lvol2) You wanna increase size of lvol1 from A to A+X (where X is not more than B - "physical memory installed in your machine" Basically we have to decrease size of swap to increase boot as they are contigous. Now Extending /stand is an easy job which can be performed in 10-15 minutes. 01. Boot your machine in LVM maintenance mode (hpux -lm at ISL>) #rm /etc/mnttab #vgchange -a y /dev/vg00 #lvrmboot -r /dev/vg00 #lvremove /dev/vg00/lvol2 #lvextend -L "A+X" /dev/vg00/lvol1 #extendfs /dev/vg00/rlvol1 #lvcreate -L "B-(X+10)" -C y -r n -n lvol2 /dev/vg00 #lvlnboot -b /dev/vg00/lvol1 #lvlnboot -r /dev/vg00/lvol3 #lvlnboot -s /dev/vg00/lvol2 #lvlnboot -d /dev/vg00/lvol2 #reboot -r Patel Upvote 0 Downvote
You have to do it from lvm command mode. These are the step to increase /stand It will be true for / too. Considering you have Size of /dev/vg00/lvol1 is A (boot or /stand or /dev/vg00/lvol1) Size of /dev/vg00/lvol2 is B (swap or /dev/vg00/lvol2) You wanna increase size of lvol1 from A to A+X (where X is not more than B - "physical memory installed in your machine" Basically we have to decrease size of swap to increase boot as they are contigous. Now Extending /stand is an easy job which can be performed in 10-15 minutes. 01. Boot your machine in LVM maintenance mode (hpux -lm at ISL>) #rm /etc/mnttab #vgchange -a y /dev/vg00 #lvrmboot -r /dev/vg00 #lvremove /dev/vg00/lvol2 #lvextend -L "A+X" /dev/vg00/lvol1 #extendfs /dev/vg00/rlvol1 #lvcreate -L "B-(X+10)" -C y -r n -n lvol2 /dev/vg00 #lvlnboot -b /dev/vg00/lvol1 #lvlnboot -r /dev/vg00/lvol3 #lvlnboot -s /dev/vg00/lvol2 #lvlnboot -d /dev/vg00/lvol2 #reboot -r Patel