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) 2013-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) 2013-08-21T09:12:42ZVOLUME vol-00000002 ...

Get Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.