xen-resize-guest8
Resize a loopback or lvm based xen guest.
Usage
xen-resize-guest [options]
Options
--addSpecify the amount of storage to add to the primary disk.
--dirSpecify the directory where the loopback files are based.
--forceDon't pause for 10 seconds prior to commencing.
--helpShow help information.
--hostnameSpecify the hostname to delete.
--lvmSpecify the volume group to use.
--manualRead the manual for this script.
--versionShow the version number and exit.
Overview
This tool will ease the resizing of Xen guests, whether they are basedupon loopback files or LVM partitions.Whilst the process of resizing a guest is pretty simple it can be fiddlyto do the steps correctly in the right order:
1. Shutdown the guest. 2. Unmount the volume, if it is mounted. 3. Add to the space. 4. Check the filesystem. 5. Resize the filesystem. 6. Restart the guest.
More than once I've heard of users making mistakes and breaking theirfilesystems; hence this tool.
History
- Debian 12 (Bookworm): the text shown here
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)