[SOLVED] Mount Point Does Not Exist ~ Trying to Mount a NAS
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mount Point Does Not Exist ~ Trying to Mount a NAS
Hi all. I've been a part time user for over a decade now but so far have managed. Now I'm not.
Ubunto 20 and I've checked the folder permissions and set it for network access. The question is pretty basic I think, but obviously I'm missing "something"?
mount –t 192.168.1.31:/volume1/MyNAS/mnt/Shared generates the error as does
mount –t 192.168.1.31:/volume1/MyNAS/mnt/home/ron/shared
Hi all. I've been a part time user for over a decade now but so far have managed. Now I'm not.
Ubunto 20 and I've checked the folder permissions and set it for network access. The question is pretty basic I think, but obviously I'm missing "something"?
mount –t 192.168.1.31:/volume1/MyNAS/mnt/Shared generates the error as does
mount –t 192.168.1.31:/volume1/MyNAS/mnt/home/ron/shared
What am I missing?
TIA
Ron
first you must have the exported directory in /etc/exports properly formatted to specify who can mount it on the NFS server and restart nfsd.
You also have to have the firewall on both ends allow connections to nfs.
Then you need to mount using the correctly formatted command and attaching to an existing mount point.
Assuming that /home/ron/shared is the mount point, that it exists, and the exported directory is /volume1/MyNAS then the command would be
Code:
sudo mount -t nfs 192.168.1.31:/volume1/MyNAS /home/ron/shared
Last edited by computersavvy; 11-17-2020 at 08:04 PM.
you are not passing the arguments that mount expects. You need to specify the fstype (I'm guessing nfs, but could be cifs), the device, and then the location to mount it.
Eg something like
Code:
mount -t nfs 192.168.1.31:/volume1 /mnt
We can probably help more if you give us some information about your nas.
Thanks! And yes, a commercial off the shelf set up for now, one of the NAS distributions in the future. Progress, system now reports "access denied by server while mounting 192.168.1.31:/volume1" So I need to get back into the Asustor app. Stupid Win 10, SMB1 is the only one installed while they say "DON'T use it!" But the later versions aren't installed. So can't connect as a network drive. At least with Linux you can find what ever you need! And kind people who understand it.
Thanks much, I'll report back that it's working or what I'm stuck on.
Thanks! And yes, a commercial off the shelf set up for now, one of the NAS distributions in the future. Progress, system now reports "access denied by server while mounting 192.168.1.31:/volume1" So I need to get back into the Asustor app. Stupid Win 10, SMB1 is the only one installed while they say "DON'T use it!" But the later versions aren't installed. So can't connect as a network drive. At least with Linux you can find what ever you need! And kind people who understand it.
Thanks much, I'll report back that it's working or what I'm stuck on.
Ron
Well, that bit of information says you should be using samba instead of nfs. You will need to verify that cifs-utils is installed.
The mount command would be different as to filesystem type and syntax. See this for further info on mounting cifs shares and here for mounting smbfs shares. Note that cifs is the currently supported type and should mount without anything other than changing the -t option and the source path.
If needed read up on the config for samba in "man samba" and the additional pages it leads to, with a large group of commands and configuration options to set samba server up properly. The client should have nothing needed except the package above.
Post the model number. I just browsed their website and the one home model I looked at supports smb versions 2 and 3 plus nfs. As you posted verify the share name and make sure it is a nfs versus share versus smb.
Go figure, it works if you read and type the code properly. Or do a better job of copy/paste.
Quote:
. . . supports smb versions 2 and 3 plus nfs. As you posted verify the share name and make sure it is a nfs versus share versus smb.
Looks like their software has lots of features.
Fixed that too. My comment on Windows is because SMB1 is dead, "but" it's the only SMB listed in my Win10 features. So problem with no solution. Typical crappy QC. And in the mean time . . . I purchased the AS4002T because the features looked pretty good for my honesty simple needs. They also have an extensive library of help, but I wish I could read more of it than have to sit through a video. 40 seconds of blah, blah, blah . . . Hopefully I can get now keep this KISS and present my GF all of her CD's loaded for Christmas.
Thanks again! 11 years and no questions that weren't already answered, and great help when I needed it.
Ron
Last edited by Shiseiji1958; 11-18-2020 at 03:58 PM.
Reason: Added requested information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.