# vxdisk -g TB -f resize c20t0d0
VxVM vxdisk ERROR V-5-1-8643 Device c20t0d0: resize failed: Cannot remove last
disk in disk group
(1) When resizing a cdsdisk from less than 1 TB to greater than 1 TB, the cdsdisk layout gets changed from VTOC to GPT.
(2) The log and config copy offsets need to be modified as the start of the private region gets changed from 128 to 104, in case of HP-UX.
(3) The "vxdisk resize" operation involves the need to disable config and log copies on the disk undergoing VTOC->GPT conversion before modifying log/config copy offsets.
(4) The requirement is to have at least one enabled config/log copy available in a diskgroup.
(5) In order to have at least one enabled log/config copy, there is the need to have at least one more disk in the same diskgroup in order for the disk being resized to 1 TB to be resized.
Adding another disk to the diskgroup temporarily enables the "vxdisk resize" to complete. If need be, the disk just added can be removed after a successful "vxdisk resize".
The Volume Manager Administrator's guide and vxdisk man page will be updated in a later 6.x release.
Applies To
SF 5.1SP1HF2
HP-UX 11.31
Disk device originally sized at 900GB, but then resized to 1.1TB, which the "vxdisk resize" command failed to resize