autofs problem
Ian Kent
maintainerQuoted 49 lines · On Tue, 2011-03-08 at 11:24 +0000, [email protected] wrote:
Hello,
I am experiencing autofs problems with my Centos 5.5 system. Upon boot, the mount fails with the following error messages (created by passing the -d option in the automount):
Mar 8 10:38:19 cn024 automount[6395]: do_notify_state: signal 15 Mar 8 10:38:19 cn024 automount[6395]: master_notify_state_change: sig 15 switching /home from 1 to 5 Mar 8 10:38:19 cn024 automount[6395]: st_prepare_shutdown: state 1 path /home Mar 8 10:38:19 cn024 automount[6395]: expire_proc: exp_proc = 1090562368 path /home Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: got thid 1090562368 path /home stat 0 Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: sigchld: exp 1090562368 finished, switching from 5 to 7 Mar 8 10:38:19 cn024 automount[6395]: st_shutdown: state 5 path /home Mar 8 10:38:19 cn024 smartd[7258]: smartd has fork()ed into background mode. New PID=7258. Mar 8 10:38:19 cn024 automount[6395]: umount_multi: path /home incl 0 Mar 8 10:38:19 cn024 automount[6395]: umounted indirect mount /home Mar 8 10:38:19 cn024 automount[6395]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-home Mar 8 10:38:19 cn024 automount[6395]: shut down path /home Mar 8 10:38:19 cn024 automount[6395]: autofs stopped Mar 8 10:38:28 cn024 automount[7334]: Starting automounter version 5.0.1-0.rc2.143.el5, master map auto.master Mar 8 10:38:28 cn024 automount[7334]: using kernel protocol version 5.01 Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_master: reading master files auto.master Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init gathered global options: (null) Mar 8 10:38:28 cn024 automount[7334]: lookup_read_master: lookup(file): read entry /home Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: mounting /home Mar 8 10:38:28 cn024 automount[7334]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-home Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_map: reading map file /etc/auto.home Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init gathered global options: rw,intr Mar 8 10:38:28 cn024 automount[7334]: do_mount_autofs_indirect: failed to create ioctl fd for autofs path /home Mar 8 10:38:28 cn024 automount[7334]: handle_mounts: mount of /home failed! Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: failed to startup mount Mar 8 10:38:28 cn024 automount[7334]: no mounts in table
Quoted 3 lines
The error messages to note are the last four lines. When I restart the daemon, the automount works, but fails after a day or two. The version of autofs I am using is:
What makes you think these are the same problem?
Did you check to see if /home was already mounted when it failed? What is in your /etc/sysconfig/autofs?
Quoted 22 lines
Name : autofs Relocations: (not relocatable)
Version : 5.0.1 Vendor: CentOS
Release : 0.rc2.143.el5_5.6Any help will be greatly appreciated. Thanks in advance.
----------
Wadud Miah
High Performance Computing Systems Developer Research Computing Services, University of East Anglia
Telephone: 01603 593856Information Services
----------_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Hello Ian,
Thank you for your reply. The contents of /etc/sysconfig/autofs are:
[root@head00 ~]# grep -v '^#' /etc/sysconfig/autofs TIMEOUT=300
BROWSE_MODE="no"
USE_MISC_DEVICE="yes"
[root@head00 ~]#
When the machine boots up, it completely fails to mount /home/<username>; it just complains that /home/<username> doesn't exist. The contents of /var/log/messages then show the message given below, thus I assume that they are related. Do let me know if you require further information. Googling around for the error message hasn't been very successful :-(
Thanks for your help,
Wadud.
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ian Kent
Sent: Sunday, March 13, 2011 1:29 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [autofs] autofs problem
Quoted 4 lines
Quoted 3 lines · On Tue, 2011-03-08 at 11:24 +0000, [email protected] wrote:
Hello,
I am experiencing autofs problems with my Centos 5.5 system. Upon boot,
the
Quoted 11 lines
Quoted 11 lines
mount fails with the following error messages (created by passing the -d option in the automount):
Mar 8 10:38:19 cn024 automount[6395]: do_notify_state: signal 15 Mar 8 10:38:19 cn024 automount[6395]: master_notify_state_change: sig 15 switching /home from 1 to 5 Mar 8 10:38:19 cn024 automount[6395]: st_prepare_shutdown: state 1 path /home Mar 8 10:38:19 cn024 automount[6395]: expire_proc: exp_proc = 1090562368 path /home Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: got thid
1090562368
Quoted 10 lines
Quoted 10 lines
path /home stat 0
Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: sigchld: exp 1090562368 finished, switching from 5 to 7 Mar 8 10:38:19 cn024 automount[6395]: st_shutdown: state 5 path /home Mar 8 10:38:19 cn024 smartd[7258]: smartd has fork()ed into background mode. New PID=7258. Mar 8 10:38:19 cn024 automount[6395]: umount_multi: path /home incl 0 Mar 8 10:38:19 cn024 automount[6395]: umounted indirect mount /home Mar 8 10:38:19 cn024 automount[6395]: automount_path_to_fifo: fifo name
/var/run/autofs.fifo-home
Quoted 8 lines
Quoted 8 lines
Mar 8 10:38:19 cn024 automount[6395]: shut down path /home Mar 8 10:38:19 cn024 automount[6395]: autofs stopped Mar 8 10:38:28 cn024 automount[7334]: Starting automounter version 5.0.1-0.rc2.143.el5, master map auto.master Mar 8 10:38:28 cn024 automount[7334]: using kernel protocol version 5.01 Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_master: reading master files auto.master Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init
gathered
Quoted 7 lines
Quoted 7 lines
global options: (null)
Mar 8 10:38:28 cn024 automount[7334]: lookup_read_master: lookup(file): read entry /home Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: mounting /home Mar 8 10:38:28 cn024 automount[7334]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-home Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_map: reading map
file
Quoted 2 lines
Quoted 2 lines
/etc/auto.homeMar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): init
gathered
Quoted 2 lines
Quoted 2 lines
global options: rw,intr
Mar 8 10:38:28 cn024 automount[7334]: do_mount_autofs_indirect: failed
to
Quoted 2 lines
Quoted 2 lines
create ioctl fd for autofs path /home
Mar 8 10:38:28 cn024 automount[7334]: handle_mounts: mount of /home
failed!
Quoted 41 lines
Quoted 7 lines
Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: failed to startup mount Mar 8 10:38:28 cn024 automount[7334]: no mounts in tableThe error messages to note are the last four lines. When I restart the daemon, the automount works, but fails after a day or two. The version of autofs I am using is:
What makes you think these are the same problem?
Did you check to see if /home was already mounted when it failed? What is in your/etc/sysconfig/autofs?Quoted 18 lines
Name : autofs Relocations: (not relocatable)
Version : 5.0.1 Vendor: CentOS
Release : 0.rc2.143.el5_5.6Any help will be greatly appreciated. Thanks in advance.
----------
Wadud Miah
High Performance Computing Systems Developer Research Computing Services, University of East Anglia
Telephone: 01603 593856Information Services
----------Quoted 4 lines
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs_______________________________________________
Hpc.admin mailing list
[email protected]
http://www.uea.ac.uk/mailman21/listinfo/hpc.admin
Ian Kent
maintainerQuoted 10 lines · On Mon, 2011-03-14 at 10:09 +0000, [email protected] wrote:
Hello Ian,
Thank you for your reply. The contents of
/etc/sysconfig/autofsare:[root@head00 ~]# grep -v '^#'
/etc/sysconfig/autofsTIMEOUT=300
BROWSE_MODE="no"
USE_MISC_DEVICE="yes"
[root@head00 ~]#
Quoted 5 lines
When the machine boots up, it completely fails to mount /home/<username>; it just complains that /home/<username> doesn't exist. The contents of
/var/log/messagesthen show the message given below, thus I assume that they are related. Do let me know if you require further information. Googling around for the error message hasn't been very successful :-(
Failing to open a control file handle on an automount is fatal. I don't know why that's happening.
We would probably need to add some log prints to get more information.
Quoted 107 lines
Thanks for your help,
Wadud.Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ian Kent
Sent: Sunday, March 13, 2011 1:29 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [autofs] autofs problemQuoted 4 lines
Quoted 3 lines · On Tue, 2011-03-08 at 11:24 +0000, [email protected] wrote:
Hello,
I am experiencing autofs problems with my Centos 5.5 system. Upon boot,
the
Quoted 11 lines
Quoted 11 lines
mount fails with the following error messages (created by passing the -d option in the automount):
Mar 8 10:38:19 cn024 automount[6395]: do_notify_state: signal 15 Mar 8 10:38:19 cn024 automount[6395]: master_notify_state_change: sig 15 switching /home from 1 to 5 Mar 8 10:38:19 cn024 automount[6395]: st_prepare_shutdown: state 1 path /home Mar 8 10:38:19 cn024 automount[6395]: expire_proc: exp_proc = 1090562368 path /home Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: got thid1090562368
Quoted 10 lines
Quoted 10 lines
path /home stat 0
Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: sigchld: exp 1090562368 finished, switching from 5 to 7 Mar 8 10:38:19 cn024 automount[6395]: st_shutdown: state 5 path /home Mar 8 10:38:19 cn024 smartd[7258]: smartd has fork()ed into background mode. New PID=7258. Mar 8 10:38:19 cn024 automount[6395]: umount_multi: path /home incl 0 Mar 8 10:38:19 cn024 automount[6395]: umounted indirect mount /home Mar 8 10:38:19 cn024 automount[6395]: automount_path_to_fifo: fifo name
/var/run/autofs.fifo-homeQuoted 8 lines
Quoted 8 lines
Mar 8 10:38:19 cn024 automount[6395]: shut down path /home Mar 8 10:38:19 cn024 automount[6395]: autofs stopped Mar 8 10:38:28 cn024 automount[7334]: Starting automounter version 5.0.1-0.rc2.143.el5, master map auto.master Mar 8 10:38:28 cn024 automount[7334]: using kernel protocol version 5.01 Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_master: reading master files auto.master Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): initgathered
Quoted 7 lines
Quoted 7 lines
global options: (null)
Mar 8 10:38:28 cn024 automount[7334]: lookup_read_master: lookup(file): read entry /home Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: mounting /home Mar 8 10:38:28 cn024 automount[7334]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-home Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_map: reading mapfile
Quoted 2 lines
Quoted 2 lines
/etc/auto.homeMar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): initgathered
Quoted 2 lines
Quoted 2 lines
global options: rw,intr
Mar 8 10:38:28 cn024 automount[7334]: do_mount_autofs_indirect: failedto
Quoted 2 lines
Quoted 2 lines
create ioctl fd for autofs path /home
Mar 8 10:38:28 cn024 automount[7334]: handle_mounts: mount of /homefailed!
Quoted 41 lines
Quoted 7 lines
Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: failed to startup mount Mar 8 10:38:28 cn024 automount[7334]: no mounts in tableThe error messages to note are the last four lines. When I restart the daemon, the automount works, but fails after a day or two. The version of autofs I am using is:
What makes you think these are the same problem?
Did you check to see if /home was already mounted when it failed? What is in your/etc/sysconfig/autofs?Quoted 18 lines
Name : autofs Relocations: (not relocatable)
Version : 5.0.1 Vendor: CentOS
Release : 0.rc2.143.el5_5.6Any help will be greatly appreciated. Thanks in advance.
----------
Wadud Miah
High Performance Computing Systems Developer Research Computing Services, University of East Anglia
Telephone: 01603 593856Information Services
----------Quoted 4 lines
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs_______________________________________________
Hpc.admin mailing list
[email protected]
http://www.uea.ac.uk/mailman21/listinfo/hpc.admin
Ian Kent
maintainerQuoted 17 lines · Ian Kent
Quoted 10 lines · On Mon, 2011-03-14 at 10:09 +0000, [email protected] wrote:
Hello Ian,
Thank you for your reply. The contents of
/etc/sysconfig/autofsare:[root@head00 ~]# grep -v '^#'
/etc/sysconfig/autofsTIMEOUT=300
BROWSE_MODE="no"
USE_MISC_DEVICE="yes"
[root@head00 ~]#Quoted 5 lines
When the machine boots up, it completely fails to mount /home/<username>; it just complains that /home/<username> doesn't exist. The contents of
/var/log/messagesthen show the message given below, thus I assume that they are related. Do let me know if you require further information. Googling around for the error message hasn't been very successful :-(
Quoted 4 lines
Failing to open a control file handle on an automount is fatal. I don't know why that's happening.
We would probably need to add some log prints to get more information.
Where does the map come from, is it network based?
If it is and you use NetworkManager, have you checked to see if automount is starting up during NetworkManager initialization? In the log you show why do we see automount shutting down, then starting up, you say the problem is at boot but the example log doesn't show an error at boot?
And, did you check if /home was already mounted after the shutdown and before that startup in the log.
Quoted 114 lines
Quoted 59 lines
Thanks for your help,
Wadud.Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ian Kent
Sent: Sunday, March 13, 2011 1:29 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [autofs] autofs problemQuoted 4 lines
Quoted 3 lines · On Tue, 2011-03-08 at 11:24 +0000, [email protected] wrote:
Hello,
I am experiencing autofs problems with my Centos 5.5 system. Upon boot,
the
Quoted 11 lines
Quoted 11 lines
mount fails with the following error messages (created by passing the -d option in the automount):
Mar 8 10:38:19 cn024 automount[6395]: do_notify_state: signal 15 Mar 8 10:38:19 cn024 automount[6395]: master_notify_state_change: sig 15 switching /home from 1 to 5 Mar 8 10:38:19 cn024 automount[6395]: st_prepare_shutdown: state 1 path /home Mar 8 10:38:19 cn024 automount[6395]: expire_proc: exp_proc = 1090562368 path /home Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: got thid1090562368
Quoted 10 lines
Quoted 10 lines
path /home stat 0
Mar 8 10:38:19 cn024 automount[6395]: expire_cleanup: sigchld: exp 1090562368 finished, switching from 5 to 7 Mar 8 10:38:19 cn024 automount[6395]: st_shutdown: state 5 path /home Mar 8 10:38:19 cn024 smartd[7258]: smartd has fork()ed into background mode. New PID=7258. Mar 8 10:38:19 cn024 automount[6395]: umount_multi: path /home incl 0 Mar 8 10:38:19 cn024 automount[6395]: umounted indirect mount /home Mar 8 10:38:19 cn024 automount[6395]: automount_path_to_fifo: fifo name
/var/run/autofs.fifo-homeQuoted 8 lines
Quoted 8 lines
Mar 8 10:38:19 cn024 automount[6395]: shut down path /home Mar 8 10:38:19 cn024 automount[6395]: autofs stopped Mar 8 10:38:28 cn024 automount[7334]: Starting automounter version 5.0.1-0.rc2.143.el5, master map auto.master Mar 8 10:38:28 cn024 automount[7334]: using kernel protocol version 5.01 Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_master: reading master files auto.master Mar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): initgathered
Quoted 7 lines
Quoted 7 lines
global options: (null)
Mar 8 10:38:28 cn024 automount[7334]: lookup_read_master: lookup(file): read entry /home Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: mounting /home Mar 8 10:38:28 cn024 automount[7334]: automount_path_to_fifo: fifo name /var/run/autofs.fifo-home Mar 8 10:38:28 cn024 automount[7334]: lookup_nss_read_map: reading mapfile
Quoted 2 lines
Quoted 2 lines
/etc/auto.homeMar 8 10:38:28 cn024 automount[7334]: parse_init: parse(sun): initQuoted 49 lines
gathered
Quoted 2 lines
Quoted 2 lines
global options: rw,intr
Mar 8 10:38:28 cn024 automount[7334]: do_mount_autofs_indirect: failedto
Quoted 2 lines
Quoted 2 lines
create ioctl fd for autofs path /home
Mar 8 10:38:28 cn024 automount[7334]: handle_mounts: mount of /homefailed!
Quoted 41 lines
Quoted 7 lines
Mar 8 10:38:28 cn024 automount[7334]: master_do_mount: failed to startup mount Mar 8 10:38:28 cn024 automount[7334]: no mounts in tableThe error messages to note are the last four lines. When I restart the daemon, the automount works, but fails after a day or two. The version of autofs I am using is:
What makes you think these are the same problem?
Did you check to see if /home was already mounted when it failed? What is in your/etc/sysconfig/autofs?Quoted 18 lines
Name : autofs Relocations: (not relocatable)
Version : 5.0.1 Vendor: CentOS
Release : 0.rc2.143.el5_5.6Any help will be greatly appreciated. Thanks in advance.
----------
Wadud Miah
High Performance Computing Systems Developer Research Computing Services, University of East Anglia
Telephone: 01603 593856Information Services
----------Quoted 4 lines
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs_______________________________________________
Hpc.admin mailing list
[email protected]
http://www.uea.ac.uk/mailman21/listinfo/hpc.admin_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs