<div dir="ltr">Friends:<div><br></div><div>Here is a situation in the office VM.</div><div><br></div><div style>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.</div>
<div style><br></div><div style>This creates the working VM in a few minutes automatically(great thing but less control for me)</div><div style><br></div><div style>The harddisk assigned from VirtualBox is 21GB(by me)</div>
<div style><br></div><div style>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.</div><div style><br></div><div style>
What I am doing now, after VM is created, I mount GParted and resize the 4.1GB to the full available size of 21GB.</div><div style><br></div><div style>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.</div>
<div style><br></div><div style>Any inputs of partition resize from command line while VM is running.</div></div>