[OpenAFS] Users having problems getting into their home directories

Madhusudan Singh singh.madhusudan@gmail.com
Thu, 15 Dec 2005 16:07:50 -0500


Hi

I deployed an openafs server on Debian Linux about 4 months ago. It has a 
backup process defined under AFS that creates backups at 0100 hrs. It has 
been up ever since. However, starting this morning, users can no longer get 
into their volumes. I have rebooted and restarted openafs-client services, 
but to no avail.

(msingh belongs to system.administrators)

Last login: Thu Dec 15 15:51:43 2005 from x.y.z.w
Could not chdir to home directory /afs/omega.domain.edu/user/msingh: 
Permission denied
-bash: /afs/omega.domain.edu/user/msingh/.bash_profile: Permission denied
msingh@omega:/$ id
uid=58015(msingh) gid=501(bgroup) groups=501(bgroup)
msingh@omega:/$ cd
-bash: cd: /afs/omega.domain.edu/user/msingh: Permission denied

# pwd
/afs/omega.mit.edu/user

drwxr-xr-x  212 msingh  bgroup 18432 2005-12-13 20:33 msingh

Processes running :

omega:/# ps -u root | grep "afs"
 2204 ?        00:00:00 afs_rxlistener
 2205 ?        00:00:00 afs_callback
 2208 ?        00:00:00 afs_rxevent
 2209 ?        00:00:00 afsd
 2211 ?        00:00:00 afsd
 2215 ?        00:00:00 afs_checkserver
 2216 ?        00:00:00 afs_background
 2217 ?        00:00:00 afs_background
 2219 ?        00:00:00 afs_background
 2221 ?        00:00:00 afs_cachetrim

(why are there two afsd processes running ?)

Module                  Size  Used by    Tainted: P
openafs               533376   3
ipt_limit                920   2  (autoclean)
ipt_state                568  28  (autoclean)
ipt_LOG                 3480   2  (autoclean)
ipt_REJECT              3832   2  (autoclean)
ip_conntrack_ftp        3920   0  (unused)
ip_conntrack           19784   1  [ipt_state ip_conntrack_ftp]
iptable_filter          1772   1  (autoclean)
ip_tables              12416   5  [ipt_limit ipt_state ipt_LOG ipt_REJECT 
iptable_filter]
ehci-hcd               18412   0  (unused)
usb-uhci               23344   0  (unused)
usbcore                62892   1  [ehci-hcd usb-uhci]
ide-scsi                9872   0
tg3                    56656   1
firmware_class          3932   0  [tg3]
reiserfs              187120   4  (autoclean)
ide-detect               288   0  (unused)
ide-cd                 31136   0
cdrom                  29472   0  [ide-cd]
ide-core              107448   0  [ide-scsi ide-detect ide-cd]
rtc                     6440   0  (autoclean)
ext3                   80876   4  (autoclean)
jbd                    42244   4  (autoclean) [ext3]
sd_mod                 11756  18  (autoclean)
aacraid                30980   9  (autoclean)
scsi_mod               94724   3  (autoclean) [ide-scsi sd_mod aacraid]
unix                   14960  27  (autoclean)

Any help debugging the problem and restoring sanity would be appreciated.