DSTN Merged - CSI ZC447 ES ZC447IS ZC447SS ZC447 CH 9, 10, 11
DSTN Merged - CSI ZC447 ES ZC447IS ZC447SS ZC447 CH 9, 10, 11
presentation
BITS Pilani Sourish Banerjee
WILP
Pilani Campus
BITS Pilani
Pilani Campus
CSIZC446/ESZC446/ISZC446/SSZC446)
CS 05
Books
• Client/server application
• Uses RPC mechanisms over TCP protocol
• Mount points grant access to remote hierarchical file
structures for local file system structures
• Access to the mount can be controlled by permissions
SERVER CLIENT
systemctl enable nfs-server.service mkdir -p /mnt/nfs/home
systemctl start nfs-server.service mkdir -p /mnt/nfs/var/nfs
edit "/etc/exports"
/var/nfs <IP>(rw,sync,no_subtree_check)
exportfs -a
• Allows a client to manipulate files just as if they were on the local computer.
Operations such as read, write, create, delete, and rename are all supported
• the only difference being that the files are not on the local computer and are
actually on a remote server.
• Each packet is typically a basic request of some kind, such as open file, close file,
or read file.
• Server receives the packet, checks to see if the request is legal, verifies the client
has the appropriate file permissions, and finally executes the request and returns
a response packet to the client.
• The client then parses the response packet and can determine whether or not the
initial request was successful.
BITS Pilani, Pilani Campus
Common Internet File System
• In the OSI model, CIFS is a fairly
high-level network protocol,
probably best described at the
Application/Presentation layer.
• This means CIFS relies on other protocols for transport. The most common
protocol used for reliable transport is NetBIOS over TCP (NBT).
• Other protocols have been used for the transport layer, however with the
enormous popularity of the Internet, NBT has become the de-facto standard.
• Although file sharing is CIFS’s primary purpose, there are other functions that
CIFS is commonly associated with.
• Windows For Workgroups was the first Microsoft operating system to use CIFS,
and each Microsoft operating system since then has been able to function as both
a CIFS server and client.
• Microsoft operating systems use CIFS for remote file operations (typically
mapping network drives), browsing (via the Network Neighborhood icon),
authentication (NT and Windows 2000), and remote printer services.
• It would be fair to say the core of native Microsoft networking is built around its
CIFS services.
• Apple computers also have CIFS clients and servers available, which might make
CIFS the most common protocol for file sharing available.
** # chcon -t samba_share_t
/srv/samba/secure
https://www.tecmint.com/install-samba4-on-centos-7-for-file-sharing-on-windows/
BITS Pilani, Pilani Campus