Re-exporting NFS

From Ceph wiki

Jump to: navigation, search

The kernel client can re-export a ceph mount via NFS. The only real caveat here is that you need to manually specify an fsid when exporting the file system. (note: using fsid has benefits if the nfs server is run in a HA scenario and might failover, otherwise the mounts might go stale - so this is a GOOD thing)

$ mount -t ceph 1.2.3.4:/ /mnt/ceph
$ exportfs client:/mnt/ceph -o fsid=1234,rw,no_squash_root

That's about it. You'll probably need to remove the export before you can unmount, e.g.

$ exportfs -u client:/mnt/ceph
$ umount /mnt/ceph
Personal tools