Bellevue University - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Bellevue University

Description:

Allows files on remote computers to be accessed as though they reside on a local ... The client mounts the remote file system using the mount command. Caution ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 11
Provided by: JohnRu
Category:

less

Transcript and Presenter's Notes

Title: Bellevue University


1
Bellevue University
  • Network File System

2
Network File System
  • Allows files on remote computers to be accessed
    as though they reside on a local computer
  • Operate on the client server model

3
Adding a file system
  • Use vi to edit the /etc/exports file
  • Add a line for each file system to be shared
  • Format
  • ltdirectorygt ltauthorized usergt
  • Example
  • /home/export 10.0.3.43

4
NFS on the server
  • The server must be running the following daemons
    (RPC, portmap, biod, mountd, nfsd)
  • The server must make files visible to remote
    systems (using /etc/exports file)

5
NFS on the client
  • The client must be running the RPC, portmap, and
    biod daemons
  • The client mounts the remote file system using
    the mount command

6
Caution
  • NFS bypasses the logon process.
  • You can make any part of your file system
    available to the network
  • That can be a security problem if the wrong
    people gain access

7
Lab Exercise For NFS
8
Do The Following
  • Log on as root or su
  • Make a directory in /mnt called vitutor

9
Do The Following (cont)
  • Mount an NFS share on ________ (your instructor
    will give you the IP address) called /home/shared
    to the /mnt/vitutor directory.
  • Copy the file you find in the /mnt/shared NFS
    share to your primary users home directory

10
Do The Following (cont)
  • Change the ownership of the file so your normal
    user owns it. (chown ltusernamegt ltfilegt)
  • Look at the file contents with vi (vi ltfilenamegt)
Write a Comment
User Comments (0)
About PowerShow.com