[OpenAFS] FW: afs_syscall - problem!

Kris Van Hees aedil-afs@alchar.org
Tue, 25 May 2004 12:21:47 -0400


You wrote earlier that you create the /vicepa partition using:

dd if=/dev/zero of=/var/lib/openafs/vicepa bs=1024k count=32
mke2fs /var/lib/openafs/vicepa
mkdir /vicepa
mount -oloop /var/lib/openafs/vicepa /vicepa

Now, given that you are using dd to create an empty file, that you then build
a filesystem on, and then you use a loopback mount...  Well, that file remains
after a reboot, right?  So, during the boot you just issue the loopback mount
command again, once again mounting the file as the /vicepa filesystem, and
you should not have to recreate anything (since the content of the file remains
valid, if it is sync'd properly during the shutdown).

If you recreate the backing file for /vicepa at every reboot, you would have
to recreate (or restore) the root.afs volume, and ensure that it is online
before starting the client portion of AFS, or else it definitely will not be
able to mount AFS.

	Kris

On Tue, May 25, 2004 at 04:47:35PM +0100, Luis Bivar Ramos wrote:
> Root.afs
> 
> Just  one question:
> 
> Ih ave the /vicepa partition mounted as i said before, that means that every
> time i reboot the machine é have to create it again. I'm guessing that I've
> to restore the root.afs volume, right?  How can I do that, restore the
> volume on the partition?
> 
> 
> 
> Luis Bivar Ramos
>  
> 
> -----Original Message-----
> From: Derek Atkins [mailto:warlord@MIT.EDU] 
> Sent: terça-feira, 25 de Maio de 2004 16:44
> To: Luis Bivar Ramos
> Cc: 'Horst Birthelmer'; openafs-info@openafs.org
> Subject: Re: [OpenAFS] FW: afs_syscall - problem!
> 
> "Luis Bivar Ramos" <lbramos@netcabo.pt> writes:
> 
> > Hi,
> >
> > Here is the output of the bos status command:
> >
> > bos status afs.artistas.org -noauth
> > Instance kaserver, currently running normally.
> > Instance buserver, currently running normally.
> > Instance ptserver, currently running normally.
> > Instance vlserver, currently running normally.
> > Instance fs, currently running normally.
> >     Auxiliary status is: file server running.
> > Instance upserver, currently running normally.
> >
> > Yes, /afs exists.
> >
> > I've got afs.root created but not yet the afs.cell
> 
> Wait, "afs.root" or "root.afs"?  the name _MATTERS_.
> 
> > Should I create it now?
> 
> -derek
> 
> > Luis Bivar Ramos
> >  -----Original Message-----
> > From: Horst Birthelmer [mailto:horst@riback.net] 
> > Sent: terça-feira, 25 de Maio de 2004 16:26
> > To: Luis Bivar Ramos
> > Cc: 'Derek Atkins'; openafs-info@openafs.org
> > Subject: Re: [OpenAFS] FW: afs_syscall - problem!
> >
> >
> > On Tuesday, May 25, 2004, at 05:20  PM, Luis Bivar Ramos wrote:
> >
> >> Hi,
> >>
> >> This is the last part of the output... Before we've got lots of 
> >> SScall....
> >> Like this and then the final output
> >>
> >> 28, 10)=0 SScall(137, 28, 10)=0 SScall(137, 28, 10)=0 SScall(137, 28, 
> >> 10)=0
> >> SScall(137, 28, 10)=0 SScall(137, 28, 10)=0 SScall(137, 28, 10)=0
> >> SScall(137, 28, 10)=0 SScall(137, 28, 10)=0 SScall(137, 28, 10)=0
> >> SScall(137, 28, 10)=0 SScall(137, 28, 10)=0 SScall(137, 28, 10)=0
> >> SScall(137, 28, 10)=0 SScall(137, 28, 10)=0 SScall(137, 28, 10)=0
> >> SScall(137, 28, 100)=0 afsd: All AFS daemons started.
> >> afsd: Forking trunc-cache daemon.
> >> afsd: Mounting the AFS root on '/afs', flags: 0.
> >> SScall(137, 28, 3)=0 afsd: Can't mount AFS on /afs(22)
> >>
> >
> >  From that output ... everything looks OK but you still can't mount afs.
> > Are you shure you have the fileserver running??
> > You have afs.root and afs.cell volumes created??
> > CellServDB and ThisCell are OK??
> >
> > The question if /afs exists has been answered as far as I remember...
> >
> > Horst
> >
> >
> >
> >
> 
> -- 
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available
> 
> 
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 
Never underestimate a Mage with:
 - the Intelligence to cast Magic Missile,
 - the Constitution to survive the first hit, and
 - the Dexterity to run fast enough to avoid being hit a second time.