Ask Your Question

Question about cinder (NFS driver) in compute-node

asked 2014-04-21 14:04:30 -0600

Mstaaravin gravatar image

Hello everyone!

I'm installing Icehouse in a local laboratory. I have a question about cinder with NFS driver.

In my controller server i can install cinder sucessfully with NFS driver and i see a new mountpoint like this 200G   44M  200G   1% /var/lib/cinder/instances/e472b7e691faa518e075b47af8028395
[root@controller01-opslab ~]# cinder list
|                  ID                  |   Status  | Display Name | Size | Volume Type | Bootable | Attached to |
| 06d86c5e-ce78-4fce-b028-8488f50cecf6 | available |   volume01   |  1   |     None    |   true   |             |
[root@controller01-opslab ~]# ls -lh /var/lib/cinder/instances/e472b7e691faa518e075b47af8028395/
total 18M
-rw-rw-rw- 1 root root 1.0G Apr 21 16:00 volume-06d86c5e-ce78-4fce-b028-8488f50cecf6

But when i add my first compute node, i expect view the same mountpoint like controller but i don't.

This is the correct behavior...?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-22 10:31:42 -0600

SamYaple gravatar image

updated 2014-04-22 10:35:12 -0600

The NFS mount point and volume will be located at /var/lib/nova/mnt/${RANDOM_ID}/${CINDER_GUID} on the compute node by default. I am unsure if this mountpoint is configurable. A quick grep through the config file would seem to indicate it is not configurable on the compute node, or more acurately, the nova service.

As far as the "${RANDOM_ID}" goes, I am unsure how that is generated. It is specific to that NFS share. If you have mutlple shares, you will see multiple "${RANDOM_ID}" in the folder.

I should point out that the share will not be mounted on the compute node at all until you use a volume on that share on an instance running on that compute node.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-04-21 14:04:30 -0600

Seen: 828 times

Last updated: Apr 22 '14