Ask Your Question
0

How to use attached volume in running Instance??

asked 2016-05-02 11:55:49 -0600

Yedhu Sastri gravatar image

updated 2016-05-02 11:57:08 -0600

Hi,

To my ubuntu instance in openstack I attached 400Gb additional volume.

fdisk -l is giving output as below

Disk /dev/vda: 100 GiB, 107374182400 bytes, 209715200 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0001b529

Device Boot Start End Sectors Size Id Type

/dev/vda1 * 2048 209715166 209713119 100G 83 Linux

Disk /dev/vdb: 400 GiB, 429496729600 bytes, 838860800 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xd9801801

How to combine /dev/sda and /dev/vdb to give a total storage of 500GB?? Please help...

Or

Please suggest some ways to use attached volumes effectively in Running Instances...

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-03 05:05:47 -0600

if you use lvm on your cloud image you can extend logical volume attaching new volume(s) vdX, but every cloud image provider (canonical, centos, ...) don't provide cloud image based on lvm because cloud-init doesn't support fs grow on lvm -> only on disk volume.

But if you want only one disk -> 500 GB, you can create a new instance based on cinder volume, when you launch instance, you can select Boot from image (create a new volume) and then you can put 500 on Device size.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-05-02 11:55:49 -0600

Seen: 362 times

Last updated: May 03 '16