Operating System - HP-UX
1751968 Members
4575 Online
108783 Solutions
New Discussion

Re: Extending mirrored logical volume

 
sarfaraj ahmad
Trusted Contributor

Re: Extending mirrored logical volume

hi,
if you are using default hpux file system then you can refer below procedure.
first check free PE,

1. Login via MP and login to CO
2. Boot the server into Single User mode.
# shutdown -ry now
4) The below message will come

To discontinue, press any key within 10 seconds.

When prompted, press "ESC" to interrupt the boot.

5) Boot from the primary device and invoke ISL interaction.

Main menu... > bo pri

NOTE: If prompted to interact with ISL, respond "Y"

6) Boot into single user mode
ISL> hpux -is

NOTE: Nothing will be mounted.

# fsck -y
# mount /var

7) Extend the logical volume that holds the filesystem.
# /sbin/lvextend -L 9760 /dev/vg00/lvol8

(NOTE: the -L option is the NEW size
The new size of /var will be 9760 MB)

8) Extend the file system.
#/sbin/extendfs -F vxfs /dev/vg00/rlvol8

NOTE: The use of the character device.(Check rlvol8)

9) Ensure the filesystem now reports to be the new size
# bdf

10) Reboot the system to its normal running state.
# shutdown -r now