O'Reilly logo

Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition by Paul Hudson, Andrew Hudson, Matthew Helmke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required