Solved

Increase C drive partition on Amazon EC2

Posted on 2010-08-30
7
2,421 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
7 Comments
 
LVL 95

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 95

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

808 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