Ebenze’s Weblog

Just another WordPress.com weblog

Archive for the ‘LINUX’ Category

How to mount Network Drive

Posted by ebenze on August 5, 2008

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

Posted in LINUX | Leave a Comment »