mount.fuse.ceph – mount ceph-fuse from /etc/fstab.

Synopsis

mount.fuse.ceph [-h] [-o OPTIONS [OPTIONS …]]device [device …]mountpoint [mountpoint …]

Description

mount.fuse.ceph is a helper for mounting ceph-fuse from/etc/fstab.

To use mount.fuse.ceph, add an entry in /etc/fstab like:

  1. DEVICE PATH TYPE OPTIONS
  2. none /mnt/ceph fuse.ceph ceph.id=admin,_netdev,defaults 0 0
  3. none /mnt/ceph fuse.ceph ceph.name=client.admin,_netdev,defaults 0 0
  4. none /mnt/ceph fuse.ceph ceph.id=myuser,ceph.conf=/etc/ceph/foo.conf,_netdev,defaults 0 0

ceph-fuse options are specified in the OPTIONS column and must beginwith ‘ceph.’ prefix. This way ceph related fs options will be passed toceph-fuse and others will be ignored by ceph-fuse.

Options

  • ceph.id=<username>
  • Specify that the ceph-fuse will authenticate as the given user.
  • ceph.name=client.admin
  • Specify that the ceph-fuse will authenticate as client.admin
  • ceph.conf=/etc/ceph/foo.conf
  • Sets ‘conf’ option to /etc/ceph/foo.conf via ceph-fuse command line.

Any valid ceph-fuse options can be passed this way.

Additional Info

The old format /etc/fstab entries are also supported:

  1. DEVICE PATH TYPE OPTIONS
  2. id=admin /mnt/ceph fuse.ceph defaults 0 0
  3. id=myuser,conf=/etc/ceph/foo.conf /mnt/ceph fuse.ceph defaults 0 0

Availability

mount.fuse.ceph is part of Ceph, a massively scalable, open-source, distributed storage system. Pleaserefer to the Ceph documentation at http://ceph.com/docs for moreinformation.

See also

ceph-fuse(8),ceph(8)