1,samb共享
[root@webserver mnt]# mount -t smbfs hailong://172.16.35.144/hailong /mnt/test
Usage: mount.smbfs service mountpoint [-o options,...]
Version 3.0.10-1.4E.6
Options:
username=<arg> SMB username
password=<arg> SMB password
credentials=<filename> file with username/password
krb use kerberos (active directory)
netbiosname=<arg> source NetBIOS name
uid=<arg> mount uid or username
gid=<arg> mount gid or groupname
port=<arg> remote SMB port number
fmask=<arg> file umask
dmask=<arg> directory umask
debug=<arg> debug level
ip=<arg> destination host or IP address
workgroup=<arg> workgroup on destination
sockopt=<arg> TCP socket options
scope=<arg> NetBIOS scope
iocharset=<arg> Linux charset (iso8859-1, utf8)
codepage=<arg> server codepage (cp850)
unicode use unicode when communicating with server
lfs large file system support
ttl=<arg> dircache time to live
guest don't prompt for a password
ro mount read-only
rw mount read-write
This command is designed to be run from within /bin/mount by giving
the option '-t smbfs'. For example:
mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test
[root@webserver mnt]# mount -t smbfs -o username=hailong,password=hailong //172.16.35.144/hailong /mnt/test
2,nfs共享
nfs:
mount -t nfs server_ip:/shared_dir /mnt/mount_point