Solved

Increase C drive partition on Amazon EC2

Posted on 2010-08-30
7
2,397 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
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…

746 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

10 Experts available now in Live!

Get 1:1 Help Now