[PVFS2-CVS] commit by robl in pvfs2-1/doc: pvfs2-quickstart.tex

CVS commit program cvs at parl.clemson.edu
Fri Jul 22 17:15:33 EDT 2005


Update of /projects/cvsroot/pvfs2-1/doc
In directory parlweb:/tmp/cvs-serv23694/doc

Modified Files:
	pvfs2-quickstart.tex 
Log Message:
[pcarns]: Introduce mount.pvfs2.  At the expense of an additional helper
utility, makes pvfs2 mount commands and fstab entries the same for linux-2.4
and linux-2.6.  Update documents accordingly


Index: pvfs2-quickstart.tex
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/doc/pvfs2-quickstart.tex,v
diff -u -w -p -u -r1.32 -r1.33
--- pvfs2-quickstart.tex	9 Jun 2005 22:35:13 -0000	1.32
+++ pvfs2-quickstart.tex	22 Jul 2005 20:15:33 -0000	1.33
@@ -790,24 +790,12 @@ Now that the module is loaded, and the p
 programs are running, we can mount our PVFS2 file system (and verify
 that it's properly mounted) as follows:
 
-\subsubsection{Mounting a PVFS2 volume under 2.6.x}
-For 2.6.x kernels ONLY:
-
 \begin{verbatim}
 lain pvfs2 # mount -t pvfs2 tcp://testhost:3334/pvfs2-fs /mnt/pvfs2
 lain pvfs2 # mount | grep pvfs2
 tcp://lain.mcs.anl.gov:3334/pvfs2-fs on /tmp/mnt type pvfs2 (rw)
 \end{verbatim}
 
-\subsubsection{Mounting a PVFS2 volume under 2.4.x}
-For 2.4.x kernels ONLY:
-
-\begin{verbatim}
-gil:~# mount -t pvfs2 pvfs2 /mnt/pvfs2 -o tcp://testhost:3334/pvfs2-fs
-gil:~# mount | grep pvfs2
-pvfs2 on /mnt/pvfs2 type pvfs2 (rw)
-\end{verbatim}
-
 NOTE: The device of the format tcp://testhost:3334/pvfs2-fs MUST be
 specified, as we need to know a valid running pvfs2-server and file
 system name to dynamically mount a pvfs2 volume.  These values can be
@@ -831,6 +819,24 @@ drwxr-xr-x    2 root     root           
 drwxr-xr-x    3 root     root            0 Aug 15 13:21 ..
 -rw-r--r--    1 root     root       330526 Aug 15 13:30 foo
 \end{verbatim}
+
+\subsubsection{Special Note for 2.4 kernels}
+
+We need a small helper application \texttt{/sbin/mount.pvfs2} to mount pvfs2
+under 2.4 kernels.   It must be installed under \texttt{/sbin}.  Note that
+``make install'' will not touch \texttt{/sbin}, so you will have to install it
+by hand.  With the helper application installed, the 2.6 mount commands and
+fstab entries are the same.  
+
+If you do not have \texttt{/sbin/mount.pvfs2} available, you can still use the
+old appraoch:
+
+\begin{verbatim}
+gil:~# mount -t pvfs2 pvfs2 /mnt/pvfs2 -o tcp://testhost:3334/pvfs2-fs
+gil:~# mount | grep pvfs2
+pvfs2 on /mnt/pvfs2 type pvfs2 (rw)
+\end{verbatim}
+
 
 \subsection{Unmounting and stopping PVFS2 on a client}
 



More information about the PVFS2-CVS mailing list