[OpenAFS] OpenAFS install on Solaris 10
Mukarram Syed
muksyed@stanford.edu
Thu, 30 Apr 2009 12:35:59 -0700
This is a multipart message in MIME format.
------=_NextPart_000_00C8_01C9C990.37A4F180
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi folks,
I am trying to implement OpenAFS on Solaris 10 at our dept at Stanford.
Officially OpenAFS is not supported at Stanford, but our apps team requires
it and I chose to put it on Solaris 10, which I have never done before.
I have configured the /usr/vice/etc directory with the following.
/usr/vice/etc # ls -arlt
total 1516
-rw-r--r-- 1 root root 29 Aug 31 1992 ThisCell
-rw-r--r-- 1 root root 40 Apr 24 2003 CellAlias
-rw-r--r-- 1 root root 4417 Apr 28 2003 afs.rc
-rwxr-xr-x 1 root root 752252 Jul 25 2003 afsd
-rw-r--r-- 1 root root 344 Aug 20 2003 Instructions
drwx--x--x 2 134 250 512 Apr 2 14:37 modload
drwxr-xr-x 2 root root 512 Apr 29 20:41 C
-rw-r--r-- 1 root root 28 Apr 29 20:53 cacheinfo
drwxr-xr-x 4 root root 512 Apr 29 20:54 ..
-rw------- 1 root root 0 Apr 29 20:54 AFSLog
drwxr-xr-x 4 root root 512 Apr 29 20:54 .
-rw-r--r-- 1 root root 208 Apr 29 21:59 CellServDB
Added "afs 65" to /etc/name_to_sysnum.
The ThisCell, CellAlias, CellServDB are specific to Stanford University.
Copied the modload files over to :
cp -p modload/libafs64.nonfs.o /kernel/fs/sparcv9/afs
chown root:sys /kernel/fs/sparcv9/afs
chmod 755 /kernel/fs/sparcv9/afs
Created the following directories and cache file:
mkdir /usr/vice/cache
mkdir /afs
echo "/afs:/usr/vice/cache:300000" > /usr/vice/etc/cacheinfo
Now when I start AFS, I get this hang:
# /etc/init.d/afs start
Entry for afs already exists in /etc/name_to_sysnum
Loading NFS server kernel extensions
Loading AFS kernel extensions
Starting afsd
When I ps -ef |grep afs I get this.. and these processes never go away and I
can't control+C out of it.
root 678 1 0 22:09:55 ? 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
root 744 1 0 22:13:44 ? 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
root 3732 3726 0 12:28:55 pts/4 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
root 682 678 0 22:09:55 ? 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
root 681 678 0 22:09:55 ? 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
root 3726 3709 0 12:28:55 pts/4 0:00 /bin/sh /etc/init.d/afs
start
root 680 678 0 22:09:55 ? 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
root 747 744 0 22:13:44 ? 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
root 748 744 0 22:13:44 ? 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
root 3736 3732 0 12:28:55 pts/4 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
root 3735 3732 0 12:28:55 pts/4 0:00 /usr/vice/etc/afsd -stat
2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
Any suggestions might help.
Thanks
# mukarram.
Mukarram Syed
Unix Systems Administrator,
Administrative Services, Stanford University
3145 Porter Drive,
#215, Bear Creek Building
Palo Alto, CA 94305
Phone: 650-736-7647
Cell: 408-480-8841
Email: <mailto:muksyed@stanford.edu> muksyed@stanford.edu
------=_NextPart_000_00C8_01C9C990.37A4F180
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
line-height:13.2pt;
background:#F9F9F9;
border:none;
padding:0in;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
color:black;
background:#F9F9F9;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal>Hi folks,<o:p></o:p></p>
<p class=3DMsoNormal>I am trying to implement OpenAFS on Solaris 10 at =
our dept
at Stanford. Officially OpenAFS is not supported at Stanford, but =
our
apps team requires it and I chose to put it on Solaris 10, which I have =
never
done before.<o:p></o:p></p>
<p class=3DMsoNormal>I have configured the /usr/vice/etc directory with =
the
following…<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>/usr/vice/etc # ls
-arlt<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>total =
1516<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>-rw-r--r--
1 root
root 29 Aug =
31 1992
ThisCell<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>-rw-r--r--
1 root
root 40 Apr =
24 2003
CellAlias<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>-rw-r--r--
1 root =
root
4417 Apr 28 2003 afs.rc<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>-rwxr-xr-x
1 root root 752252 =
Jul
25 2003 afsd<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>-rw-r--r--
1 root
root 344 Aug 20 =
2003
Instructions<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>drwx--x--x
2 134
250 512 Apr =
2 14:37
modload<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>drwxr-xr-x
2 root
root 512 Apr 29 20:41 =
C<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>-rw-r--r--
1 root
root 28 Apr 29 =
20:53
cacheinfo<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>drwxr-xr-x
4 root
root 512 Apr 29 20:54 =
..<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>-rw-------
1 root
root 0 Apr =
29 20:54
AFSLog<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>drwxr-xr-x
4 root =
root
512 Apr 29 20:54 .<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>-rw-r--r--
1 root
root 208 Apr 29 21:59
CellServDB<o:p></o:p></span></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Added “afs =
65”
to /etc/name_to_sysnum.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>The ThisCell, CellAlias, CellServDB are specific to =
Stanford
University.<o:p></o:p></p>
<p class=3DMsoNormal>Copied the modload files over to :<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>cp -p
modload/libafs64.nonfs.o /kernel/fs/sparcv9/afs<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>chown =
root:sys
/kernel/fs/sparcv9/afs<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>chmod 755
/kernel/fs/sparcv9/afs<o:p></o:p></span></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Created the following directories and cache =
file:<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>mkdir
/usr/vice/cache<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>mkdir =
/afs<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'><o:p> </o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>echo
"/afs:/usr/vice/cache:300000" > =
/usr/vice/etc/cacheinfo<o:p></o:p></span></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Now when I start AFS, I get this =
hang:<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'># =
/etc/init.d/afs
start<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>Entry for =
afs
already exists in /etc/name_to_sysnum<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>Loading =
NFS server
kernel extensions<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>Loading =
AFS kernel
extensions<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-family:"Courier New"'>Starting =
afsd<o:p></o:p></span></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>When I ps –ef |grep afs I get this.. and =
these
processes never go away and I can’t control+C out of =
it.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><span style=3D'font-size:8.0pt;font-family:"Courier =
New"'>
</span><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>root
678 1 0 22:09:55
? 0:00
/usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3 -volumes 70 =
-afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 744 1 0 22:13:44
? 0:00
/usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3 -volumes 70 =
-afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 3732 3726 0 12:28:55
pts/4 0:00 /usr/vice/etc/afsd -stat =
2000
-dcache 800 -daemons 3 -volumes 70 -afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 682 678 0 22:09:55
? 0:00
/usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3 -volumes 70 =
-afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 681 678 0 22:09:55
? 0:00
/usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3 -volumes 70 =
-afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 3726 3709 0 12:28:55
pts/4 0:00 /bin/sh /etc/init.d/afs =
start<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 680 678 0 22:09:55
? 0:00
/usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3 -volumes 70 =
-afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 747 744 0 22:13:44
? 0:00
/usr/vice/etc/afsd -stat 2000 -dcache 800 -daemons 3 -volumes 70 =
-afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 748 744 0 22:13:44
? 0:00 =
/usr/vice/etc/afsd
-stat 2000 -dcache 800 -daemons 3 -volumes 70 =
-afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 3736 3732 0 12:28:55
pts/4 0:00 /usr/vice/etc/afsd -stat =
2000
-dcache 800 -daemons 3 -volumes 70 -afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Courier =
New"'>
root 3735 3732 0 12:28:55
pts/4 0:00 /usr/vice/etc/afsd -stat =
2000
-dcache 800 -daemons 3 -volumes 70 -afsdb<o:p></o:p></span></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Any suggestions might help.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Thanks<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal># mukarram.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Mukarram Syed</span></b><b><o:p></o:p></b></p>
<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Unix Systems Administrator</span><span =
style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>, <o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Administrative Services, </span><span =
style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>Stanford =
University</span><span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'><o=
:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>3145 Porter Drive,<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>#215, Bear Creek Building<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Palo Alto, CA 94305<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Phone: 650-736-7647<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Cell: 408-480-8841<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Email: <a href=3D"mailto:muksyed@stanford.edu"
title=3D"mailto:muksyed@stanford.edu"><span =
style=3D'color:navy;text-decoration:
none'>muksyed@stanford.edu</span></a></span><o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
</body>
</html>
------=_NextPart_000_00C8_01C9C990.37A4F180--