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.
I've installed a NAS drive on our network and would like to be able to copy some files to it from our RedHat Linux server. How do I connect to this drive from Linux?
From Windows I would map a drive to \\NAS1\shared documents
He's talking about a NAS (network attached storage). Even *if*
it was supporting ssh/scp it isn't quite the right way of dealing
with such a device. Now if he used a DE that supports sshfs,
maybe, but I wouldn't take that for granted.
I'm not sure what filesystem my NAS is using. It might very well be Linux.
If I use
mount -t cifs //ip address of device/share /mnt/yourmountpoint -o guest
What is /mnt/yourmountpoint? Remember I'm a newbie.
Is this like what directory I want it to be known as?
I know when I mount it in windows it asks for a username and password. I assume I would want to use
mount -t cifs user=admin password=pass //xxx.xxx.xxx.xxx/share /???????? -o guest
I'm not having much luck. I did find something in the documentation for the NAS. Perhaps someone can tell me what it means.
LaCie Ethernet Big Disk
User Manual
Accessing the Share
4.4. Linux Users
Under KDE, open konqueror and type in the IP address
of the LaCie Ethernet Big Disk into the address field:
For FTP access – ftp:// [IP address]
For HTTP access – http:// [IP address]
For SMB/CIFS access (in order for this to method to work, the services need to be properly configured) – smb:// [IP address].
KDE and konqueror it seems have to do with GUI interfaces and browsers. I don't have either on this Linux server. So I guess I'll look some more into the correct mount command and hope I can find the correct parameters to get that to work.
Yes, I read man mount.cifs. It wasn't much help. It reads "No manual entry for mount.cifs"
I've looked at a lot of help an man stuff including man mount and smbmount. There is a lot of stuff and much I don't understand. If you know what I'm doing wrong please help a brother out and let me know.
The NAS is a LaCie Ethernet Big Disk. It is 2Tb. I'm sure there is more than one drive in that enclosure maybe 2 or 3 but because of the warranty label I haven't been able to open it and see what's in there.
Yes, I read man mount.cifs. It wasn't much help. It reads "No manual entry for mount.cifs" ;)
That's just sad ... in that case: you could try using
smbfs instead of cifs. Or does the invocation
mount -t cifs //xxx.xxx.xxx.xxx/share /???????? -o guest,user=admin,password=pass
work as such?
As for the /?????? it's as I said: You need to create a mount-point,
commonly under /mnt ... a mount-point is just a directory where the
remote files will show locally.
e.g. mkdir /mnt/nas
and then
mount -t cifs //xxx.xxx.xxx.xxx/share /mnt/nas -o user=admin,password=pass
If DeadRat complains about -t cifs try -t smbfs
Quote:
Originally Posted by cj4331
I've looked at a lot of help an man stuff including man mount and smbmount. There is a lot of stuff and much I don't understand. If you know what I'm doing wrong please help a brother out and let me know.
The NAS is a LaCie Ethernet Big Disk. It is 2Tb. I'm sure there is more than one drive in that enclosure maybe 2 or 3 but because of the warranty label I haven't been able to open it and see what's in there.
Make and model of the device don't really matter if you
have it's IP and the credentials right.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.