Skip to content

How do I mount access to shared NAS in Linux?

1. Run the following command to bring up the interface associated with the NAS share (Replace the * with the associated interface number)

  • ifup eth*

2. Make a NAS directory by issuing the following command:

  • mkdir /nas

3. Run the following command. This will install a service that helps to communicate with Windows-based filesystems:

  • yum install samba-client

4. Run the following command and enter the appropriate details to have the NAS mount on boot: 

  • nano /etc/fstab

Please see the image below as an example for what information to put in this file:

Make sure the format is the same as above and replace the 'nas-share' 'nas-username' and 'nas-password' is changed to the clients NAS account details.

 

5. You should now be able to run the following command to mount the clients NAS share:

  • mount /nas

 

Please note:

if you have already run the command: 

mount -t cifs -o username=nas-username,password=nas-password //10.0.5./nas-share /your-mount-point* 

← Back to Support