Support for increasing NetScaler VPX disk space
Dynamically increase the primary disk size on NetScaler VPX
Add a secondary disk
/var/crash directory is automatically mounted on this disk. The secondary disk is used for storing core files and logs. Existing directories for core files and log files continue to function as before.
-
Note:To attach a secondary disk on VPX instances deployed on Azure, ensure that the Azure VM sizes have a local temporary disk. For more information, see Azure VM sizes with no local temporary disk.
-
If you use the
linkshell command to create hard links to the files that were moved to the new HDD.
ln -s to use a symbolic link. Also, update the failing scripts accordingly.
Manually increase the primary disk size on NetScaler VPX
-
Shut down the VM.
-
Extend the default disk size from 20 GB to a higher value, such as 30 GB or 40 GB. For Azure, extend the default disk size from 32 GB to 64 GB.
-
Power on the VM and enter the boot prompt.
-
Log into single user mode using the
boot -scommand. -
Verify the disk space. You can check the newly allocated disk space using
gpart showcommand. -
Note the partition name. In the following example, the VM partition is da0.
-
Resize the disk partition using the
gpart resizecommand.Example: Let’s resize the da0 MBR partition to include 10 GB free space by running the following command.gpart resize -i 1 da0 -
Merge the free space to the last partition.Example:
gpart resize -i 5 da0s1 -
Extend the filesystem to include newly allocated free space using the
growfscommand.Example:growfs /dev/da0s1e -
Reboot the VM and verify the increased disk space using the
df -hcommand on the shell prompt.