[OpenAFS] Solaris 10 - OpenAFS can't mount

Paulo Roberto Vieira Brandão beto@inf.ufes.br
Fri, 3 Apr 2009 18:06:24 -0300


--001636aa2c14e427070466aceb70
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi,
I'm trying to setup my first AFS machine on a Solaris 10 box, using
sunx86_510.namei.tar.gz .
I can load the modules: libafs.nonfs.o and libafs64.nonfs.o.

# /etc/init.d/afs start
Entry for afs already exists in /etc/name_to_sysnum
Loading NFS server kernel extensions
Loading AFS kernel extensions
/usr/vice/etc/afsd does not exist. Not starting AFS client.

The mountall version of the Solaris 10 is different of the QuickBeginner's
Guide's mountall and I was not able to make the last modification.

Does someone have the modifications of mountall and fsckall needed for the
Solaris 10?

But even when I try to do mount manully, I got:

# mount -F afs /dev/dsk/c1d0s3 /vicepa/
mount: Operation not applicable to FSType afs

I also tried to "format" the slice as afs, as showed:
http://www.captain.at/programming/openafs/
using the mkfs -F afs
But the error persist.

There is no message on /var/adm/messages.

Thanks in advance.


/etc/vfstab

#device         device          mount           FS      fsck    mount
mount
#to mount       to fsck         point           type    pass    at boot
options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c1d0s1 -       -       swap    -       no      -
/dev/dsk/c1d0s0 /dev/rdsk/c1d0s0        /       ufs     1       no      -
/dev/dsk/c1d0s3 /dev/rdsk/c1d0s3       /vicepa afs    2       yes     -
/dev/dsk/c2d0s3 /dev/rdsk/c2d0s3       /vicepb afs    2        yes     -
/devices        -       /devices        devfs   -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -

root@master:~# mountall
mount: Operation not applicable to FSType afs
mount: Operation not applicable to FSType afs

--001636aa2c14e427070466aceb70
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br>I&#39;m trying to setup my first AFS machine on a Solaris 10 box, us=
ing sunx86_510.namei.tar.gz .<br>I can load the modules: libafs.nonfs.o and=
 libafs64.nonfs.o.<br><br># /etc/init.d/afs start<br>Entry for afs already =
exists in /etc/name_to_sysnum<br>
Loading NFS server kernel extensions<br>Loading AFS kernel extensions<br>/u=
sr/vice/etc/afsd does not exist. Not starting AFS client.<br><br>The mounta=
ll version of the Solaris 10 is different of the QuickBeginner&#39;s Guide&=
#39;s mountall and I was not able to make the last modification.<br>
<br>Does someone have the modifications of mountall and fsckall needed for =
the Solaris 10?<br><br>But even when I try to do mount manully, I got:<br><=
br># mount -F afs /dev/dsk/c1d0s3 /vicepa/<br>mount: Operation not applicab=
le to FSType afs<br>
<br>I also tried to &quot;format&quot; the slice as afs, as showed: <a href=
=3D"http://www.captain.at/programming/openafs/">http://www.captain.at/progr=
amming/openafs/</a><br>using the mkfs -F afs<br>But the error persist.<br>
<br>There is no message on /var/adm/messages.<br><br>Thanks in advance.<br>=
<br><br>/etc/vfstab<br><br>#device=A0=A0=A0=A0=A0=A0=A0=A0 device=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 mount=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FS=A0=A0=A0=A0=A0 fs=
ck=A0=A0=A0 mount=A0=A0 mount<br>#to mount=A0=A0=A0=A0=A0=A0 to fsck=A0=A0=
=A0=A0=A0=A0=A0=A0 point=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 type=A0=A0=A0 pass=
=A0=A0=A0 at boot options<br>
#<br>fd=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0=A0 /dev/fd fd=A0=A0=A0=A0=A0 -=A0=
=A0=A0=A0=A0=A0 no=A0=A0=A0=A0=A0 -<br>/proc=A0=A0 -=A0=A0=A0=A0=A0=A0 /pro=
c=A0=A0 proc=A0=A0=A0 -=A0=A0=A0=A0=A0=A0 no=A0=A0=A0=A0=A0 -<br>/dev/dsk/c=
1d0s1 -=A0=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0=A0 swap=A0=A0=A0 -=A0=A0=A0=A0=
=A0=A0 no=A0=A0=A0=A0=A0 -<br>/dev/dsk/c1d0s0 /dev/rdsk/c1d0s0=A0=A0=A0=A0=
=A0=A0=A0 /=A0=A0=A0=A0=A0=A0 ufs=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0 no=A0=A0=
=A0=A0=A0 -<br>
/dev/dsk/c1d0s3 /dev/rdsk/c1d0s3=A0=A0=A0=A0=A0=A0 /vicepa afs=A0=A0=A0 2 =
=A0=A0=A0=A0=A0 yes=A0=A0=A0=A0 -<br>/dev/dsk/c2d0s3 /dev/rdsk/c2d0s3=A0=A0=
=A0=A0=A0=A0 /vicepb afs=A0=A0=A0 2 =A0=A0=A0=A0=A0=A0 yes=A0=A0=A0=A0 -<br=
>/devices=A0=A0=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0=A0 /devices=A0=A0=A0=A0=A0=
=A0=A0 devfs=A0=A0 -=A0=A0=A0=A0=A0=A0 no=A0=A0=A0=A0=A0 -<br>ctfs=A0=A0=A0=
 -=A0=A0=A0=A0=A0=A0 /system/contract=A0=A0=A0=A0=A0=A0=A0 ctfs=A0=A0=A0 -=
=A0=A0=A0=A0=A0=A0 no=A0=A0=A0=A0=A0 -<br>
objfs=A0=A0 -=A0=A0=A0=A0=A0=A0 /system/object=A0 objfs=A0=A0 -=A0=A0=A0=A0=
=A0=A0 no=A0=A0=A0=A0=A0 -<br>swap=A0=A0=A0 -=A0=A0=A0=A0=A0=A0 /tmp=A0=A0=
=A0 tmpfs=A0=A0 -=A0=A0=A0=A0=A0=A0 yes=A0=A0=A0=A0 -<br><br>root@master:~#=
 mountall<br>mount: Operation not applicable to FSType afs<br>mount: Operat=
ion not applicable to FSType afs<br>
<br><br>

--001636aa2c14e427070466aceb70--