Simple on linux rhel 5
1. mount -t cifs -o username=….. , password=….. //Ip-address/sharefolder mountpoint/
Simple on linux rh9
1.mount.smbfs //hostname/Share folder mountpoint/ -o username=….. ,password=…… ,dmask=777,fmask=644,rw
export a directory with NFS
- vi /etc/exports
- add directory to —> /directory *(rw,sync)
- /etc/init.d/nfs restart
NFS client configuration
- # mkdir /mnt/nfs
# mount -t nfs4 nfsserver-name-or-ip:/data2 /mnt/nfs