Amazon Elastic Block Store Operations

From NovaOrdis Knowledge Base
Revision as of 00:07, 12 October 2016 by Ovidiu (talk | contribs) (Created page with "=Internal= * Amazon Elastic Block Storage =Operations= ==Making an EBS Volume Available for Use== <blockquote style="background-c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Operations

Making an EBS Volume Available for Use

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html


I need to do that to use the storage and not fill up the root partition.

Code to apply the procedure automatically is available in [em].


!!!Attaching an ESB Volume

|[1]

!!!Extending a Volume

|[2]

!!!Expanding a Linux Partition

|[3]

!!!Organizatorium

Even if the dedicated disk has 800GB, the default partitions are undersized. I need to understand this better, but this is what I did:


{{{ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 800G 0 disk ├─xvda1 202:1 0 1M 0 part ├─xvda2 202:2 0 6G 0 part / }}}

There's a lot of space (790+GB) that is not allocated to any partition.


{{{ gdisk /dev/xvda

p (print partions)

n (create new partion)

Partition Number: 3

First sector .. etc

}}}

Allocate all, then 'w' and then reboot - otherwise /dev/xvda3 won't be visible.




__Referenced by:__\\ [{INSERT com.ecyrd.jspwiki.plugin.ReferringPagesPlugin WHERE max=20, maxwidth=50}]