Andree Leidenfrost <[EMAIL PROTECTED]> writes:

On Tue, 2006-09-05 at 16:46 -0400, kcheek wrote: 
>>   - mondoarchive should check if filesystems are read-only before
>>   trying to use them for scratch or temp
>
> Hm, interesting point. I thought it did but might be wrong. Need to look
> into this.

It probably does check, but maybe not in a way that makes sense for
afs.  /afs isn't mounted read-only, but I believe the root of /afs is
always read-only, so it doesn't make sense to try to write temp and
scratch there.

> It's about eight years since I last used AFS. ;-)
>
> What does the output of mount say on your system, what is in fstab?

prntsrv% mount
/dev/hda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda1 on /boot type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)
AFS on /afs type afs (rw)
automount(pid27725) on /mnt/nfs type autofs 
(rw,fd=4,pgrp=27725,minproto=2,maxproto=4)

prntsrv% cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>               <dump>  <pass>
/dev/hda2       /               ext3    errors=remount-ro       0       1
/dev/hda3       none            swap    sw                      0       0
proc            /proc           proc    defaults                0       0
/dev/fd0        /floppy         auto    user,noauto             0       0
/dev/cdrom      /cdrom          iso9660 ro,user,noauto          0       0
/dev/hda1       /boot   ext3    defaults                        0       2

> And/or how do you mount an AFS filesystem? Would you be aware of any
> publicly accessible AFS volumes that I could mount for test purposes?
>
> Best regards & thanks a lot,
> Andree

To use AFS on debian, you'll need at least the openafs-client package
installed.  You'll also need openafs-modules-[kernel version] for your
running kernel, normally built from the openafs-modules-source
package.  Since I'm using sarge, I'm using backported openafs packages
from unstable (openafs 1.4.1).

I'd be happy to make my backported openafs packages available to you
(including the kernel module package for the standard debian
2.6.8-3-686-smp kernel), if that would be helpful.

/afs gets mounted when /etc/init.d/openafs-client is started.

Once /afs is mounted, you can cd into /afs/[cell-name] to access the
afs cell you want to use.  Ours is /afs/sph.umich.edu/.

Hope that helps!

-Kevin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to