?
Solved

Increase C drive partition on Amazon EC2

Posted on 2010-08-30
7
Medium Priority
?
2,467 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 97

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
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
LVL 97

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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

807 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