Skip to content

Commit 97a1bb1

Browse files
committed
New year's eve post
1 parent b11a8c3 commit 97a1bb1

File tree

9 files changed

+2074
-1282
lines changed

9 files changed

+2074
-1282
lines changed

images/ebs-resize.png

104 KB
Loading
Lines changed: 307 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,307 @@
1+
<!DOCTYPE html>
2+
<html lang="es">
3+
<head>
4+
<meta charset="utf-8"/>
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
<title> Increase volume size using Elastic Volumes
9+
| frommelmak</title>
10+
11+
<meta name="author" content="Marcos Martinez"/>
12+
13+
<!-- Bootstrap -->
14+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"/>
15+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
16+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.min.css"/>
17+
<link rel="stylesheet" href="http://frommmelmak.com/theme/css/jquery.mglass.css"/>
18+
<link rel="stylesheet" href="http://frommmelmak.com/theme/css/pygment-solarized-dark.css"/>
19+
<link rel="stylesheet" href="http://frommmelmak.com/theme/css/style.css"/>
20+
21+
<!-- Fonts -->
22+
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'/>
23+
<link href='https://fonts.googleapis.com/css?family=Istok+Web' rel='stylesheet' type='text/css'/>
24+
<link href='https://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'/>
25+
<link href='https://fonts.googleapis.com/css?family=Expletus+Sans' rel='stylesheet' type='text/css'>
26+
27+
28+
<link rel="icon" href="http://frommmelmak.com/favicon.ico" type="image/x-icon">
29+
<link rel="shortcut icon" href="http://frommmelmak.com/favicon.ico" type="image/x-icon">
30+
31+
<!-- Feeds -->
32+
33+
34+
</head>
35+
36+
<body>
37+
38+
<div class="container">
39+
40+
<div class="page-header">
41+
<a href="http://frommmelmak.com" class="avatar-container pull-left">
42+
<div class="avatar animate ">
43+
<div class="side"><img src="images/avatar.png" class="img-responsive"/></div>
44+
<div class="side back"><p class="text-center">Alien Life Form</p></div>
45+
</div>
46+
</a>
47+
<h1><a href="http://frommmelmak.com">frommelmak</a> <small>Yet another Melmacian interested in technology...</small></h1>
48+
</div>
49+
50+
<nav class="navbar navbar-default">
51+
52+
<!-- Hamburger menu for mobile -->
53+
<div class="navbar-header">
54+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#plumage-navbar-collapse-1" aria-expanded="false">
55+
<span class="sr-only">Toggle navigation</span>
56+
<span class="icon-bar"></span>
57+
<span class="icon-bar"></span>
58+
<span class="icon-bar"></span>
59+
</button>
60+
<a class="navbar-brand" href="http://frommmelmak.com" title="Yet another Melmacian interested in technology...">frommelmak</a>
61+
</div>
62+
63+
<!-- Menus and search forms -->
64+
<div class="collapse navbar-collapse" id="plumage-navbar-collapse-1">
65+
66+
<ul class="nav navbar-nav">
67+
<li >
68+
<a href="/">Home</a>
69+
</li>
70+
<li >
71+
<a href="http://wiki.frommelmak.com">Wiki</a>
72+
</li>
73+
<li >
74+
<a href="http://old.frommelmak.com">Old Blog</a>
75+
</li>
76+
</ul>
77+
78+
<form class="navbar-form navbar-right" role="search" action="https://www.google.com" target="_blank">
79+
<div class="form-group">
80+
<div class="input-group">
81+
<input type="text" name="q" class="form-control search-query" placeholder="Search" required />
82+
<span class="input-group-btn">
83+
<button class="btn btn-default" type="button"><i class="fa fa-search fa-fw"></i></button>
84+
</span>
85+
</div>
86+
<input type="hidden" name="cx" value="partner-pub-2082790787711438:7148578903" />
87+
<input type="hidden" name="ie" value="UTF-8" />
88+
</div>
89+
</form>
90+
91+
92+
</div>
93+
94+
</nav>
95+
96+
</div>
97+
98+
99+
<div class="container main">
100+
101+
102+
<div class="row">
103+
<div class=" col-md-9 ">
104+
<h1>
105+
<a href="http://frommmelmak.com/increase-volume-size-using-elastic-volumes.html" rel="bookmark" title="Permalink to Increase volume size using Elastic Volumes">Increase volume size using Elastic&nbsp;Volumes</a>
106+
</h1>
107+
</div>
108+
</div>
109+
110+
<div class="row">
111+
112+
113+
<div class=" col-md-9 " id="content" role="main">
114+
115+
116+
<div>
117+
<p>On February 2017, <span class="caps">AWS</span> <a href="https://aws.amazon.com/blogs/aws/amazon-ebs-update-new-elastic-volumes-change-everything/">announced</a> the availability of a new <span class="caps">EBS</span> feature called Elastic Volumes. The new feature allow you to increase the size, performance and type and of your <span class="caps">EBS</span> volumes while in use. In order to take adantage of this great featrue some requisites needs to be&nbsp;done.</p>
118+
<ul>
119+
<li>The volume needs to be attached to a compatible instane: C1, C3, <span class="caps">CC2</span>, <span class="caps">CR1</span>, G2, I2, M1, M3 y R3 and&nbsp;later. </li>
120+
<li>The volume was attached to the instance after the November 1 of&nbsp;2016.</li>
121+
</ul>
122+
<p>To modify the volumen size just modify the volumen size using the Modify Volume action on the <span class="caps">AWS</span>&nbsp;Console.</p>
123+
<p><img alt="EBS volume resize" src="/images/ebs-resize.png"></p>
124+
<p>Note: depending on the new size the action can takes several&nbsp;hours.</p>
125+
<p>Once the action completes, log into the instance and expand de filesystem. In my case since I&#8217;m using <span class="caps">LVM</span> I need to expand the physical and logical&nbsp;volumes.</p>
126+
<div class="highlight"><pre><span></span>pvdisplay
127+
pvscan
128+
pvresize /dev/xvdg
129+
pvdisplay
130+
lvdisplay
131+
lvextend -l +100%FREE /dev/vgroup2/volume
132+
</pre></div>
133+
134+
135+
<p>And finally the ext4&nbsp;filesystem:</p>
136+
<div class="highlight"><pre><span></span>resize2fs /dev/vgroup2/volume
137+
</pre></div>
138+
</div>
139+
140+
<h3>Related content</h3>
141+
<!-- TODO: Use fancier related layout, as in https://kevin.deldycke.com/2012/04/beautify-contextual-related-posts-wordpress-plugin/ -->
142+
<ul>
143+
<li><a href="http://frommmelmak.com/tareas-frecuentes-con-lvm.html">Tareas frecuentes con <span class="caps">LVM</span></a></li>
144+
<li><a href="http://frommmelmak.com/utilizar-certificados-ssl-en-amazon-elb.html">Utilizar certificados <span class="caps">SSL</span> en Amazon <span class="caps">ELB</span></a></li>
145+
<li><a href="http://frommmelmak.com/incoherencias-entre-los-comandos-df-y-du.html">Incoherencias entre los comandos df y&nbsp;du</a></li>
146+
</ul>
147+
148+
<div class="comments">
149+
<div id="disqus_thread"></div>
150+
<script type="text/javascript">
151+
var disqus_shortname = 'frommelmak';
152+
var disqus_identifier = "increase-volume-size-using-elastic-volumes.html";
153+
var disqus_title = "Increase volume size using Elastic Volumes";
154+
var disqus_url = "http://frommmelmak.com/increase-volume-size-using-elastic-volumes.html";
155+
(function() {
156+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
157+
dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
158+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
159+
})();
160+
</script>
161+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus</a>.</noscript>
162+
</div>
163+
164+
</div>
165+
166+
<div class="col-md-3">
167+
<div class="well">
168+
169+
<p><abbr title="2018-12-31T06:15:00+01:00"><i class="fa fa-calendar"></i> Mon 31 December 2018</abbr></p>
170+
171+
<p><address>
172+
<i class="fa fa-user"></i> By
173+
<a href="http://frommmelmak.com/author/frommelmak.html" rel="author">frommelmak</a>
174+
</address></p>
175+
176+
<hr/>
177+
178+
<p>
179+
<a href="http://frommmelmak.com/category/english.html" rel="tag"
180+
data-toggle="tooltip" class="label label-info"
181+
title="13 articles in this category">English</a>
182+
<a href="/tag/lvm.html" data-toggle="tooltip"
183+
class="label label-default"
184+
title="2 articles with this tag">lvm</a>
185+
<a href="/tag/aws.html" data-toggle="tooltip"
186+
class="label label-default"
187+
title="2 articles with this tag">aws</a>
188+
<a href="/tag/filesystem.html" data-toggle="tooltip"
189+
class="label label-default"
190+
title="2 articles with this tag">filesystem</a>
191+
<a href="/tag/ext4.html" data-toggle="tooltip"
192+
class="label label-default"
193+
title="1 article with this tag">ext4</a>
194+
<a href="/tag/ebs.html" data-toggle="tooltip"
195+
class="label label-default"
196+
title="1 article with this tag">ebs</a>
197+
<a href="/tag/maintenance.html" data-toggle="tooltip"
198+
class="label label-default"
199+
title="1 article with this tag">maintenance</a>
200+
</p>
201+
<hr/>
202+
203+
<p>Found a typo ? Want to fix it ?</p>
204+
<a class="btn btn-info btn-block" href="https://github.com/frommelmak/blog/edit/master/content/posts/increase-volume-size-using-elastic-volumes.md"><i class="fa fa-random fa-white fa-fw"></i> Edit article on GitHub</a>
205+
<hr/>
206+
207+
<nav>
208+
<ul class="pager">
209+
<li class="previous ">
210+
<a href="http://frommmelmak.com/modificar-ficheros-de-una-imagen-de-disco-particionada.html" title="Modificar ficheros de una imagen de disco particionada" rel="prev">
211+
<span aria-hidden="true"></span> Older
212+
</a>
213+
</li>
214+
<li class="next disabled ">
215+
<a rel="next">
216+
Newer <span aria-hidden="true"></span>
217+
</a>
218+
</li>
219+
</ul>
220+
</nav>
221+
222+
</div>
223+
224+
</div>
225+
226+
</div>
227+
228+
</div>
229+
230+
<!-- TODO: make footer sticky -->
231+
<footer class="container-fluid">
232+
<div class="container">
233+
<div class="row">
234+
235+
<div class="col-md-2">
236+
<h5>Social</h5>
237+
<ul class="list-unstyled">
238+
<li> <a href="http://twitter.com/frommelmak">
239+
<i class="fa fa-twitter"></i>
240+
@frommelmak
241+
</a></li>
242+
</ul>
243+
</div>
244+
<div class="col-md-2">
245+
<h5>Links</h5>
246+
<ul class="list-unstyled">
247+
<li> <a href="http://linkedin.com/in/marcosmartinezjimenez">
248+
<i class="fa fa-linkedin-square"></i>
249+
LinkedIn
250+
</a></li>
251+
<li> <a href="http://github.com/frommelmak">
252+
<i class="fa fa-github"></i>
253+
GitHub
254+
</a></li>
255+
<li> <a href="http://www.youtube.com/user/melmak">
256+
<img src="https://besticon-demo.herokuapp.com/icon?url=www.youtube.com&size=16" width="16" height="16" class="icon" alt="www.youtube.com icon"/>
257+
Youtube
258+
</a></li>
259+
</ul>
260+
</div>
261+
262+
<div class="col-md-2">
263+
<h5>Browse content by</h5>
264+
<ul class="list-unstyled">
265+
<li><a href="http://frommmelmak.com/categories/index.html"><i class="fa fa-tags"></i> Categories</a></li>
266+
<li><a href="http://frommmelmak.com/archives/index.html"><i class="fa fa-calendar"></i> Dates</a></li>
267+
<li><a href="http://frommmelmak.com/tags/index.html"><i class="fa fa-tag"></i> Tags</a></li>
268+
</ul>
269+
</div>
270+
271+
<div class="col-md-2 text-muted">
272+
<h5>Copyright notice</h5>
273+
<p>© Copyright 2005-2018 Marcos Martinez.</p>
274+
</div>
275+
276+
<div class="col-md-2 text-muted">
277+
<h5>Disclaimer</h5>
278+
<p>All opinions expressed in this site are my own personal opinions and are not endorsed by, nor do they represent the opinions of my previous, current and future employers or any of its affiliates, partners or customers.</p>
279+
</div>
280+
281+
<div class="col-md-2">
282+
</div>
283+
284+
</div>
285+
</div>
286+
287+
<h5 class="text-right"><a href="#"><i class="fa fa-arrow-up"></i> Back to top</a></h5>
288+
289+
<div class="container">
290+
<div class="row col-md-12 text-muted text-center">
291+
Site generated by <a href="https://getpelican.com"> Pelican</a>.<br/>
292+
<a href="https://github.com/kdeldycke/plumage"> Plumage</a> theme by <a href="https://kevin.deldycke.com">Kevin Deldycke</a>.
293+
</div>
294+
</div>
295+
296+
</footer>
297+
298+
299+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
300+
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
301+
<script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js"></script>
302+
<script src="https://cdnjs.cloudflare.com/ajax/libs/fitvids/1.1.0/jquery.fitvids.min.js"></script>
303+
<script src="http://frommmelmak.com/theme/js/jquery.mglass.js"></script>
304+
<script src="http://frommmelmak.com/theme/js/application.js"></script>
305+
306+
</body>
307+
</html>

0 commit comments

Comments
 (0)