Storage Management
Storage management is accomplished using nova-volume. As mentioned earlier, instance storage is not persistent, so a persistent volume is needed if data will be needed longer than the instance will run.
To create a 10GB storage volume, use the following:
localadmin@watson~$: euca-create-volume -s 10 -z nova
You get output like this:
VOLUME vol-00000002 1 creating (proj, None, None, None) 2011-08-21T11:19:52Z
To list all storage volumes, use this:
localadmin@watson~$ euca-describe-volumes
You will see output like this:
VOLUME vol-00000001 1 nova in-use (proj, None, None, None) 2011-08-21T09:12:42ZVOLUME vol-00000002 1 nova available (proj, None, None, None) 2011-08-21T11:19:52Z
Volumes may only be attached to one running instance ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access