Thanks to Allister, I ran across this NetSUS-related feature request at JAMF Nation. While the feature request makes sense in the context of the requester’s shop, it is possible to resize the NetSUS appliance to give it additional space.
The steps should be reasonably similar for each virtualization solution, but see below the jump for how to do this with VMware Fusion 6.x.
Pre-requisites:
The latest stable GParted Live iso file
In VMware Fusion 6.x:
1. Go to File: Import
2. Choose /path/to/NetSUS.ova in the Choose an Existing Virtual Machine window.
3. Save the new VM in a convenient location
4. The NetSUS .ova will import into the new VM
5. Once the import finishes, click the Customize settings button.
6. In the VM settings, click on the Hard Disk settings.
7. Resize the VM to the desired size and then click the Apply button.
8. The VM will then resize the disk.
9. Once the resize is successful, click the OK button.
10. Go back to the VM settings, and click on the CD/DVD settings.
11. Ensure that the CD/DVD drive is enabled.
12. Choose the GParted Live iso file.
13. Go back to the VM settings, and click on the Startup Disk settings.
14. In the Startup Disk settings, select CD/DVD.
15. Boot the VM.
While the VM is booted from the GParted Live iso file:
1. Select GParted Live (Default Settings)
2. When prompted, select Don’t touch keymap
3. Select your preferred language
4. When prompted for mode, enter 0.
5. In GParted, there should be a drive showing up with the amount of space you gave the VM. In this case, the drive ID is /dev/sda2 and the NetSUS partition is /dev/sda5
6. Right-click on /dev/sda2 and select Resize/Move.
7. Drag the slider so that /dev/sda2 is being allocated all of the available free space.
8. Once /dev/sda2 has been given all of the available space, click the Resize/Move button.
9. Click the Apply button in the toolbar.
10. At the warning window, click the Apply button.
11. Once operations are completed, click the Close button.
12. Right-click on /dev/sda5 and select Resize/Move.
13. Drag the slider so that /dev/sda5 is being allocated all of the available free space.
14. Once /dev/sda5 has been given all of the available space, click the Resize/Move button.
15. Click the Apply button in the toolbar.
16. At the warning window, click the Apply button.
17. Once operations are completed, click the Close button.
18. Go back to the VM settings, and click on the Startup Disk settings.
19. In the Startup Disk settings, select Hard Drive.
20. Shut down the VM.
1. Start up your NetSUS VM and hit the Enter key to get past the opening welcome screen
2. Log in as the shell user account
3. Run the following command to check the available disk space:
sudo fdisk -l
4. Run the following command to check the current filesystem setup and partition sizes:
df -h
The NetSUS partition is listed as /dev/mapper/NetSUS-root
5. To display the free space in the VM’s Linux Volume Manager, run the following command:
sudo vgdisplay
Note the free space in the NetSUS Volume Group which can now be assigned to a Logical Volume
6. Reassign the free space to /dev/mapper/NetSUS-root by running the following command:
sudo lvextend -l +100%FREE /dev/mapper/NetSUS-root
7. Run the following command to verify that the free space has been reassigned:
sudo vgdisplay
8. To perform a live resize of /dev/mapper/NetSUS-root, run the following command:
sudo resize2fs -p /dev/mapper/NetSUS-root
9. Run the following command to check the current filesystem setup and partition sizes:
df -h
/dev/mapper/NetSUS-root should now be listed with the additional space.
10. To make sure all changes have been committed, I recommend rebooting the NetSUS appliance at this point.