Mount NAS on a server

Associate
Joined
30 Oct 2004
Posts
102
Hi,
I have space on a NAS for backing up my remote server (Centos 4.6). Any idea what I call it at shell, to mount it?

-t ???

Thanks
 
You should be ok doing it over the SMB protocol

mount //<IP/Share directory> /<mount point> -t cifs (comes with samba package i believe, has superceeded smbfs) then your options like username/pass etc.

I would imagine you'll have to forward all of the ports that SMB uses (there's 2 iirc, and a 3rd for netbios if you're using it) at the end with the NAS
 
Your way looks promosing, but it's giving a "mount error 110 = Connection timed out". I guess I need to figure out the port forwarding buisness next.

Thanks
 
I think CIFS and Samba use ports 137,138,139 and 445 (the first 3 are netbios, not sure if you'll need them).

I just had a thought though, is the NAS on the same LAN? you shouldn't need any port forwarding at all. If that's the case make sure your IP is correct.
 
It is on the same LAN, the problem was the second NIC wasn't working and the NAS was on this connection. The hosting firm sorted it all out for me, it took them 30 minutes or so. Goodness knows how long it would have took me.

But thanks for the pointers, it helped.
 
Back
Top Bottom