Ask Your Question

"Why does the compute node not recognize the mounted disks?"

asked 2013-08-27 03:11:30 -0500

Ramonskie gravatar image

updated 2013-09-17 22:01:05 -0500

sgordon gravatar image

i have a small multinode setup and connected cinder to ceph.

but my compute node only recognize my root disk for the local vm disks (root-vda ephemeral-vdb) the compute node logs only shows Free disk (GB): 213 when it should show a lot more because i have mounted those disks.

does anyone have a idea?



2013-09-17 13:06:08.117 9646 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2013-09-17 13:06:08.260 9646 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 11400
2013-09-17 13:06:08.261 9646 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 173
2013-09-17 13:06:08.261 9646 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 6

df-h output

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       214G   40G  163G  20% /
udev            7.9G   12K  7.9G   1% /dev
tmpfs           3.2G  408K  3.2G   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            7.9G     0  7.9G   0% /run/shm
cgroup          7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/sdb1       230G  188M  218G   1% /mnt/sdb1

as you see nova-compute only recongize /dev/sda1 and not the mounted /dev/sdb1

i'm sorry for the late repsonse i was on a vaction. and i hope you understand now what i try to explain

edit retag flag offensive close merge delete


Yeah sorry I can't quite understand the question you are asking. Perhaps try rephrasing it? Add some output from disk space commands?

serverascode gravatar imageserverascode ( 2013-09-04 09:11:22 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-17 21:55:24 -0500

sgordon gravatar image

Nova stores disk images on the Hypervisor in the directory specified by the instances_path directive in the configuration files, the default value is /var/lib/nova/instances.

As this directory falls under / on your system (it is not explicitly moved/mounted elsewhere) it is on the root disk (/dev/sda1) and as such it would appear that is the free space that Nova reports on - because that's the free space it has the ability to use.

edit flag offensive delete link more


so what should i do? mount the disks to "/var/lib/nova/instances"

Ramonskie gravatar imageRamonskie ( 2013-09-18 02:46:19 -0500 )edit

@Ramonskie: To use the space on /dev/sdb1, yes. Alternatively to use the space on both you would need to combine them into an LVM volume and use that.

sgordon gravatar imagesgordon ( 2013-09-18 08:05:59 -0500 )edit

I know this is an old question/answer but this helped me!

tiger gravatar imagetiger ( 2017-04-21 14:24:14 -0500 )edit

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



Asked: 2013-08-27 03:11:30 -0500

Seen: 1,590 times

Last updated: Sep 17 '13