HP-UX Containers (SRP) A.03.01.003 Release Notes (5900-2312, May 2012)

8
# srp –stop –batch
Get the size of /var/hpsrp in KB (for example, 13,775,048 KB):
# du –sk /var/hpsrp
2) Create a new file system where you can migrate the container content.
Determine the existing volume group and available space for the new logical volume:
# vgdisplay –v
Assume that the new FS size requirement is 13500 MB, and that the available logical volume
lvol4 is on /dev/vg00.
# lvcreate –L 13500 -n lvol4 /dev/vg00
Create the file system on the logical volume:
# newfs –F vxfs /dev/vg00/rlvol4
3) Mount the new file system at /var/hpsrp.
Rename the container directory to prepare for the copy:
# mv /var/hpsrp /var/hpsrp.backup
Create a new mount point:
# mkdir –m 555 /var/hpsrp
Make the file system accessible:
# mount /dev/vg00/lvol4 /var/hpsrp
Add the new file system information to the global /etc/fstab file.
For example, add the following line to the /etc/fstab file:
/dev/vg00/lvol4 /var/hpsrp vxfs delaylog 0 2
4) Copy the existing container data to the new file system.
Copy all files excluding UNIX domain sockets into the new file system, preserving the file
attributes:
# cd /var/hpsrp.backup
# find . ! –type s | /usr/bin/cpio –updmx /var/hpsrp
5) Reboot the system.
# shutdown –r
After the reboot, all containers will be configured successfully.
HP-UX Containers Version A.03.01 and later delivers new default configuration in the following
configuration file:
/etc/opt/hpsrp/templates/srpdefaults.cst
If you modified this configuration file in an earlier release, you must manually incorporate the prior
changes into the A.03.01.003 version of this file. If you modified this file before the upgrade, it will
be renamed to srpdefaults.cst.old.