<div dir="ltr">On Sat, Jul 20, 2013 at 1:43 PM, Viktor Trón <span dir="ltr"><<a href="mailto:viktor.tron@gmail.com" target="_blank">viktor.tron@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Thanks to both of you.<br><br></div>I followed the steps used in Fred's excellent ref <a href="http://alestic.com/2010/02/ec2-resize-running-ebs-root" target="_blank">http://alestic.com/2010/02/ec2-resize-running-ebs-root</a><br>


</div>It is using ec2 command line tools so geekproof.<br></div>FYI: you no longer need to run the resize2fs command on your instance, it is automatically grown for you (at least on my ubuntu 12.04)<br><br></div>If you cringe at the command line but like clicking, the same process can be done via the aws web console demonstrated in the well-suited medium of a screencast here: <a href="http://alestic.com/2010/02/ec2-resize-running-ebs-root" target="_blank">http://alestic.com/2010/02/ec2-resize-running-ebs-root</a><br>

<br></div></blockquote><div>EDIT: screencast here: <a href="http://www.youtube.com/watch?v=ouYjQ3_I3BA">http://www.youtube.com/watch?v=ouYjQ3_I3BA</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><br>
</div><div class=""><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 12:35 PM, Frederick Cheung <span dir="ltr"><<a href="mailto:frederick.cheung@gmail.com" target="_blank">frederick.cheung@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br>
On 19 Jul 2013, at 12:32, Viktor Trón <<a href="mailto:viktor.tron@gmail.com" target="_blank">viktor.tron@gmail.com</a>> wrote:<br>
<br>
> slightly off topic, but encouraged by recent devops wisdom.<br>
><br>
> We need to have bigger disk on an existing ec2 instance.<br>
><br>
> One approach even reading about gives me headache<br>
> <a href="http://stackoverflow.com/questions/550790/growing-amazon-ebs-volume-sizes" target="_blank">http://stackoverflow.com/questions/550790/growing-amazon-ebs-volume-sizes</a><br>
</div>> the accepted answer is from 2009 and lots of controversy.<br>
<div>><br>
> Another approach that might work is to turn off the instance (stop not terminate), create an AMI image from it then relaunch with a larger disk.<br>
><br>
<br>
</div>You can't change an EBS volume's size: you need to snapshot it and create a new volume from the snapshot. Once that's done you need to resize the filesystem. Whether that can be done on the root volume depends on the filesystem (i think recentish file systems like ext4 are fine). Eric Hammond has a walkthrough of this here: <a href="http://alestic.com/2010/02/ec2-resize-running-ebs-root" target="_blank">http://alestic.com/2010/02/ec2-resize-running-ebs-root</a><br>


<br>
Fred<br>
<div><div><br>
> any guidance appreciated.<br>
> Vik<br>
> _______________________________________________<br>
> Chat mailing list<br>
> <a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
> <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>