NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Tennessee_Slim
Aug 29, 2011Aspirant
How to map to NAS share from Linux by CLI?
I've searched the forum and found others having problems mapping ReadyNAS shares to a *NIX box but none of that helped me find a solution. I have two NVs, one is a plus, both are on RAIDiator 4.1.7...
CharlesLaCour
Sep 05, 2011Aspirant
I am not sure what you mean by a temporary mount. If you want the mount to be automatically done on boot why can it not be in the /etc/fstab? I know that you say that it has to be temporary but what do you mean by temporary, normally if a mount is going to be done every time you boot the best place for it is in the fstab. If you only need the mounts for a while just remove it from the fstab once you don't need them anymore.
To mount a CIFS share from the Command Line interface you use "mount -t cifs".
Here is an excerpt from the page that "arjoseph" posted a link to:
# mount -t cifs //server-name/share-name /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
# mount -t cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
# mount.cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
I have tried all three of these from an Ubuntu 11.04 system and they work using sudo. These should work for you. You should remove the domain portion since your NAS is not part of a domain.
I sounds to me like you are either not supplying the correct user name and password or using a user that doesn't have access to the share. The user "root" is not in CIFS you would have to use "admin".
To mount a CIFS share from the Command Line interface you use "mount -t cifs".
Here is an excerpt from the page that "arjoseph" posted a link to:
# mount -t cifs //server-name/share-name /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
# mount -t cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
# mount.cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
I have tried all three of these from an Ubuntu 11.04 system and they work using sudo. These should work for you. You should remove the domain portion since your NAS is not part of a domain.
I sounds to me like you are either not supplying the correct user name and password or using a user that doesn't have access to the share. The user "root" is not in CIFS you would have to use "admin".
Related Content
- Aug 23, 2020Retired_Member
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!