Configuring Cinder with the Network File System (NFS) backend driver

Cinder can use network file system (NFS) shares as a storage backend driver using an NFS driver implementation. A Cinder-volume service takes care of mounting the NFS shares and creates volumes on the shares. The NFS driver works differently than other Cinder block storage drivers. The NFS driver does not allow an instance to access a storage block device, instead files are created on an NFS share and mapped to instances, which emulates a block device.

Getting ready

Cinder-volume utilizes the NFS client utilities. Make sure that the nfs-utils packages are installed on the hosts running cinder-volume and nova-compute:

[root@controller ~]# yum install nfs-utils nfs-utils-lib
[root@compute1 ...

Get Production Ready OpenStack - Recipes for Successful Environments now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.