[ale] partition size increase, using commandline, while VM running - HowTo ?
Lightner, Jeff
JLightner at water.com
Mon Mar 3 08:41:22 EST 2014
Wasn’t the original question about the partition rather than the filesystem?
One would need to increase the size of the partition prior to increasing the size of the filesystem.
parted is the command line interface whereas gparted is the GUI interface so you can do it with parted (look at the –s option for script) in man page.
Failing that you can probably use fdisk which is the older partitioning tool. (It has issues with some disks/partitioning schemes)
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Narahari 'n' Savitha
Sent: Sunday, March 02, 2014 3:19 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] partition size increase, using commandline, while VM running - HowTo ?
I did not think from the btrfs perspective. I will try that approach. Thank You.
On Sun, Mar 2, 2014 at 1:51 PM, JD <jdp at algoloma.com<mailto:jdp at algoloma.com>> wrote:
What is the file system on the extra storage? If ext2/3/4, then resize2fs can
work. If LVM, there are other steps needed first.
btrfs man page? Isn't easier management THE reason for it? Google found:
http://docs.oracle.com/cd/E37670_01/E37355/html/ol_use_case2_btrfs.html
Did that not work (assuming btrfs)?
I must be misunderstanding something.
On 03/02/2014 01:29 PM, Narahari 'n' Savitha wrote:
> 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.
>
_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Athena®, Created for the Cause™
Making a Difference in the Fight Against Breast Cancer
How and Why I Should Support Bottled Water!
Do not relinquish your right to choose bottled water as a healthy alternative to beverages that contain sugar, calories, etc. Your support of bottled water will make a difference! Your signatures count! Go to http://www.bottledwatermatters.org/luv-bottledwater-iframe/dswaters and sign a petition to support your right to always choose bottled water. Help fight federal and state issues, such as bottle deposits (or taxes) and organizations that want to ban the sale of bottled water. Support community curbside recycling programs. Support bottled water as a healthy way to maintain proper hydration. Our goal is 50,000 signatures. Share this petition with your friends and family today!
---------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20140303/5dac3c8b/attachment.html>
More information about the Ale
mailing list