xen-resize-guest [options] Help Options: --help Show help information. --manual Read the manual for this script. --version Show the version information and exit. --verbose Show diagnostic output. General Options: --add Specify the amount of space to add, e.g. --add=1gb --dir Specify the path to the loopback image root. --force Force the resize to happen without a last-chance delay. --hostname Specify the hostname of the guest to resize.
This tool will ease the resizing of Xen guests, whether they are based upon loopback files or LVM partitions. Whilst the process of resizing a guest is pretty simple it can be fiddly to 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 their filesystems; hence this tool.
Steve -- http://www.steve.org.uk/
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.