1. NFS recommend for UNIX/Linux OS
2. CIFS recommend for Window OS
ping 10.100.00.27.1411. Check the Library of NFS and CIFS by searching the file /sbin/mount.<type> using command
ls /sbin/mount.*If library not found, you can download from server via yum or apt-get command
- For Red-Hat / Fedora
sudo yum install nfs.utilssudo yum install cifs.utils- For Debian/Ubuntu
sudo apt-get install nfs-common2. Create Mount Point
Make directory for mount using command like this sudo mkdir /mnt/<insertfoldername> i.e.
sudo mkdir /mnt/usb11. Set up directory for mount
sudo mkdir /mnt/<insertfoldername>2. Mount device use NFS type
sudo mount -t nfs <IP Address>:/<DriveVolumeName>/<NameofShare> /mnt/<FolderyouCreated> -o user=adminWhat are them ?
-t : type of mounting
nfs : sharing mount
<IP Address>:/ : IP address of external drive
<DriveVolumeName>/ : Name of volume drive
<NameofShare> : Name of drive during sharing
1. Mount device use CIFS type
sudo mount -t cifs <IP Address>:/<DriveVolumeName>/<NameofShare> /mnt/<FolderyouCreated> -o user=admin(read more about NAS)
sudo mount -t nfs 10.100.27.80:/datavolume/public /mnt/usb -o user=nuttNo permission
sudo mount -t cifs -o noperm //<IP Address>/<NameofShare> /mnt/<FolderyouCreated>Mount with options: make username & password
sudo mount -t cifs //Hostname/Username -o username=username,password=password,rw,nounix,iocharset=utf8,file_mode=0644,dir_mode=0755 /mntor
sudo mount -t cifs //10.100.27.80/Volume_1/ /media/usb/ -o user=nuttor
sudo mount -t cifs //10.100.27.80/Volume_1/ /media/usb/ -o credentials=/root/.cifs.txtwhere .cifs.txt file contains user & passwd, e.g.,
username=USERpassword=PASSWORDAppend the following command into the end of /etc/fstab file (root or sudo needed), for example,
10.100.27.80:/Volume_1/ /media/usb/ nfs defaults,nofail 0 0Save and exit. Then mount using command
sudo mount /media/usb
syntax: sudo umount MountPoint. For example,
sudo umount /media/usb/Rangsiman Ketkaew