NEXItaliano

NEXFS › Manual pages › nexfs-client(8)

NEXFS-CLIENT(8) NEXFS Administration NEXFS-CLIENT(8)

nexfs-client - mounts the NEXFS filesystem (FUSE client)

nexfs-client [-c FILE] [-s NAME] [-o OPTIONS] MOUNTPOINT
mount.nexfs SOURCE MOUNTPOINT [-o OPTIONS]
nexfs-client --version

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.

the configuration (default /etc/nexfs/nexfs.json): the meta nodes to contact and the certificates are all it needs.
the source name shown in /proc/mounts (default nexfs).
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).

With systemd, one unit per directory; the instance is the path as written by systemd-escape --path:

systemctl enable --now nexfs-client@nex.service

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):

nexfs /nex nexfs _netdev,noatime 0 0

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.

unmounts and exits; the latest changes are sent first (within a time limit).
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.

group (default) or full: the metadata durability under the directory.
the recursive counts, read only.
the directory quotas (0: no limit).

nexfsd(8), nexfsctl(8), getfattr(1), setfattr(1); the NEXFS guide "The client".

Roberto Arato, Arato Ingegneria — https://aratoingegneria.it

November 2026 nexfs 1.0.0~beta4