Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix export commands, add gdata5

...

Once the exports are in place, mounting the exported filesystem can be done using a command like the following:

code
Panel
titlegdata mount example

#

mount

-t

nfs

gdata4.cloud.nci.org.au:/mnt/

fu2

gdata4/ab12 /mnt/

fu2

ab12

Here the project is fu2ab12, and the export is from the the gdata4 filesystem. The general form is:

code
Panel
titlegdata mount command form

#

mount

-t

nfs

<gdata-filesystem>.cloud.nci.org.au:/mnt/<gdata-filesystem>/<project>/<optional-subdirectory>

<local-mountpoint>

In order to configure an instance so that the NFS exports are mounted automatically you can add a line for each mount to the /etc/fstab file:

code
Panel
titlefstab entry form

<gdata-filesystem>.cloud.nci.org.au:/mnt/<gdata-filesystem>/<project>/<optional-subdir>

  <local-mountpoint>

defaults 0 0

  nfs  defaults

Note:  mount options can also be specified, both on the command line and in the fstab  entry, however they are generally unnecessary - the NFS client and server will negotiate options during the mount process, and generally the result will be the optimal set of options. Tuning mount options is possible, but without some care this can lead to performance degradation.

...

Note: Unless specifically instructed only the round-robin name should be used for mounting an NFS export.