[ale] partition size increase, using commandline, while VM running - HowTo ?

Narahari 'n' Savitha savithari at gmail.com
Sun Mar 2 13:29:11 EST 2014


Friends:

Here is a situation in the office VM.

My office folks use SLES 11SP2 and an Suse Studio iso is available(It is a
raw image).  I mount the iso and startup the Virtualbox.

This creates the working VM in a few minutes automatically(great thing but
less control for me)

The harddisk assigned from VirtualBox is 21GB(by me)

The after effect of getting VM automatically done is that it creates a
btrfs and the partition size gets squeezed to  4.1GB even though 21GB was
allocated.

What I am doing now, after VM is created, I mount GParted and resize the
4.1GB to the full available size of 21GB.

It is not hard to it with GParted, but I prefer to use a quick script that
can resize the partition, while the VM is running and then force reboot for
the new size to take it.

Any inputs of partition resize from command line while VM is running.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20140302/563f7756/attachment.html>


More information about the Ale mailing list