All of lore.kernel.org
 help / color / mirror / Atom feed
* [RBD][OpenStack]The way to solve problem when boot VM and root disk size is specified
@ 2013-11-12  7:10 Haomai Wang
  2013-11-13  2:58 ` Josh Durgin
  0 siblings, 1 reply; 4+ messages in thread
From: Haomai Wang @ 2013-11-12  7:10 UTC (permalink / raw)
  To: ceph-devel

Hi all,

Now OpenStack Nova master branch still exists a bug when you boot a VM which root disk size is specified. The storage backend of Nova also is rbd. For example, you boot a VM and specify 10G as root disk size. But the image is only 1G. Then VM will be spawned and the root disk size will expands to 10G. The filesystem still is 1G.

Now I have a way to solve it. When we boot a VM and resize root disk size, we use "fuse-rbd" command to resize filesystem.

fuse-rbd -p pool -c /etc/ceph/ceph.conf /tmp-ceph-rbd
cd /tmp-ceph-rbd
resize2fs volume-xxxxxxxxxxx 

It seemed to work but I want to know whether exists problems when many volumes in a pool. I'm not sure that too many volumes cause performance problem.

Best regards,
Wheats




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-13 14:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12  7:10 [RBD][OpenStack]The way to solve problem when boot VM and root disk size is specified Haomai Wang
2013-11-13  2:58 ` Josh Durgin
2013-11-13 13:14   ` Haomai Wang
2013-11-13 14:10     ` Haomai Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.