4 Pages

ex09-NFS

Course: CENT 253, Fall 2009
School: University of Hawaii -...
Rating:
 
 
 
 
 

Word Count: 1162

Document Preview

Community Project Honolulu College Computers Electronic and Networking Technology UNIX System Administration page 1 Curriculum version 2.0 Network File System NFS NFS was developed by Sun Microsystems and is now incorporated into the operating systems of many other vendors. NFS is a method of sharing directories from one computer to another. NFS is a client server application. The latest version of the NFS...

Register Now

Unformatted Document Excerpt

Coursehero >> Hawaii >> University of Hawaii - Hilo >> CENT 253

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Community Project Honolulu College Computers Electronic and Networking Technology UNIX System Administration page 1 Curriculum version 2.0 Network File System NFS NFS was developed by Sun Microsystems and is now incorporated into the operating systems of many other vendors. NFS is a method of sharing directories from one computer to another. NFS is a client server application. The latest version of the NFS service Version 3 is based on TCP/IP Protocols. The machine that has a locally attached disk with files that are to be shared must run the NFS server. The machine that needs to access the shared files must incorporate NFS client software. Solaris and many other UNIX systems install both client and server NFS services as part of a standard installation. Setting up the NFS Server Directories can be shared with the command share. example: share -F ufs o ro d Man Pages /usr/man This command would share the directory /usr/man as a read only file system with the description "Man Pages". Directories shared with the share command would not automatically be shared again when the computer is rebooted. File systems or directories that are to be shared can also be entered into the /etc/dfs/dfstab file. This file lists the directories to be shared as well as information on which clients may have access to them and the permissions that are granted. When directories to be shared are listed in the /etc/dfs/dfstab file they are automatically shared when the machine is rebooted. The startup scripts read the /etc/dfs/dfstab file and share any listed directories or file sytems. Just using the share command or editing the /etc/dfs/dfstab file may not result in the directory being shared. The NFS server program must also be running. It does not start at boot time unless there is at least one valid entry in the /etc/dfs/dfstab file. The script that starts the nfs server program is /etc/init.d/nfs.server it is linked to an S script in the rc3.d directory so that NFS services are started when the system enters run level 3. The script checks the /etc/dfs/dfstab file before starting the server at boot time. To manually start the nfs server use the command /etc/init.d/nfs.server start. It is always recommended that the script be run with the stop parameter first and then the start. This assures you that the server will not be running twice and that all the associated daemons such as lockd and statd and mountd are also running correctly. /etc/init.d/nfs.server stop /etc/init.d/nfs.server start 928bd2a1e06074a2e6d3e04fad72d04d298f5488.doc 06/15/09 Page 1 of 4 Project Honolulu Community College Computers Electronic and Networking Technology UNIX System Administration page 2 Curriculum version 2.0 After adding at least one entry in the /etc/dfs/dfstab file and starting the nfs server it is easier to share more directories. Either share them directly with the share command or add them to the /etc/dfs/dfstab file and use the command shareall The shareall command reads the /etc/dfs/dfstab file and mounts every entry. It is a good way to make sure that the dfstab does not have any errors. To unshare a file system or directory you can use the unshare command. unshare /usr/man The syntax for the /etc/dfs/dfstab file is: share -F <fs type> -o <options> -d < description> <pathname of dir to share> The F is followed by the file system type, usually NFS The is o followed by many possible options The d is followed by an optional descrtiption The pathname is the absolute pathname to the directory to be shared. The directory to be shared must be locally mounted. You cannot share a directory that has already been mounted from another server. Share -o options rw read / write Indicates that systems that mount the shared directory can read and write to the directory and subdirectories. rw=client-host1:client-host2 read write only to listed hosts. ro read only ro=client-hosts anon=<uid> sets uid to be the effective user ID of unknown users. By default unknown users are give the effective user id nobody. if anon=-1 then unauthenticated users are denied access. 928bd2a1e06074a2e6d3e04fad72d04d298f5488.doc 06/15/09 Page 2 of 4 Project nosub Honolulu Community College Computers Electronic and Networking Technology UNIX System Administration page 3 Curriculum version 2.0 prevents clients from mounting subdirectories. They must mount the entire shared system. nosuid server system ignores any attempt to set suid and guid bits on files. root=client-host The dfstab example /etc/dfs/dfstab # Place share commands here for automatic sharing upon entering run state 3 # # share -F nfs /export share -F nfs -o ro -d Man Pages /usr/man share -F nfs -o rw=lulu,bart,dilbert root=dilbert -d Home /local/home The /etc/dfs/dfstab shown above would share 3 directories. The /export directory would be shared with default options and no description. The /usr/man directory would be available for any system on the network to mount, but it would be mounted read only. None of the systems that mounted the file system would be able to modify, add or delete any files in /usr/man. The /local/home directory would be available to only to the hosts lulu bart and gecko. They would be able to mount the directories as Read and Write. Only dilbert would be able to access the shared directory as root. Clients mount a shared directory similar to mounting local directories except the shared directory is ...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

University of Hawaii - Hilo - CENT - 253
ProjectHonolulu Community College Computers Electronic and Networking Technology UNIX System Administration page 1 Curriculum version 2.0Network File System NFS NFS was developed by Sun Microsystems and is now incorporated into the operating syst
University of Hawaii - Hilo - CENT - 253
Honolulu Community College Computers Electronic and Networking Technology UNIX System Administration Exercise: Installing a web server page 1 Curriculum version 2.0 Installing a web Server This lab assumes that you are logged in as root on your proje
University of Hawaii - Hilo - CENT - 253
Honolulu Community College Computers Electronic and Networking Technology UNIX System Administration Exercise: Installing a Patch page 1 Curriculum version 2.0 Installing a Patch The objective of this lab is to practice installing a patch and become
University of Hawaii - Hilo - CENT - 253
Class ExerciseHonolulu Community College Computers Electronic and Networking Technology UNIX System Administration page 1 Curriculum version 2.0 Using ftp from the command lineBy default Solaris systems include both an ftp server and an ftp clien
University of Hawaii - Hilo - CENT - 253
Class ExerciseHonolulu Community College Computers Electronic and Networking Technology UNIX System Administration page 1 Curriculum version 2.0 Using ftp from the command lineBy default Solaris systems include both an ftp server and an ftp clien
University of Hawaii - Hilo - CENT - 253
Honolulu Community CollegeComputers Electronic and Networking TechnologyUNIX System AdministrationProject Notes page 1 Curriculum version 2.0Group Project System Design Design your system for the following scenario. The machine will support a w
University of Hawaii - Hilo - CENT - 253
ProjectHonolulu Community College Computers Electronic and Networking Technology UNIX System Administration page 1 Curriculum version 2.0 Initial Setup TasksYou should now have control of you own UNIX system There are a number of initial tasks th
University of Hawaii - Hilo - CENT - 253
Honolulu Community College Computers Electronic and Networking Technology UNIX System Administration Lab Installing the we server page 1 Curriculum version 2.0 Installing a web Server This lab assumes that you are logged in as root on your project ma
University of Hawaii - Hilo - CENT - 253
Honolulu Community CollegeComputers Electronic and Networking Technology UNIX System Administration 06/15/09New System Investigation and Security Investigating and setting some security on your new workstation Find out about the operating system a
University of Hawaii - Hilo - CENT - 253
project Project UpdateHonolulu Community College Computers Electronic and Networking Technology UNIX System Administration page 1 Curriculum version 2.0At this point you should have implemented the following items on your project machine. Created
University of Hawaii - Hilo - CENT - 253
Group 1 IP 180.90.10.51Group 2 IP 180.90.10.52Group 3 IP 180.90.10.53Group 4 IP 180.90.10.54 Group 5 IP 180.90.10 55 Group 6 IP 180.90.10.56Group 7 IP number 180.90.10.57Group 8 IP number 180.90.10.58
University of Hawaii - Hilo - CENT - 253
Honolulu Community CollegeComputers Electronic and Networking TechnologyUNIX System AdministrationProject Notes page 1 Curriculum version 2.0Group 1Group Project Sign up sheet8840e7693addc75d0abac18e4d0b23a78c9f2a73.docPage 1 of 706/15/09
University of Hawaii - Hilo - CENT - 253
ProjectHonolulu Community College Computers Electronic and Networking Technology UNIX System Administration page 1 Curriculum version 2.0 System Installation WorksheetWork with your lab partner and fill in the following information that you will
University of Hawaii - Hilo - CENT - 253
ProjectHonolulu Community College Computers Electronic and Networking Technology UNIX System Administration page 1 Curriculum version 2.0 System Installation WorksheetWork with your lab partner and fill in the following information that you will
Alabama - CS - 325
Lecture 21 Tuesday, April 18TodayHand back Exam III and Project 5 Project SevenAnnouncements:Project 6 is due today at 9pm Project 7 is assigned today &amp; due 5/1 at 9pmExam Three SurveyThe easiest problem on this exam was . Why? The hardest pr
Georgia Tech - GROUP - 8803
JIT RemindersService monitoring framework with mobile notifications CS 8803 AIAD Project - Group 21 : Gaurav Mullick : Gautam AroraWhat it was supposed to be? (read: initial project goals) Alice enters a customized event in hercalendar e.g. cal
Georgia Tech - GROUP - 8803
CALBUDDY- A SHARED MOBILE/WEB BASED CALENDARAIAD 8803 PROJECT PROPOSALPROJECT MEMBERSNISARG KADAKIA SAURIN KADAKIA ROHIT KUMBHAR ANKIT SHAHMOTIVATION AND OBJECTIVE:In today's world, people operate in a more hectic and pressured environment than
Wisconsin - BOTANY - 400
Orders and families to know for Botany 400 2nd lecture examCaryophyllales - betalains, dichasium inflorescence, free-central or derived (basal)placentation; petals often lacking CA5 0 10PhytolaccaceaeCOAG5+ -berry[raceme; sometimes ap
Wisconsin - BOTANY - 400
Orders and families to know for Botany 400 2nd lecture examCaryophyllales - betalains, dichasium inflorescence, free-central or derived (basal)placentation; petals often lacking CA5PhytolaccaceaeCO0A10G5+ -berry[raceme; sometimes a
Alabama - EC - 471
Experiments and Quasi-Experiments (SW Chapter 11) Also, Selection Bias Model11-1Experiments and Quasi-Experiments (SW Chapter 11)Why study experiments? Ideal randomized controlled experiments provide a benchmark for assessing observational stud
Alabama - EC - 471
Regression with a Binary Dependent Variable (SW Ch. 9)EC 471 Spring 20049-1Regression with a Binary Dependent Variable (SW Ch. 9)So far the dependent variable (Y) has been continuous: district-wide average test score traffic fatality rate But
Arizona - ASTR - 250
stars in the local neighborhoodwhy the scatter?why the scatter? distance errorswhy the scatter? reddeningchange in one color vs. anotherdependence on wavelengthevolution why the scatter?metallicity - subdwarfs why the scatter?line bla
Alabama - GEO - 545
Lab 16 Processing The Land Survey: Initial Data QC and Geometry SetupApril 13, 2004 1pm-4pmIn this lab we: 1. 2. 3. Identified bad traces and noisy traces. Looked at the first arrival times to make sure that they were consistent with our survey g
Alabama - GEO - 545
Lab 5 More Velocity Analysis, Top and Bottom MutesFeb. 3, 2004 1pm-3pmFirst, lets review our velocity picks that we have made since the last lab.Top (outside) Mutes Why? When we apply NMO we are correcting each arrival time to what it would be
Alabama - BCE - 541
Alabama Department of Rehabilitation Services Case NarrativeEmploymentParticipant: Caseload: SSN:1. General Start Date: Source of Report: Work Status: End Date:Continued Employment (from previous entry):2. Employer Employer Name: Address: Ci
Alabama - JOYBCE - 515
THE UNIVERSITY OF ALABAMA, PROGRAM IN COUNSELOR EDUCATION INFORMATION AND AGGREEMENT FOR PARTICIPATION IN COUNSELOR TRAINING ACTIVITIES I understand that I, named _, will be participating as a client in _ (number) counseling sessions for credit in my
UCSB - ESM - 204
! $ $ &amp;&quot;# % &quot;$ ' ( )* &amp;+, +&amp;($! &quot;#$% $% &amp; ' ( ) &amp;%$ &amp; $% &amp; &amp;'&amp;&quot; *&amp; ' $&amp;% &quot; %&amp;%+'&amp;% # $! # &quot;$ ( &amp; ' % &quot; $ &quot; %( % $&amp;% &quot; $% %' # , %&quot; ! % / 0 (&amp; () , &quot; .%1( ) $ 2 ( $ )&amp;$ 1 )( $ 3 2 , $ &amp; , )' . ( ( 2( 2 , &amp; ) ,&amp; $) 4444444444444444! &quot;#$
UCSB - ESM - 204
Main suggestions1. More numerical examples 2. Practice final exam 3. Assume too strong background in economics 4. Cover fewer topics in more detail 5. Midterm did not correspond with course material 6. Pace too slowOur responses1. 2. 3. 4. 5. Cos
UCSB - ESM - 204
! &quot;# %&amp; ' &amp; ()*$#! &quot;!#$! &quot;# %% &amp; * + ( $ #&amp; ( ) '$#++ !+ &quot;, &amp; &amp; # # ( &amp; # #* &amp; # ## (#,%$ . /$ # ( , &amp; 1 2 ( &quot; 0' &amp; # % $ ! #*+ #$ ( (+ #$ ( (34456 9# : 7 ; (# ($ &amp; % #$ 7 7 % - 67 9 &quot;#!&amp;
UCSB - ESM - 204
University of California, Santa Barbara Donald Bren School of Environmental Science &amp; ManagementWaste Today, Wall Tomorrow: Assessment of an Innovative Straw Block for Residential ConstructionA Group Project Report submitted in partial satisfacti
UCSB - ESM - 204
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|18 Jan 2007 17:53:53 -0000 vti_extenderversion:SR|6.0.2.6551 vti_backlinkinfo:VX|courses/ESM204/ESM204_2007/default.htm
Alabama - ME - 383
ME 383 Homework #8Solutions1. The actual diameter of a bar is 1 inch, we have three groups of measured data for the bar diameter (25 pts). (a) 0.99, 1.01, 1.01 (b) 1.02, 1.02, 1.02 (c) 0.8888, 0.8712, 0.7823 (1) Which group of data is most accura
UPenn - CSE - 380
CSE 380 - Operating SystemsNotes for Lecture 7 - 9/29/05 Matt Blaze(some examples by Insup Lee)Scheduling Remember that process state diagram? The scheduler picks the next process to move from ready to running how does it select one? we've
UCSD - BICD - 100
Score 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 More Mean Median M di StDevFrequency 0 0 0 0 0 0 4 11 19 20 31 41 41 38 22 22 13 14 4 1 0 125.2242 125 27.2951445BICD 100 Midterm 1 Histogram BICD 100 Midterm 1 Histogra
Stanford - EE - 364
Problems in VLSI design wire and transistor sizing signal delay in RC circuits transistor and wire sizing Elmore delay minimization via GP dominant time constant minimization via SDP placement problems quadratic and 1-placement placement wit
Stanford - EE - 364
Convex Optimization - Boyd &amp; Vandenberghe1. Introduction mathematical optimization least-squares and linear programming convex optimization example course goals and topics nonlinear optimization brief history of convex optimization11Math
Washington University in St. Louis - EPSC - 353
Groundwater Hydrology and Earth ForcesIntroduction This is a discussion of groundwater hydrology. Here we will learn about flow in confined aquifers. We will also learn about the concept of hydraulic head, h, which is simply the level to which water
Washington University in St. Louis - EPSC - 353
Hydrology and Earth Forces Part IIConfined and Unconfined Aquifers: Potentiometric Surfaces Groundwater flow can involve complex three-dimensional, heterogeneous, anisotropic flow. A number of simplifying assumptions are often made to lead to more
Alabama - AY - 101
AY 101-002 Summer 2009 QUIZ #1Answer each of the following on a computer-gradeable answer sheet. Be sure to fill in your name and CWID number (and blacken thei
Loyola Marymount - CMSI - 387
http:/myweb.lmu.edu/dondi/spring2009/cmsi387 Spring 2009 - Doolan 222 TR 1:352:50pm, 3 semester hours Office Hours: TR 9-10:30am, R 36pm or by appointment John David N. Dionisio, PhD e-mail: dondi@lmu.edu, AIM: dondi2LMU Doolan 106; (310) 338-5782C
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009Assignment 0122This assignment is primarily reading, just to get things started, plus the usual CVS setup.Not for Submission1. Read Chapters 1 and 2 in SGG. 2. Run the setup-class script for class cmsi38
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009Assignment 0129This assignment seeks to give you a little command line practice, plus some supplemental reading.Not for SubmissionSupplemental reading for what has been covered so far includes the concep
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009Assignment 0212This assignment seeks to give you a little I/O agility and file manipulation practice, plus additional introductory reading for the areas covered since last time.Not for SubmissionSuppleme
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009Assignment 0224This assignment is all about getting your hands dirty with building and deploying an operating system kernel.Not for Submission1. You'll need the unified diff (unidiff) format for this ass
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009Assignment 0319Spring break gives us a good opportunity to hunker down and focus on things with fewer distractions than usual - critical for some quality operating systems work.Not for SubmissionSGG Chap
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009Assignment 0324This assignment seeks to reinforce some of the activities we've done in class so far. It also gives you a chance to try your hand at working out a general critical section solution on your ow
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009Assignment 0409This assignment is yet another &quot;classic&quot; operating systems programming task dealing with process synchronization, supported by a smattering of exercises.Not for SubmissionWe are still very
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009Assignment 0416For the remainder of the semester, we'll be in our own &quot;task-switching&quot; mode, alternating between making sure we get the remaining material and working on the kernel project. The remaining as
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009Assignment 0428This last assignment for the semester maintains the theme of reinforcing the material by walking you through some tasks that apply this material, while also forcing more project movement (whi
Loyola Marymount - CMSI - 387
C M S I 387 OPERATING SYSTEMSSpring 2009File System Implementation Supplementary ExerciseDue to a combination of time constraints and the need to have sudo capability on a Linux machine, this exercise is not an official assignment. Get together w
Loyola Marymount - CMSI - 398
BIO L / CM S I / HNRS 398- 01 B I O L O G I C A L D A TA B A S E Shttp:/myweb.lmu.edu/dondi/fall2008/cmsi398 Fall 2008 Doolan 219 TR 9:2510:40am 3 semester hours Kam D. Dahlquist, PhD kdahlquist@lmu.edu Office Hours: MW 13pm or by appointment Seaver
Loyola Marymount - CMSI - 499
C M SI 4 9 9 INDEPENDENT STUDIES: OBJECT TECHNOLOGIEShttp:/myweb.lmu.edu/dondi/fall2007/cmsi499 Fall 2007 - Doolan 106 Variable sessions and meetings, 3 semester hours Office Hours: TR 36pm or by appointment John David N. Dionisio, PhD e-mail: dondi
Loyola Marymount - CMSI - 371
CMSI 371 COMPUTER GRAPHICSFall 2004 Doolan 219 Tuesdays and Thursdays, 3:004:15pm 3 semester hours Office Hours: M 35pm, TR 23pm John David N. Dionisio, PhD dondi@lmu.edu AIM: dondi2lmu (310) 338-5782 Doolan 106Course ObjectivesTo master the prin
Loyola Marymount - CMSI - 371
CMSI 371 COMPUTER GRAPHICSFall 2004Assignment 0916The goal of this assignment is to kickstart you into graphics programming - just get some code in there, build it, and run it. Don't worry about understanding everything that the code is doing. Ye
Loyola Marymount - CMSI - 371
CMSI 371 COMPUTER GRAPHICSFall 2004Assignment 0928The goal of this assignment is to reinforce what you've learned so far (I hope) about graphics displays, devices, animation, and other bit-level techniques, and also to prepare you for the big thi
Loyola Marymount - CMSI - 371
CMSI 371 COMPUTER GRAPHICSFall 2004Assignment 1028OK, time to roll up our sleeves on those projects. This assignment hopes to bring you to some relatively satisfying milestone in your project's development.Not for Submission1. Read Chapter 4 i
Loyola Marymount - CMSI - 371
You Oughta Know (by now.) The parts of a graphics system Layers and their roles Equivalents of these layers in OpenGL, Java2D, and Java3DGraphics and memory How pixels map into memory Direct and indexed How to calculate graphics memory req
Loyola Marymount - CMSI - 186
C M S I 186 PROGRAMMING LABORATORYhttp:/myweb.lmu.edu/dondi/spring2008/cmsi186 Spring 2008 - Doolan 112 (Keck Lab) TR 9:2510:40am, 3 semester hours Office Hours: TR 36pm or by appointment John David N. Dionisio, PhD e-mail: dondi@lmu.edu, AIM: dondi
Loyola Marymount - CMSI - 186
C M S I 186 PROGRAMMING LABORATORYSpring 2008Program 0: Trial Submission ExerciseThis exercise is intended to provide some practice in submitting assignments according to the given specifications. It is a dry-run of sorts, and is not a formal par
Loyola Marymount - CMSI - 186
C M S I 186 PROGRAMMING LABORATORYSpring 2008Program 1: Video PokerFor our first problem, we'll revisit some code that you wrote in CMSI 185 - the poker hand classifier. You will build upon this code to write a text-based video poker program.Pr
Loyola Marymount - CMSI - 186
C M S I 186 PROGRAMMING LABORATORYSpring 2008Program 2: Discrete Event SimulationThis program introduces the concept of discrete event simulation, a &quot;classic&quot; simulation approach that is applicable to a variety of situations.Program to WriteWr