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.

Slides:



Advertisements
Similar presentations
DESIGN AND IMPLEMENTATION OF THE SUN NETWORK FILESYSTEM R. Sandberg, D. Goldberg S. Kleinman, D. Walsh, R. Lyon Sun Microsystems.
Advertisements

Distributed Storage March 12, Distributed Storage What is Distributed Storage?  Simple answer: Storage that can be shared throughout a network.
PC Cluster Setup on Linux Fedora Core 5 High Performance Computing Lab Department of Computer Science and Information Engineering Tunghai University, Taichung,
A Guide to Unix Using Linux Fourth Edition
Installation. Installation   There are three phases to building an LTSP server: – –Installing the LTSP utilities – –Installing the LTSP client packages.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Network File Sharing Chapter 18. Chapter Goals Understand concepts of network file sharing Understand NFS server setup Understand NFS client setup Understand.
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
NFS Admin And Security Steve Nuchia Sravani Motati Ashish Katyarmal.
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
NFS Server Setup NFS SERVER SETUP. Network File Service NFS Server Setup Allows to share Directories between UNIX Systems Daemons: netfs, nfs, nfslock.
Course 6425A Module 9: Implementing an Active Directory Domain Services Maintenance Plan Presentation: 55 minutes Lab: 75 minutes This module helps students.
SUSE Linux Enterprise Server Administration (Course 3037)
Linux Filesystem Management
System Administration
Configuration of Linux Terminal Server Group: LNS10A6 Thebe Laxmi, Sharma Prabhakar, Patrick Appiah.
A Guide to Unix Using Linux Fourth Edition
Device and Filesystem Management CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.
Linux Networking #2 Dr. Michael L. Collard 1.
1 Network File Sharing. 2 Module - Network File Sharing ♦ Overview This module focuses on configuring Network File System (NFS) for servers and clients.
Final Project – NFS and NIS jwbai. Computer Center, CS, NCTU 2 Goal master.passwd passwd group netgroup amd.conf userA, /nis/home/userA userB, /nis/home/userB.
1 COP 4343 Unix System Administration Unit 15: file server – ftp – nfs.
Linux Security Anthony Albrecht – Services & Accounts
System Administration NFS & Web Servers. NFS SERVER.
Network Installation Objectives –Manage linux installation from network install server Contents –Preparing for a network installation –Setting up the install.
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.
Distributed File Systems Objectives –to understand Unix network file sharing Contents –Installing NFS –How To Get NFS Started –The /etc/exports File –Activating.
CIT 470: Advanced Network and System Administration
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 LCFGng configuration examples Updated 10/2002
Device and Filesystem Management CSCI N321 – System and Network Administration Copyright © 2000, 2010 by Scott Orr and the Trustees of Indiana University.
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.
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.
NFS Network File System. NFS (Network File System) Network file systems allow us to share files between users on different systems, often with different.
Distributed File Systems Objectives –to understand Unix network file sharing Contents –Installing NFS –How To Get NFS Started –The /etc/exports File –Activating.
Exercise 4 – NFS and NIS Announced Date: 2007/12/11 Due Date: 2007/12/25.
Configuring a LAN FTP Client Chapter 17 & 19. Setting up the physical layer Chapter 17 covers the basics of hubs, switches, routers and WAPs.
1 LINUX SECURITY. 2 Outline Introduction Introduction - UNIX file permission - UNIX file permission - SUID / SGID - SUID / SGID - File attributes - File.
Filesystem Management and Backups. 2 Section Overview Devices and Files Filesystem Management Network Filesystems Backups.
Chap 35 Remote Procedure Calls RPC allows one host to make a procedure call that appears to be part of a local process (fig 35.1), but is really executed.
Small Business Server 2003 Linux Small Business Server versus Linux functionality.
PRESENTED BY ALI NASIR BITF13M040 AMMAR HAIDER BITF13M016 SHOIAB BAJWA BITF13M040 AKHTAR YOUNAS BITF13M019.
1 Section 9: Project 3 – The Buffer Cache Network File Systems.
CIT 470: Advanced Network and System Administration
Filesystem Management and Backups
CIT 470: Advanced Network and System Administration
IS3440 Linux Security Unit 6 Using Layered Security for Access Control
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
CSE 451: Operating Systems Winter Module 22 Distributed File Systems
NFS.
Distributed File Systems
CIT 470: Advanced Network and System Administration
Distributed File Systems
CSE 451: Operating Systems Spring Module 21 Distributed File Systems
Distributed File Systems
CSE 451: Operating Systems Winter Module 22 Distributed File Systems
System Administration HW5 - Mini Private Lab
The Network File System
Distributed File Systems
The Network File System
Automounter Filesystem - autofs
The Network File System
Automount NFS.
Distributed File Systems
Presentation transcript:

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 to NFS –  AFS  CODA

Setting up NFS server  Configuration files  /etc/exports (required)  /etc/hosts.allow (optional)  /etc/hosts.deny (optional)

Setting up NFS server(Contd.)  /etc/exports directory machine1(option11,option12) machine2(option21,option22) eg./usr/local (ro) (ro) /home (rw) (rw)  /etc/hosts.allow service: host [or network/netmask], host [or network/netmask] eg. portmap: ,  /etc/hosts.deny portmap:ALLlockd:ALLmountd:ALL….

Setting up NFS server(Contd.)  Starting and stopping NFS /sbin/service nfs start /sbin/service nfs stop /sbin/service nfs reload  Reloading /etc/exports exportfs -ra

Setting up NFS client  Using mount command mount server:directory/directory mount_point eg. mount master.foo.com:/home /mnt/home  Using /etc/fstab device mntpt fs-type options dump fsckorder device mntpt fs-type options dump fsckorder eg. master.foo.com:/home/pubnfsrw00 mount /pub mount /pub

Setting up NFS client(Contd.)  Using autofs auto.master /misc /etc/auto.misc --timeout 60 auto.misc myproject -rw,soft,intr,rsize=8192,wsize=8192 penguin.host.net:/project52 myproject -rw,soft,intr,rsize=8192,wsize=8192 penguin.host.net:/project52 /sbin/service autofs restart

Optimizing NFS performance  Setting Block Size to Optimize Transfer Speeds  Modify rsize and wsize values to control size of chunks of data between server and client  Default – 4096  Packet size and network drivers  Important when NFS is used over UDP  Number of instances of NFSD  typically 8 instances  Increase number of instances to match traffic

Optimizing NFS performance (Contd).  Memory limits on Input Queue  Increase to at least 256k, restart nfsd, then restore memory limits echo > /proc/sys/net/core/rmem_default  Overflow of fragmented packages  Turning Off Autonegotiation of NICs and Hubs

Security and NFS  Mount access  Achieved by client machine  Provided in /etc/exports file  File access  Function of normal file system access controls  After mounting, user and group permissions of files take control  Entries in /etc/hosts.allow and /etc/hosts.deny

Security and NFS (Contd)  Server security : nfsd and mountd  Use root_squash in /etc/exports /home slave1(rw,root_squash)  Client security  nosuid  broken_suid mount option  Securing portmapper, rpc.statd and rpc.lockd on client