[OpenAFS] Re: [OpenAFS-devel] SOS: AFS instllation/Configuration

Srikanth Bhaskar srikanth.bhaskar@gmail.com
Thu, 1 Feb 2007 07:30:28 -0600


------=_Part_1589_7884788.1170336628239
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Now, when I run the initialization script on AIX, /etc/rc.afs; i got an
error that /usr is jfs2 and it needs to be jfs.

Hence, we created a new partition /afs1 with jfs and now updated the
cacheinfo to
/afs:/afs1/vice/cache:50000

when I run the initialization script AIX restarts. But when I revert back
the info in "cacheinfo", it does not.

Hence, debugging the rc.afs script, exit the script before running the afsd,
we diecided to go for -memcache

we ran: /usr/vice/etc/afsd -memcache -chunksize 28, the system restarts
again.

I am unable to run the script  to run the cache manager and go ahead with
this.

Has anyone come across this issue? Please help us resolve the issue.

Thanks,
Srikanth


On 2/1/07, Marcus Watts <mdw@umich.edu> wrote:
>
> "Srikanth Bhaskar" <srikanth.bhaskar@gmail.com> writes:
> > Hi All,
> >
> > Thank a lot for the wonderful response.
> >
> > I am able to setup the AFS Server on AIX 5.3 following the
> documentation.
> >
> > Now, I have 2 clients, one on Linux and one on Windows. On Linux, I
> logged
> > in and get this error. xyz.com cell is listed in /afs. It does exist on
> > CellServDB and ThisCell.
> > [root@bri6506-5-fc3-1 ~]# /usr/bin/klog admin
> > Password:
> > [root@bri6506-5-fc3-1 ~]# cd /afs/xyz.com
> > -bash: cd: /afs/xyz.com: No such device
> >
> > On Windows, I logged in, obtained the token. Mapped /afs to D: on my
> > machine. But in D: xyz.com is not listed in it.
> >
> > Please help me get through at this point. Am I doing anythin wrong? Shud
> I
> > be creating Volumes or stuff on the AIX box?
> ...
>
> Yes you should be creating Volumes or something.
> It doesn't matter if you do it under aix or RH, or even both,
> just so long as your client can talk to vl & vl properly
> knows where all the fileservers & volumes are.
>
> By convention, you should have at least these volumes:
>        root.cell       - root of *your* per-cell hierarchy.
>        root.afs        - volume that might be mounted as /afs .
>                                (if not using dynroot).
>                        should contain a mountpoint to at least root.cell.
> You will probably actually want more volumes than just these.
>
>                                        -Marcus
>



-- 
Regards,
Srikanth Bhaskar
Hyderabad
+91 9866649917
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
They may forget wat you said,
but  they will never forget how you made them feel..

------=_Part_1589_7884788.1170336628239
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Now, when I run the initialization script on AIX, /etc/rc.afs; i got an error that /usr is jfs2 and it needs to be jfs.</div>
<div>&nbsp;</div>
<div>Hence,&nbsp;we created a new partition /afs1 with jfs and now updated the cacheinfo to</div>
<div>/afs:/afs1/vice/cache:50000</div>
<div>&nbsp;</div>
<div>when I run the initialization script AIX restarts. But when I revert back the info in &quot;cacheinfo&quot;, it does not.</div>
<div>&nbsp;</div>
<div>Hence, debugging the rc.afs script, exit the script before running the afsd, we diecided to go for -memcache</div>
<div>&nbsp;</div>
<div>we ran: /usr/vice/etc/afsd -memcache -chunksize 28, the system restarts again.</div>
<div>&nbsp;</div>
<div>I am unable to run the script&nbsp; to run the cache manager and go ahead with this.</div>
<div>&nbsp;</div>
<div>Has anyone come across this issue? Please help us resolve the issue.</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Srikanth<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 2/1/07, <b class="gmail_sendername">Marcus Watts</b> &lt;<a href="mailto:mdw@umich.edu">mdw@umich.edu</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&quot;Srikanth Bhaskar&quot; &lt;<a href="mailto:srikanth.bhaskar@gmail.com">srikanth.bhaskar@gmail.com</a>
&gt; writes:<br>&gt; Hi All,<br>&gt;<br>&gt; Thank a lot for the wonderful response.<br>&gt;<br>&gt; I am able to setup the AFS Server on AIX 5.3 following the documentation.<br>&gt;<br>&gt; Now, I have 2 clients, one on Linux and one on Windows. On Linux, I logged
<br>&gt; in and get this error. <a href="http://xyz.com">xyz.com</a> cell is listed in /afs. It does exist on<br>&gt; CellServDB and ThisCell.<br>&gt; [root@bri6506-5-fc3-1 ~]# /usr/bin/klog admin<br>&gt; Password:<br>&gt; [
root@bri6506-5-fc3-1 ~]# cd /afs/xyz.com<br>&gt; -bash: cd: /afs/xyz.com: No such device<br>&gt;<br>&gt; On Windows, I logged in, obtained the token. Mapped /afs to D: on my<br>&gt; machine. But in D: <a href="http://xyz.com">
xyz.com</a> is not listed in it.<br>&gt;<br>&gt; Please help me get through at this point. Am I doing anythin wrong? Shud I<br>&gt; be creating Volumes or stuff on the AIX box?<br>...<br><br>Yes you should be creating Volumes or something.
<br>It doesn&#39;t matter if you do it under aix or RH, or even both,<br>just so long as your client can talk to vl &amp; vl properly<br>knows where all the fileservers &amp; volumes are.<br><br>By convention, you should have at least these volumes:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root.cell&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - root of *your* per-cell hierarchy.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root.afs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- volume that might be mounted as /afs .<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (if not using dynroot).<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; should contain a mountpoint to at least 
root.cell.<br>You will probably actually want more volumes than just these.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Marcus<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Srikanth Bhaskar<br>Hyderabad
<br>+91 9866649917<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>They may forget wat you said, <br>but&nbsp;&nbsp;they will never forget how you made them feel.. 

------=_Part_1589_7884788.1170336628239--