The procedure below assumes that you are starting with a logical volume. If you are starting with a filesystem on a single disk partition that you want to turn into a logical volume and grow onto an additional disk partition, use the procedure in the section "Growing an XFS Filesystem Onto Another Disk" in Chapter 4 or the section "Growing an EFS Filesystem Onto Another Disk" in Chapter 4 instead.
# xlv_make
xlv_make> ve spare_ve dks0d4s7
new_ve
xlv_make> end
Object specification completed
xlv_make> exit
Newly created objects will be written to disk.
Is this what you want?(yes) yes
Invoking xlv_assemble
The ve command creates a volume element name, spare_ve. The name is required because the volume element is not part of a larger hierarchy; it is the top level object in this case.
# xlv_mgr
xlv_mgr> attach ve spare_ve xlv0.data.0
xlv_mgr> quit
# mount volume mountpoint
volume is the device name of the logical volume, for example /dev/dsk/xlv/xlv0, and mountpoint is the mount point directory for the logical volume.
# xfs_growfs -d mountpoint
mountpoint is the mount point directory for the logical volume.
# umount mountpoint
# growfs volume
mountpoint is the mount point directory for the filesystem. volume is the device name of the logical volume, for example /dev/dsk/xlv/xlv0.