1 Network File Sharing. 2 Module - Network File Sharing ♦ Overview This module focuses on configuring Network File System (NFS) for servers and clients.

Slides:



Advertisements
Similar presentations
1 Dynamic DNS. 2 Module - Dynamic DNS ♦ Overview The domain names and IP addresses of hosts and the devices may change for many reasons. This module focuses.
Advertisements

Linux Boot Loaders. ♦ Overview A boot loader is a small program that exists in the system and loads the operating system into the system’s memory at system.
1 Defining System Security Policies. 2 Module - Defining System Security Policies ♦ Overview An important aspect of Network management is to protect your.
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
Module 10: Troubleshooting Network Access. Overview Troubleshooting Network Access Resources Troubleshooting LAN Authentication Troubleshooting Remote.
Module 20 Troubleshooting Common SQL Server 2008 R2 Administrative Issues.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
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.
NFS – Network File System WeeSan Lee
Network File System Joe Paulowskey Joe Paulowskey Susan Mulholland Joe Woulfe.
Network File System CIS 238. NFS (Network File System) The most commercially successful and widely available remote file system protocol Designed and.
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.
Course 6425A Module 9: Implementing an Active Directory Domain Services Maintenance Plan Presentation: 55 minutes Lab: 75 minutes This module helps students.
1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Linux Installation and Administration – Lesson 5 Tutor: George Papamarkos Topic: Devices in Linux.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
Linux Networking #2 Dr. Michael L. Collard 1.
1 COP 4343 Unix System Administration Unit 15: file server – ftp – nfs.
System Administration NFS & Web Servers. NFS SERVER.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
1 Linux Basics for Networking. 2 Module - Linux Basics for Networking ♦ Overview This module focuses on the basics of networking using Redhat Enterprise.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
New SA Training Topic 8: File System Access  Our organization uses a variety of services for accessing files on remote systems  WWW  FTP  CIFS/SMB.
Course ILT Internet/intranet support Unit objectives Use the Internet Information Services snap-in to manage IIS, Web sites, virtual directories, and WebDAV.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
Module 4: Planning, Optimizing, and Troubleshooting DHCP
Module 11: Remote Access Fundamentals
Chapter Two Exploring the UNIX File System and File Security.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
Sys Admin Course NFS and SAMBA Fourie Joubert. Sys Admin Course NFS NFS is the Network File System It allows Linux systems to share a file system, or.
Chapter Two Exploring the UNIX File System and File Security.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
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.
Network File System Campus-Booster ID : **XXXXX Copyright © SUPINFO. All rights reserved NFS.
Kickstart Installation
NFS Network File System. NFS (Network File System) Network file systems allow us to share files between users on different systems, often with different.
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
Distributed File Systems Objectives –to understand Unix network file sharing Contents –Installing NFS –How To Get NFS Started –The /etc/exports File –Activating.
Linux Security. Module 13 – Linux Security ♦ Overview Linux is more prone today to security loopholes and attacks, both inside and outside the network.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
CCNA4 v3 Module 6 v3 CCNA 4 Module 6 JEOPARDY K. Martin.
1 Network Information System (NIS). 2 Module – Network Information System (NIS) ♦ Overview This module focuses on configuring and managing Network Information.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
ITGS Network Architecture. ITGS Network architecture –The way computers are logically organized on a network, and the role each takes. Client/server network.
Free Powerpoint Templates Page 1 Free Powerpoint Templates Users and Documents.
Daemons Ying Zhang CMSC691X, Summer02. Outline  Introduction  Init and Cron  System daemons  Print daemons and NFS daemons  Time synchronization.
Module 10: Windows Firewall and Caching Fundamentals.
Filesystem Management and Backups. 2 Section Overview Devices and Files Filesystem Management Network Filesystems Backups.
Linux Operations and Administration
ITEC 502 컴퓨터 시스템 및 실습 Chapter 10-2: File Systems Mi-Jung Choi DPNM Lab. Dept. of CSE, POSTECH.
Network File System Peter DSouza. NFS  Allows machines to mount a disk partition on a remote machine as if it were a local drive  Other systems similar.
LINUX ADMINISTRATION
Securing the Network Perimeter with ISA 2004
Exploring the UNIX File System and File Security
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
NFS.
CIT 470: Advanced Network and System Administration
Created By : Asst. Prof. Ashish Shah, J. M
Windows Name Resolution
Network File System (NFS)
Presentation transcript:

1 Network File Sharing

2 Module - Network File Sharing ♦ Overview This module focuses on configuring Network File System (NFS) for servers and clients. This enables clients to share files across Linux and UNIX networks. ♦ Lessons covered in this module ► Introduction to NFS ► Configuring NFS Server ► Configuring NFS Client

3 Network File Sharing Lesson 1 - Introduction to NFS ♦ Introduction The NFS is a method of sharing files. It provides local access to remote disks and file systems. Its proper understanding will help in sharing files and directories on other systems in a different city or country. ♦ Topics covered in this lesson ► Understanding NFS ► NFS Installation ► Merits and Demerits

4 Network File Sharing Topic 1 – Understanding NFS ♦ NFS has client/server architecture. The NFS server has consists of physical disks that contain the shared file systems. NFS daemons show and provide them to users on the network. ♦ The NFS daemons provide remote access to the exported file systems, enable file locking and help enforce quotas on the NFS exports. ♦ An NFS client has only to mount the exported files locally into a file system called an NFS mount. ♦ NFS is also used to store users' home directories on a central server and to mount them when users log in or boot their systems.

5 Network File Sharing Topic 2 – NFS Installation ♦ The considerations for a good NFS installation ► Take into account site-specific need ► Decide which file systems to export ► Determine the amount of data to be shared ► Understand the underlying network you will use ► Other network services to be provided ► The number and type of servers and clients ♦ Installation involves configuring the exports and starting the daemons, testing to ensure that the naming convention and mounting scheme work properly and monitoring.

6 Network File Sharing Topic 3 - Merits and Demerits ♦ Merits ► NFS provides centralized control, maintenance, and administration. ► It is easier to back up file systems stored on a single server. ► NFS conserves disk space and prevent duplication of resources. ► Log in and access the home directories from any system. ► Protect important data by storing it on an NFS mounted file system. ♦ Demerits ► Sensitive to network congestion, heavy network traffic slows it down. ► Heavy disk activity on server reduces performance speed. ► If the disk or server crashes that resource becomes inaccessible. ► Potential security problems and unsafe across the Internet.

7 Network File Sharing Lesson 2 – Configuring NFS Server ♦ Introduction Configuring NFS server involves understanding the contents, format and options of configuration files. These determine the characteristics of the exported file systems and affect the performance of NFS. ♦ Topics covered in this lesson ► Configuration Files ► Server Daemons ► Server Scripts and Commands

8 Network File Sharing Topic 1 - Configuration files ♦ The NFS server configuration file is /etc/exports. It has a list of file systems to export, the clients permitted to mount them, and the export options. Each line in /etc/exports has the following format: dir [host] (options) [.……] ♦ dir indicates a directory to export, host denotes the hosts permitted to mount dir, and options denotes mount options. If there is space between hostname and options it will make the directory world accessible. The options determine the characteristics of the exported file system

9 Network File Sharing Topic 2 - Server Daemons ♦ NFS Server Daemons ► lockd starts NFS lock manager in the kernel ► mountd is used to process mount requests from NFS clients ► nfsd is responsible for all NFS services other than file locking and quota management ► portmap informs about the NFS services available on any particular NFS server ► rquotad informs about file system quota of NFS exports to clients ► statd is used for lock recovery if an NFS server crashes

10 Network File Sharing Topic 3 - Server Scripts and Commands ♦ Server Scripts ► portmap maps calls from other devices to the correct RPC service ► nfsd translates NFS requests into requests on the local file system ► rpc.mountd is for mounting and unmounting file systems ♦ Commands ► exportfs -r updates the server's shared files list in /etc/exports. ► exportfs -v displays list of shares and options on a server. ► exportfs -a exports shared files listed in /etc/exports. ► exportfs -u unexports all files without arguments. ► showmount –e localhost shows the shared files on the host.

11 Network File Sharing Lesson 3 - Configuring NFS Client ♦ Introduction In order to be able to use NFS services the client system should be configured. This helps in determining the various options for sharing files across the network and security issues. ♦ Topics covered in this lesson ► Configuration Procedure ► Automount Services ► Security Issues ► NFS Troubleshooting

12 Network File Sharing Topic 1 - Configuration Procedure ♦ NFS is implemented in client machines as a kernel module. Network mounts are specified /etc/fstab file. NFS shared files are mounted at boot time by /etc/rc.d/init.d/nfs. autofs can be used to mount and unmount NFS shared files. ► NFS options in /etc/fstab : ► rsize=8192 and wsize=8192 speed up NFS throughput ► soft returns with an error on a failed I/O attempt ► hard will block if you try to access an unshared file ► intr interrupts or kills NFS requests if server is unreachable ► nolock disables file locking (lockd) and allows interoperation with other NFS servers

13 Network File Sharing Topic 2 - Automount Services ♦ The easiest way to mount NFS exports is to use autofs. This automatically mounts file systems. autofs uses the automount daemon to mount and unmount file systems configured to control. autofs uses a master map file, /etc/auto.master to associate mount points with secondary map files. ♦ The secondary map file defines the mount options for file systems mounted under the corresponding directory. Each line in a secondary map file has the general form: server1~]# localdir [-[options]] remotefs ► localdir is the directory beneath the NFS mount point. remotefs specifies the host and pathname of the NFS mount.

14 Network File Sharing Topic 3 - Security Issues ♦ The /etc/exports file is a weak point in NFS. ♦ Use host access control to limit access to services ♦ Use of IP packet firewalls and netfilter or TCP Wrappers increase NFS server security ♦ Always use the root_squash option in /etc/exports ♦ All critical files should be owned by root ♦ Export file systems using the all_squash option ♦ Disable SUID root programs on NFS mounts with the nosuid option.

15 Network File Sharing Topic 4 – NFS Troubleshooting ♦ Export Failures ► Entering a user name as the anonymous user when the option requires a UID number (such as 505). ► The name of the computer being allowed to share the directory failing to have its address resolved. ♦ Unmount Failures ► If there is a process holding the directory open it should be killed to unmount. Contd …

16 Network File Sharing Topic 4 – NFS Troubleshooting ♦ Mount Failures - reasons ► Wrong share Information ► Firewalls blocking NFS ports ► Directory is not being accessed. ► You don't have proper permission

17 Network File Sharing Lab Exercises ♦ Configuring NFS to share users home directory with the server has read-write.

18 Network File Sharing Conclusion ♦ Summary ► NFS monitoring is necessary to export file systems, network security and satisfactory performance. NFS has potential security problems and is unsafe across the Internet. ► NFS services daemons portmap, mountd, nfsd, statd, lockd, and rquotad. NFS commands configure the server with access permissions and export characteristics. ► nosuid option, file locking, TCP wrappers, and packet filters can ensure security for NFS clients. Mount, unmount and export failures can occur in NFS due to wrong share information or firefalls. ♦ Question and Answer Session