* newbie autofs problem
@ 2006-04-10 15:45 pablo.roldan
2006-04-12 18:37 ` Jeff Moyer
0 siblings, 1 reply; 2+ messages in thread
From: pablo.roldan @ 2006-04-10 15:45 UTC (permalink / raw)
To: autofs
Hi,
I'm using autofs to automount the home dirs of my users, distributed among
several machines. The config files are:
***** /etc/auto.master: *****
/home /etc/auto_home
***** end /etc/auto.master *****
***** /etc/auto_home: *****
canalias -rsize=8192,wsize=8192 e04:/homes/&
jmbenita -rsize=8192,wsize=8192 e05:/homes/&
...
***** end /etc/auto_home *****
Until now, it was all working fine. A few days ago I moved the directory
e04:/homes from / to a (larger) partition, which I now mount as /homes:
***** /etc/fstab: *****
# /etc/fstab: static file system information.
#
#<file sys> <mount point> <type> <options> <dump> <pass>
/dev/sda3 / ext3 rw,errors=remount-ro 0 1
/dev/sda2 none swap rw 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbdevfs defaults
/dev/fd0 /floppy auto users,noauto 0 0
/dev/sda5 /usr ext3 defaults 0 2
/dev/sda6 /homes ext3 defaults 0 2
***** end /etc/fstab *****
Since that moment, I am having problems accessing anything below /home. For
instance, I can't do
ls /home
because the shell hangs. It just becomes irresponsive.
There are currently Condor processes running with working directory
/home/canalias.
I've been trying to find out what's going on, with no luck for the moment. Any
hint would be greatly appreciated. I don't even know where to look for logged
errors from the automounter.
I next list the output of command "mount" and "autofs status" for reference:
eixam:~# mount
/dev/sda3 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/sda5 on /usr type ext3 (rw)
/dev/sda6 on /homes type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)
automount(pid1377) on /home type autofs
(rw,fd=4,pgrp=1377,minproto=2,maxproto=4)
/homes/condor on /home/condor type none (rw,bind)
e04:/homes/canalias on /home/canalias type nfs
(rw,rsize=8192,wsize=8192,addr=192.168.1.4)
e05:/homes/jmbenita on /home/jmbenita type nfs
(rw,rsize=8192,wsize=8192,addr=192.168.1.5)
eixam:~# /etc/init.d/autofs status
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout=300 /home file /etc/auto_home
Active Mount Points:
--------------------
/usr/sbin/automount --pid-file=/var/run/autofs/_home.pid --timeout=300 /home
file /etc/auto_home
Thanks a lot,
/P
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: newbie autofs problem
2006-04-10 15:45 newbie autofs problem pablo.roldan
@ 2006-04-12 18:37 ` Jeff Moyer
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Moyer @ 2006-04-12 18:37 UTC (permalink / raw)
To: pablo.roldan; +Cc: autofs
==> Regarding [autofs] newbie autofs problem; pablo.roldan@upc.edu adds:
pablo.roldan> Hi, I'm using autofs to automount the home dirs of my users,
pablo.roldan> distributed among several machines. The config files are:
pablo.roldan> ***** /etc/auto.master: ***** /home /etc/auto_home ***** end
pablo.roldan> /etc/auto.master *****
pablo.roldan> ***** /etc/auto_home: ***** canalias -rsize=8192,wsize=8192
pablo.roldan> e04:/homes/& jmbenita -rsize=8192,wsize=8192 e05:/homes/& ...
pablo.roldan> ***** end /etc/auto_home *****
pablo.roldan> Until now, it was all working fine. A few days ago I moved
pablo.roldan> the directory e04:/homes from / to a (larger) partition,
pablo.roldan> which I now mount as /homes:
Did you make sure that no clients had the file system mounted? You simply
can't move things around like this and expect it to work.
pablo.roldan> ***** /etc/fstab: ***** # /etc/fstab: static file system
pablo.roldan> information. # #<file sys> <mount point> <type> <options>
pablo.roldan> <dump> <pass> /dev/sda3 / ext3 rw,errors=remount-ro 0 1
pablo.roldan> /dev/sda2 none swap rw 0 0 none /proc proc defaults 0 0 none
pablo.roldan> /proc/bus/usb usbdevfs defaults /dev/fd0 /floppy auto
pablo.roldan> users,noauto 0 0 /dev/sda5 /usr ext3 defaults 0 2 /dev/sda6
pablo.roldan> /homes ext3 defaults 0 2 ***** end /etc/fstab *****
pablo.roldan> Since that moment, I am having problems accessing anything
pablo.roldan> below /home. For instance, I can't do
pablo.roldan> ls /home
pablo.roldan> because the shell hangs. It just becomes irresponsive.
On the client system? I'm surprised it hangs, but ESTALE would be very
likely. Alt-Sysrq-t will show where the ls is hanging out. However, this
really sounds like an administrative error. Reboot the client.
The automounter logs to /var/log/messages. You should check there for any
error messages if you feel this isn't purely a user error.
-Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-12 18:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10 15:45 newbie autofs problem pablo.roldan
2006-04-12 18:37 ` Jeff Moyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.