You are not logged in.
I am attempting to mount my NAS on my Arch machine and receiving the below error:
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
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:
smbclient -U <user> -L 192.168.0.14
returns the below:
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:
/volume1/NetBackup/Share
Any ideas on what to do next to troubleshoot?
Last edited by ArchArching (2019-07-06 17:37:27)
Offline
OK I spotted a syntax error, I get little further on using the below:
sudo mount -t cifs -o user=<user> //192.168.0.14/volume1/NetBackup /mnt/NAS
On entering the NAS password I see the below:
mount error: cifs filesystem not supported by the system
mount error(19): No such device
The commmand
zgrep -i cifs /proc/config.gz
returns:
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
modprobe cifs
returns:
modprobe: FATAL: Module cifs not found in directory /lib/modules/5.1.11-arch1-1-ARCH
and command
insmod cifs
returns:
insmod: ERROR: could not load module cifs: No such file or directory
Offline
Paste the output of `uname -a`. If the kernel version is different to `pacman -Q linux` you have either not rebooted after an upgrade, or your /boot was not mounted for the kernel upgrade and you will need to fix that.
Offline
Paste the output of `uname -a`. If the kernel version is different to `pacman -Q linux` you have either not rebooted after an upgrade, or your /boot was not mounted for the kernel upgrade
Output of uname-a is certainly different `pacman -Q linux`, so different I am left wondering if I am understanding you correctly?
Linux arch 5.1.15-arch1-1-ARCH #1 SMP PREEMPT Tue Jun 25 04:49:39 UTC 2019 x86_64 GNU/Linux
and you will need to fix that.
How do I fix it? I would be surprised if my boot partition was not mounted.
Offline
Paste the output of `uname -a`. If the kernel version is different to `pacman -Q linux` you have either not rebooted after an upgrade, or your /boot was not mounted for the kernel upgrade and you will need to fix that.
Ah, I see what you mean now. Both commands return linux 5.1.15.arch1-1.
pacman -Q linux = linux 5.1.15.arch1-1
uname -a = Linux arch 5.1.15-arch1-1-ARCH #1 SMP PREEMPT Tue Jun 25 04:49:39 UTC 2019 x86_64 GNU/Linux
Last edited by ArchArching (2019-06-29 09:15:22)
Offline
And do you still have the "modprobe: FATAL: Module cifs not found in directory /lib/modules/5.1.11-arch1-1-ARCH" issue?
Offline
And do you still have the "modprobe: FATAL: Module cifs not found in directory /lib/modules/5.1.11-arch1-1-ARCH" issue?
No I don't, but on entering sudo mount -t cifs -o user=<user> //192.168.0.14/volume1/NetBackup /mnt/NAS I am again seeing
mount error(2): No such file or directory
Offline
"volume1" does not seem to be part of the share name, does it?
Offline
"volume1" does not seem to be part of the share name, does it?
Probably not but:
sudo mount -t cifs -o user=<user> //192.168.0.14/NetBackup /mnt/NAS
gives the same "mount error(2): No such file or directory" error.
Something I just noticed which is a little odd, after entering the cifs command I am prompted for the password to the NAS, and whether I input the correct password or garbage it comes back with same error message.
Last edited by ArchArching (2019-07-04 20:04:41)
Offline
What if you pass the password w/ the options?
Also try "vers=1.0" - what is the "NAS" exactly?
Offline
What if you pass the password w/ the options?
Also try "vers=1.0" - what is the "NAS" exactly?
"vers=1.0" did it. Do you know why?
Thank you so much for the help!
NAS = network attached storage.
Offline
I know what "NAS" means, I meant what vendor/product.
SMBv1 is highly insecure (wannacry situation) and thus no longer the default, but it seems some consumer boxes (synology) only support that version, https://wiki.archlinux.org/index.php/Sa … st_is_down
Offline
I know what "NAS" means, I meant what vendor/product.
SMBv1 is highly insecure (wannacry situation) and thus no longer the default, but it seems some consumer boxes (synology) only support that version, https://wiki.archlinux.org/index.php/Sa … st_is_down
Ah I see, it is indeed a Synology. Thanks again.
Offline