network file system n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Network File System PowerPoint Presentation
Download Presentation
Network File System

Loading in 2 Seconds...

play fullscreen
1 / 20

Network File System - PowerPoint PPT Presentation


  • 75 Views
  • Uploaded on

Network File System. Joe Paulowskey Susan Mulholland Joe Woulfe. Background of NFS. Abbreviation of N etwork F ile S ystem Is a client/server application designed by Sun Microsystems NFS allows all network users to access shared files stored on computers of different types.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Network File System' - wynona


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
network file system

Network File System

Joe Paulowskey

Susan Mulholland

Joe Woulfe

background of nfs
Background of NFS
  • Abbreviation of Network File System
  • Is a client/server application designed by Sun Microsystems
  • NFS allows all network users to access shared files stored on computers of different types.
  • NFS provides access to shared files through an interface called the Virtual FileSystem (VFS) that runs on top of TCP/IP.
cont background
Cont. Background
  • Users can manipulate shared files as if they were stored locally on the user's own hard disk.
  • With NFS, computers connected to a network operate as clients while accessing remote files, and as servers while providing remote users access to local shared files.
  • The NFS standards are publicly available and widely used.
setting up configuration files
Setting Up Configuration Files
  • /etc/rc.conf
      • The file rc.conf determines which services should be started up at system initial boot time.
  • /etc/exports
      • /etc/exports file contains an entry for each directory that can be exported to NFS clients
rc conf on server
rc.conf on Server
  • /etc/rc.conf
  • Insert the following into rc.conf
    • portmap_enable=“YES”
      • This daemon allows NFS clients to discover which port the NFS server is using.
    • nfs_server_enable=“YES”
      • This lets the computer know that this is the NFS server
    • mountd_flags=“-r”
      • Carries out requests from NFS clientspassed by nfsd which services the requests
etc exports
/etc/exports
  • Contains a list of entries
    • each entry indicates a volume that is shared and how it is shared.
    • What to include?
      • Directory –maproot=0 client1 client2 …
      • -maproot=0 flag allows the root user on the remote system to write to the shared file system as root
    • Example Entry
      • /usr/home –maproot=0 134.198.161.101 134.198.161.102 …
verifying that nfs is running
Verifying that NFS is running
  • type in the command
    • showmount –e
      • Displays all the exports on a given server
rc conf on client
rc.conf on Client
  • Located in /etc/rc.conf
  • nfs_client_enable=“YES”
    • Lets the computer know that this computer is an NFS client
mounting remote directories
Mounting Remote Directories
  • to mount the remote directory simply type:
    • mount 134.198.161.106:/usr/home /usr/home (while being the root user)
  • to unmount type
    • unmount /mnt/home
entries in etc fstab
Entries in /etc/fstab
  • Directory – where to mount to
  • File - describes the mount point for the file system
  • Type – type of file system (nfs)
  • Options – rw, ro, xx
  • Backup Frequency - Reserved for possible use by future backups
  • Pass Number - If there is more than one file system, then the pass number can be used to specify the order in which they are checked
getting nfs file systems to be mounted at boot time
Getting NFS File Systems to be Mounted at Boot Time
  • Go to the file /etc/fstab
    • 134.198.161.106:/usr/home /mnt nfs rw 0 0
  • Create the file
    • Mkdir /usr/Home
  • To check the mounting
    • Mount –vat nfs
nfs client on mac os
NFS Client on Mac OS
  • NetInfo Manager
    • Located in /Applications/Utilities/
    • Click on the most left directory (/)
    • Click on Directory and then select New Subdirectory
mac os cont
Mac OS (cont.)
  • After Creating a new directory click on new_directory
  • Rename the directory to mounts (if it is not already there)
mac os cont1
Mac OS (cont.)
  • Click on mounts in the browser and add a new directory
  • Click on new_directory and enter
    • nfsserver:/exported/path
  • After you click on mounts you want to go to Directory and select the New Property command
    • Create 3 New Properties
mac os cont2
MAC OS (cont)
  • Rename Each of the three properties
  • Save the settings
references
References
  • http://www.linuxdocs.org
  • http://www.freebsd.org
  • http://www.defcon1.org/html/Software_Articles/Adding_Com_Port/root-password/NFS/nfs.html
  • http://en.wikipedia.org/wiki/Network_File_System
  • http://www.freebsddiary.org/nfs.php
  • http://www2.astcomm.net:2080/tech/nfs_howto/client/