[OpenAFS] FW: afs_syscall - problem!

Luis Bivar Ramos lbramos@netcabo.pt
Tue, 25 May 2004 17:59:45 +0100


OK!

I'll check everything again, but i think that the problem is not there!

But at least, it simplifies things.

Thanks

Luis Bivar Ramos
 -----Original Message-----
From: openafs-info-admin@openafs.org =
[mailto:openafs-info-admin@openafs.org]
On Behalf Of Kris Van Hees
Sent: ter=E7a-feira, 25 de Maio de 2004 17:22
To: openafs-info@openafs.org
Subject: Re: [OpenAFS] FW: afs_syscall - problem!

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

dd if=3D/dev/zero of=3D/var/lib/openafs/vicepa bs=3D1024k count=3D32
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
>=20
> Just  one question:
>=20
> Ih ave the /vicepa partition mounted as i said before, that means that
every
> time i reboot the machine =E9 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?
>=20
>=20
>=20
> Luis Bivar Ramos
> =20
>=20
> -----Original Message-----
> From: Derek Atkins [mailto:warlord@MIT.EDU]=20
> Sent: ter=E7a-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!
>=20
> "Luis Bivar Ramos" <lbramos@netcabo.pt> writes:
>=20
> > 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
>=20
> Wait, "afs.root" or "root.afs"?  the name _MATTERS_.
>=20
> > Should I create it now?
>=20
> -derek
>=20
> > Luis Bivar Ramos
> >  -----Original Message-----
> > From: Horst Birthelmer [mailto:horst@riback.net]=20
> > Sent: ter=E7a-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=20
> >> SScall....
> >> Like this and then the final output
> >>
> >> 28, 10)=3D0 SScall(137, 28, 10)=3D0 SScall(137, 28, 10)=3D0 =
SScall(137, 28,=20
> >> 10)=3D0
> >> SScall(137, 28, 10)=3D0 SScall(137, 28, 10)=3D0 SScall(137, 28, =
10)=3D0
> >> SScall(137, 28, 10)=3D0 SScall(137, 28, 10)=3D0 SScall(137, 28, =
10)=3D0
> >> SScall(137, 28, 10)=3D0 SScall(137, 28, 10)=3D0 SScall(137, 28, =
10)=3D0
> >> SScall(137, 28, 10)=3D0 SScall(137, 28, 10)=3D0 SScall(137, 28, =
10)=3D0
> >> SScall(137, 28, 100)=3D0 afsd: All AFS daemons started.
> >> afsd: Forking trunc-cache daemon.
> >> afsd: Mounting the AFS root on '/afs', flags: 0.
> >> SScall(137, 28, 3)=3D0 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
> >
> >
> >
> >
>=20
> --=20
>        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
>=20
>=20
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

--=20
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.
_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info