Created By : Asst. Prof. Ashish Shah, J. M

Slides:



Advertisements
Similar presentations
Module 6: Configuring Windows XP Professional to Operate in a Microsoft Network.
Advertisements

CS-550: Distributed File Systems [SiS]1 Resource Management in Distributed Systems: Distributed File Systems.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture.
System and Network Security Practices COEN 351 E-Commerce Security.
6.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Lesson 11-Virtual Private Networks. Overview Define Virtual Private Networks (VPNs). Deploy User VPNs. Deploy Site VPNs. Understand standard VPN techniques.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
NFS. The Sun Network File System (NFS) An implementation and a specification of a software system for accessing remote files across LANs. The implementation.
1 DNS,NFS & RPC Rizwan Rehman, CCS, DU. Netprog: DNS and name lookups 2 Hostnames IP Addresses are great for computers –IP address includes information.
Installing and Maintaining ISA Server. Planning an ISA Server Deployment Understand the current network infrastructure Review company security policies.
NETWORK FILE SYSTEM (NFS) By Ameeta.Jakate. NFS NFS was introduced in 1985 as a means of providing transparent access to remote file systems. NFS Architecture.
Network File System (NFS) in AIX System COSC513 Operation Systems Instructor: Prof. Anvari Yuan Ma SID:
Network File System Joe Paulowskey Joe Paulowskey Susan Mulholland Joe Woulfe.
Joshua Caltagirone-Holzli
1 Network File System. 2 Network Services A Linux system starts some services at boot time and allow other services to be started up when necessary. These.
Remote Disk Access with NFS
File Systems (2). Readings r Silbershatz et al: 11.8.
1 Chapter Overview Creating User and Computer Objects Maintaining User Accounts Creating User Profiles.
Test Review. What is the main advantage to using shadow copies?
Web Based Applications
1 Network File Sharing. 2 Module - Network File Sharing ♦ Overview This module focuses on configuring Network File System (NFS) for servers and clients.
1 COP 4343 Unix System Administration Unit 15: file server – ftp – nfs.
SECURITY ZONES. Security Zones  A security zone is a logical grouping of resources, such as systems, networks, or processes, that are similar in the.
Page 1 of John Wong CTO Twin Peaks Software Inc. Mirror File System A Multiple Server File System.
10.1 Silberschatz, Galvin and Gagne ©2005 Operating System Principles 10.4 File System Mounting A file system must be mounted before it can be accessed.
1 Administering Shared Folders Understanding Shared Folders Planning Shared Folders Sharing Folders Combining Shared Folder Permissions and NTFS Permissions.
10 1 Chapter 10 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
NFS : Network File System SMU CSE8343 Prof. Khalil September 27, 2003 Group 1 Group members: Payal Patel, Malka Samata, Wael Faheem, Hazem Morsy, Poramate.
Chapter 10: Rights, User, and Group Administration.
1 Linux Networking and Security Chapter 5. 2 Configuring File Sharing Services Configure an FTP server for anonymous or regular users Set up NFS file.
Chapter 8 Configuring and Managing Shared Folder Security.
NFS Network File System. NFS (Network File System) Network file systems allow us to share files between users on different systems, often with different.
Chapter 8: Objectives Explain how to use a server in a home or office network Install a server Set up a server Manage and monitor a server Design a server-based.
1 Network Information System (NIS). 2 Module – Network Information System (NIS) ♦ Overview This module focuses on configuring and managing Network Information.
Free Powerpoint Templates Page 1 Free Powerpoint Templates Users and Documents.
Administering Groups Chapter Eight. Exam Objectives In this Chapter:  Plan a security group hierarchy based upon delegation requirements  Plan a security.
Linux Operations and Administration
Configuring, Managing and Maintaining Windows Server® 2008 Servers Course 6419A.

 Each interface card that was detected correctly will be listed under the Network Devices section. Ethernet devices in Linux are named eth0, eth1, eth2,
CHAP-1 INTRODUCTION TO LINUX 1 Created By: Asst. Prof. Ashish Shah, J.M.Patel College of Commerce.
Created by : Asst. Prof. Ashish Shah, J. M
Secure services Unit-IV CHAP-1
Chap-I Network and System Configuration in Linux
Lesson 4: Configuring File and Share Access
File System Implementation
Distributed File Systems
Introduction to Operating Systems
LINUX ADMINISTRATION
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
Securing the Network Perimeter with ISA 2004
Configuring and Troubleshooting Routing and Remote Access
File System Implementation
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
NFS.
Distributed File Systems
DISTRIBUTED FILE SYSTEMS
Distributed File Systems
Operating System Security
Outline Announcements Lab2 Distributed File Systems 1/17/2019 COP5611.
CSE 451: Operating Systems Spring Module 21 Distributed File Systems
Course Name : Network Operating System Course Code: CNET 332 These slides are only meant for course delivery. For all your Exams refer to your text book.
Distributed File Systems
Unit – 4 Chap - 2 Mail Delivery System
Chapter 15: File System Internals
Course Name : Network Operating System Course Code: CNET 332
Outline Review of Quiz #1 Distributed File Systems 4/20/2019 COP5611.
Distributed File Systems
Distributed File Systems
Network File System (NFS)
Presentation transcript:

Created By : Asst. Prof. Ashish Shah, J. M Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W CHAP-IV NFS Unit - II

services on Linux and Unix networks. Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS, the Network File System, is the most common method for providing file sharing services on Linux and Unix networks. It is a distributed file system that enables local access to remote disks and file systems.

NFS Architecture NFS uses a standard client/server architecture. Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS Architecture NFS uses a standard client/server architecture. The server portion consists of the physical disks containing shared file systems and several daemons that make the shared file systems (or entire disks, for that matter) visible to and available for use by client systems on the network. This process is normally referred to as exporting a file system

Exporting home directories and project-specific file systems Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W Exporting home directories and project-specific file systems

Exporting home directories and project-specific file systems Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W Exporting home directories and project-specific file systems The network shown in Figure shows that all the client systems (pear, mango,and so forth) mount their home directories from an NFS server named diskbeast. On diskbeast, the exported file systems are stored in the /exports/homes directory (/exports/homes/u1, /exports/homes/u2, and so on).

Created By : Asst. Prof. Ashish Shah, J. M Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS advantages The biggest advantage NFS provides is centralized administration. It is much easier, for example, to back up a file system stored on a server (such as the /home file system) than it is to back up /home directories scattered throughout the network, on systems that are geographically dispersed, and that might or might not be accessible when the backup is made.

Created By : Asst. Prof. Ashish Shah, J. M Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS Advantages End users also benefit from NFS. When NFS is combined with NIS, users can log in from any system, even remotely, and still have access to their home directories and see a uniform view of shared data. Users can protect important or sensitive data or information that would be impossible or time consuming to recreate by storing it on an NFS mounted file system that is regularly backed up.

Created By : Asst. Prof. Ashish Shah, J. M Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS disadvantages NFS has its shortcomings, of course, primarily in terms of performance and security. NFS is sensitive to network congestion. Heavy network traffic slows down NFS performance. Similarly, heavy disk activity on the NFS server adversely affects NFS’s performance. In both cases, NFS clients seem to be running slowly because disk reads and writes take longer. NFS has security problems because its design assumes a trusted network, not a hostile environment in which systems are constantly being probed and attacked.

Created By : Asst. Prof. Ashish Shah, J. M Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS disadvantages The primary weakness is that the NFS protocol is based on RPC, remote procedure calls, which are one of the most common targets of exploit attempts.

NFS server configuration Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS server configuration Although the breakdown is somewhat artificial because NFS server configuration is uncomplicated, you can divide server configuration into four steps: Design Implementation Testing Monitoring

Designing an NFS server Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W Designing an NFS server Designing a useful NFS server involves :- Selecting the file systems to export Choosing which users (or hosts) are permitted to mount the exported file systems Selecting a naming convention and mounting scheme that maintains Network transparency and ease of use Configuring the server and client systems to follow the convention

NFS : Exporting of files Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS : Exporting of files When identifying the file systems to export, keep in mind the following three rules that restrict how file systems can be exported: 1. You can export only local file systems and their subdirectories. To express this restriction in another way, you cannot export a file system that is itself already an NFS mount. For example, if a system named diskbeast mounts /home from a server named homebeast, diskbeast cannot re-export /home.

NFS : Exporting of files Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS : Exporting of files 2) A subdirectory of an exported file system cannot be exported unless the subdirectory resides on a different physical disk than its parent. For example, suppose diskbeast, an NFS server, has the following entry in its /etc/fstab:/dev/sda1 /usr/local ext3 defaults 1 2

NFS : Exporting of files Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS : Exporting of files Conversely, the parent directory of an exported subdirectory cannot be exported unless the parent directory resides on a different physical disk. That is, if you export /usr/local/devtools, you cannot also export /usr/local unless /usr/local is on a different disk device than /usr/local/devtools. This rule just extends the logic of Rule 2 in the opposite direction.

Configuring an NFS Client Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W Configuring an NFS Client Configuring client systems to mount NFS exports is even simpler than configuringthe NFS server itself. Configuring a client system to use NFS involves making sure that the port mapper and the NFS file locking daemons statd and lockd are available, adding entries to the client’s /etc/fstab for the NFS exports, and mounting the exports using the mount command.

Configuring an NFS Client Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W Configuring an NFS Client As with an NFS server, an NFS client needs the portmap daemon to process and route RPC calls and returns from the server to the appropriate port and programs. Accordingly, make sure the portmapper is running on the client system using the port map initialization script, tc/rc.d/init.d/portmap.

Mounting the file system Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W Mounting the file system The mount command used to mount file systems, so this section shows only the mount invocations needed to mount NFS file systems. During the initial configuration and testing, it is easiest to mount and unmount NFS export at the command line. For example, to mount /home from the server configured at the end of the previous section, execute the following command as root: # mount -t nfs luther:/home /home

Created By : Asst. Prof. Ashish Shah, J. M Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS client Demonstration of configuration an NFS client that mounts those directories. 1. Clients that want to use both exports need to have the following entries in /etc/fstab: luther:/usr/local /usr/local nfs rsize=8192,wsize=8192,hard,intr,nolock 0 0 luther:/home /home nfs 2. Start the portmapper using the following command: # /etc/rc.d/init.d/portmap start Starting portmapper: [ OK ] 3. Mount the exports using one of the following commands: # mount –a –t nfs or # mount /home /usr/local

Created By : Asst. Prof. Ashish Shah, J. M Created By : Asst. Prof. Ashish Shah, J.M. Patel College of Commerce, Goregoan W NFS client The first command mounts all (-a) directories of type nfs (-t nfs). The second command mounts only the file systems /home and /usr/local. as designed, you are ready to go. The second command mounts only the file systems /home and /usr/local. Verify that the mounts completed successfully by attempting to access files on each file system. ( If everything works as designed, you are ready to go.)