| NEXFS-CLIENT(8) | NEXFS Administration | NEXFS-CLIENT(8) |
NAME
nexfs-client - mounts the NEXFS filesystem (FUSE client)
SYNOPSIS
nexfs-client [-c FILE] [-s
NAME] [-o OPTIONS] MOUNTPOINT
mount.nexfs SOURCE MOUNTPOINT [-o OPTIONS]
nexfs-client --version
DESCRIPTION
Mounts NEXFS on MOUNTPOINT and serves it by talking to the kernel directly through /dev/fuse, with no intermediate libraries. It stays in the foreground as long as the filesystem is mounted: it is usually started by a systemd unit. It must be run as root.
Programs see a POSIX filesystem: permissions and ACLs, links, flock, POSIX and OFD locks valid across all nodes, O_APPEND from several nodes, mmap, extended attributes, quotas, and snapshots in the hidden .snap directory of every directory.
OPTIONS
- -c FILE
- the configuration (default /etc/nexfs/nexfs.json): the meta nodes to contact and the certificates are all it needs.
- -s NAME
- the source name shown in /proc/mounts (default nexfs).
- -o OPTIONS
- comma separated: noatime (default), relatime, strictatime, nodiratime, ro, rw, nodev, nosuid (and dev, suid). With mount.nexfs, also config=FILE (the configuration) and remount (for example mount -o remount,ro /nex).
- noatime is the default because it gives the best performance: the last access time of a file is never updated, so reading a file never turns into a change on the metadata nodes. Use relatime or strictatime only for programs that need the access time (a few mail readers and backup tools).
AUTOMATIC MOUNTING
With systemd, one unit per directory; the instance is the path as written by systemd-escape --path:
mounts /nex at boot, before remote-fs.target; the unit is ready when the filesystem is actually serving, and systemctl reload restarts the client without unmounting (package upgrades do this too). The options go in /etc/nexfs/client-INSTANCE.env (or, for all directories, in /etc/nexfs/client.env), for example NEXFS_CLIENT_ARGS="-c /etc/nexfs/altro.json -o noatime".
With /etc/fstab, the type is nexfs (or fuse.nexfs):
mount(8) calls mount.nexfs (a link to nexfs-client), which detaches and returns once the mount is serving; from then on its messages go to syslog (or to the journal, if systemd mounts it). The source is a name of your choice, or the configuration file.
SIGNALS
- SIGTERM, SIGINT
- unmounts and exits; the latest changes are sent first (within a time limit).
- SIGHUP
- restarts itself with the program currently on disk (the new one, after an upgrade) without unmounting: open files stay open, locks stay held, and the session is handed over to the new process. With systemd: systemctl reload.
DIRECTORY ATTRIBUTES
- nexfs.dir.durability
- group (default) or full: the metadata durability under the directory.
- nexfs.dir.rbytes, nexfs.dir.rfiles, nexfs.dir.rsubdirs, nexfs.dir.rentries
- the recursive counts, read only.
- nexfs.quota.max_bytes, nexfs.quota.max_files
- the directory quotas (0: no limit).
SEE ALSO
nexfsd(8), nexfsctl(8), getfattr(1), setfattr(1); the NEXFS guide "The client".
AUTHOR
Roberto Arato, Arato Ingegneria — https://aratoingegneria.it
| November 2026 | nexfs 1.0.0~beta4 |