Solved

Increase C drive partition on Amazon EC2

Posted on 2010-08-30
7
2,438 Views
Last Modified: 2013-11-14
I have launched an instance on Amazon Ec2. C drive is only 30 GB. How to i increase this boot partition to 50GB??
0
Comment
Question by:anuboggaram
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 33556426
Why?  You shouldn't be storing data on the C: drive.

While I may be misremembering, I saw a presentation that led me to believe the C drive is subject to wiping and resetting should the system become corrupt (or something else happens).  I would suggest you contact Amazon and make sure you understand how the storage space is allocated and handled.
0
 

Expert Comment

by:hassow
ID: 33556900
Maybe EASEUS Partition manager could do the trick.
0
 

Author Comment

by:anuboggaram
ID: 33557044
Leew,

Thats what i found while trying to additional disk space to C drive. It says OS will be formatted as it it get convers to dynamic from basic.
One of Amazon executive says its possible to expand it. As we are still in testing process we have not subscribed for support to check with Amazon. Thanks for the suggestion.
0
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 33557270
I don't know that this is a support question... in theory, sales should know the answer to this...
0
 
LVL 2

Expert Comment

by:ddawson100
ID: 33564097
I see a few categories in this question so not sure if you're talking physical or virtual. Clearly WIndows though. As others have said, C: is not extendable using Diskpart if you're using Win2003. Win2008 supports it fine.  http://support.microsoft.com/kb/325590

If that doesn't work and you have a physical machine and space on your disk you could use GParted to extend your partition. If virtual you can use this common trick to mount your boot partition as a data partition of another machine then extend it that way. It's clunky but beats reinstalling Windows.

http://www.xtralogic.com/extend_fs_part.shtml
0
 

Accepted Solution

by:
anuboggaram earned 0 total points
ID: 33595999
Tried the following and it worked fine for me.

1. Make sure you have an updated AMI of your instance.
2. Launch your Windows EBS based instance.
3. Stop the instance.
4. Detach the Root device.
5. Create a new volume using the snapshot of the root device, but with a larger size.
6. Attach the new volume to your instance as the root device (/dev/sda1).
7. Start your instance to make sure it works.
8. Create a new AMI as needed.

then goto diskmgmt.msc, right click on C drive and chose Extend Volume. Complete the Wizard. It will sync the new alloted ebs space to boot partition.
0
 

Author Closing Comment

by:anuboggaram
ID: 36042091
Solution was found by my self
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question