LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-28-2019, 01:35 PM   #1
RLinux1
LQ Newbie
 
Registered: May 2019
Posts: 3

Rep: Reputation: Disabled
Challenges mounting my NAS


I am attempting to mount my NAS on my Arch machine and receiving the below error:

Code:
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Not seeing anything in man which helps.

Below is command I am using

PHP Code:
sudo mount -t cifs -o user=<user//192.168.0.14/volume1/NetBackup/Share /mnt/NAS 
I can ping the IP of the NAS. The below command:

Code:
smbclient -U <user> -L 192.168.0.14
returns the below:

Code:
    Sharename       Type      Comment
    ---------       ----      -------
    NetBackup       Disk      System default shared folder
    photo           Disk      System default shared folder
    surveillance    Disk      System default shared folder
    video           Disk      System default shared folder
    IPC$            IPC       IPC Service ()

Reconnecting with SMB1 for workgroup listing.

    Server               Comment
    ---------            -------

    Workgroup            Master
    ---------
Right clicking the directory on the NAS displays the path as being:

Code:
/volume1/NetBackup/Share
Any ideas on what to do next to troubleshoot?
 
Old 06-28-2019, 01:46 PM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Make sure /mnt/NAS directory exists...

Your smbclient command shows NetBackup share, but you are trying to mount NetBackup/Share

Try:

Code:
sudo mount -t cifs -o user=<user> //192.168.0.14/volume1/NetBackup /mnt/NAS

Last edited by dc.901; 06-28-2019 at 01:47 PM.
 
Old 06-28-2019, 02:14 PM   #3
RLinux1
LQ Newbie
 
Registered: May 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
Make sure /mnt/NAS directory exists...

Your smbclient command shows NetBackup share, but you are trying to mount NetBackup/Share

Try:

Code:
sudo mount -t cifs -o user=<user> //192.168.0.14/volume1/NetBackup /mnt/NAS
Well spotted, on correcting that error I have progressed a little.

On entering the NAS password I see the below:

Code:
mount error: cifs filesystem not supported by the system
mount error(19): No such device
The commmand
Code:
zgrep -i cifs /proc/config.gz
returns

Code:
CONFIG_CIFS=m
# CONFIG_CIFS_STATS2 is not set
CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y
# CONFIG_CIFS_WEAK_PW_HASH is not set
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_CIFS_ACL=y
CONFIG_CIFS_DEBUG=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DEBUG_DUMP_KEYS is not set
CONFIG_CIFS_DFS_UPCALL=y
# CONFIG_CIFS_SMB_DIRECT is not set
CONFIG_CIFS_FSCACHE=y
The command
Code:
modprobe cifs
returns:

Code:
modprobe: FATAL: Module cifs not found in directory /lib/modules/5.1.11-arch1-1-ARCH
and command
Code:
insmod cifs
returns:

Code:
insmod: ERROR: could not load module cifs: No such file or directory

and
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nextcloud/NAS/Backup NAS oguruma Linux - Server 1 03-14-2017 06:23 PM
reliable centos nas server with raid or nas boxes which is better ? Gil@LQ Linux - Server 9 09-10-2015 05:13 AM
Help figuring out: NAS, FreeNas, Linux "NAS", or Linux server JohnLocke Linux - General 24 04-18-2015 10:16 AM
automatically backup folder on Free NAS computer to another Free NAS computer tom treadway Linux - Newbie 1 01-26-2011 07:28 PM
Buffalo NAS - how do we get files on NAS syncing with Windows Sync? bykerbob Linux - Newbie 0 10-21-2008 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration