NAME

auristorfs_linux_exportnfs - Exporting /afs over NFS on Linux

CONTENTS

DESCRIPTION

The Linux AuriStorFS client supports exporting the contents of /afs or subdirectories over NFS. NFS protocol versions 4, 3 or 2 can be used.

The instructions below are based on Fedora or Red Hat Enterprise Linux (RHEL) distributions. They may need to be adapted for other distributions.

CONFIGURATION

Any host with the auristor-client package can be configured to export over NFS, as follows:

MOUNTING

NFS clients can mount the target path using the mount command:

    % mount -t nfs gateway-host:/afs/your-cell-name.com /mnt

Optionally, a specific NFS version can be requested with the nfsvers mount option. For instance, this will request the use of NFS V3:

    % mount -t nfs -o nfsvers=3 gateway-host:/afs/your-cell-name.com /mnt

By default the mount will use the highest version supported by both the client and server. This will typically be V4 for recent distributions.

NFS v2

The use of NFS V2 is discouraged, but it may be necessary if there is a need to export to legacy clients that do not support newer protocol versions of NFS.

As shipped, the NFS server packages in Fedora and RHEL will not respond to V2 requests. This can be enabled by passing the -V 2 option to the nfs server process, adding this line to /etc/sysconfig/nfs:

    RPCNFSDARGS="-V 2"

Note that Fedora and RHEL do not include NFS V2 modules with their kernels. An attempt to mount with -o nfsvers=2 will fail with an indication that the protocol is not supported, even if the server supports V2.

LIMITATIONS AND ISSUES

There are some limitations and other issues that should be kept in mind when using this feature.

SEE ALSO

afsd(8), fs_wscell(1)

COPYRIGHT

Copyright AuriStor, Inc. 2014-2021. https://www.auristor.com/ All Rights Reserved.

ACKNOWLEDGEMENTS

"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)

"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)

The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).

"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).

"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.