Solved

Increase C drive partition on Amazon EC2

Posted on 2010-08-30
7
2,402 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

Suggested Solutions

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

861 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now