Help - Search - Members - Calendar
Full Version: Do Mapping In Ubuntu
Linuxhelp > Support > Technical Support
CFHo
Hi,
I now using Ubuntu Linux, and i wanna map a drive from my server to my Ubuntu. So how can i do this? Pls advice.

Thanks!
Termina
Is this a linux server, or windows server?

If it's a windows server, you can use smbmount (man smbmount)

If it's a linux server, you'll have to use samba or NFS.

More information would be helpful.
Corey
Yeah, more information is definitly needed, here is a quick and dirty example:

NFS (network filesystem) mounting:

mount -t nfs serverip:/path/to/share /mnt/path/to/local/mount

For example, to mount the directory "/var/share" on my nfs server to "/mnt/share" on my client computer, i would do:

mount -t nfs 192.168.1.2:/var/share /mnt/share


Samba (SMB) mounting:

mount -t smbfs //server/sharename /mnt/path/to/local/mount -o username='username',password='password'

For excample, to mount the windows share "Share" on the server "WIN2K" to /mnt/share on my client, i would do:

mount -t smbfs //WIN2K/Share /mnt/share -o username='user',password='mypassword'

The passwords would be what your Win server has allowed access to the share for.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.