How to check the etc/fstab config file on Linux


Following the recent IT announcement on  , CSCS are going to be updating the NFS settings on one of our storage platforms. This guide will show you how to check the settings in your Linux system's etc/fstab config file, to confirm that your system is ready for the change.


  1. Open or enter a Linux command line console session (this can be done locally or via SSH)
  2. To check the etc/fstab config file you can use the "cat" command or the editor of your choice to show the current configuration, as shown here:

    cscs@me-linux:~$ cat /etc/fstab# <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda1 during installation
    UUID=d77e72d0-24c8-425b-8727-89156145b4b9 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=480d2143-ac26-439d-b1f7-2cfbce5336a2 none swap sw 0 0 /home/MINTS nfs _netdev,nfsvers=3,defaults 0 0
  3. If your config file DOES NOT include any volumes from or no changes are needed. You can stop here.
  4. If the etc/fstab file DOES include or , check if the setting "nfsvers=3" is present.
  5. If the setting "nfsvers=3" is there (as shown in the configuration above), then no further action is required. You can stop here.
  6. If the setting "nfsvers=3" is not there, then please edit the file and add the "nfsvers=3" option. This can done using a text editor of your choice.

What to do next

CSCS will be making the NFS file server change on   at 07:30 . If you have checked your system using the above guide then this change should not cause any adverse affects to you. If there are any problems or concerns however, please contact the Service Desk for assistance via the IT Self Service Portal .