When a Smart Protection Server (SPS) runs low on disk space, it fails to download and install new pattern. Learn how to extend the disk size of SPS.
To expand the VMware disk size and other VM products:
- In VMware management UI, expand the SPS disk size.
- Delete the old partition and create a new one.
- Log on to SPS terminal as root.
- Execute fdisk /dev/sda.
- Type "d" to delete the partition.
- Press ENTER or type 2 to delete partition 2.
- Type "n" to create a new partition.
- Press ENTER or type "p" to create primary partition.
- Press ENTER or type 2 to create partition 2.
- Press ENTER twice to select the default cylinders and use all space.
- Press "P" to print the partitions. This will list the partitions and let you verify if the block size has increased.
- Press "W" to write the changes.
- Enter "shutdown -r now" to reboot the server.
- Resize the physical volume, logical volume, and file system.
- Execute "pvresize /dev/sda2" to resize the physical volume.
- Enter "lvdisplay" to verify the logical volume that you are extending.
In this case, the logical volume name is /dev/sps/root. - Run "lvresize -l +100%FREE /dev/sps/root" to extend the LVM.
- Type "xfs_growfs /dev/sps/root" to finalize the file system size.
- Enter the command "df -h" to display the disk with the extended size.