Re: autofs 5.0.6 and nfs4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Leonardo Chiquitto ha scritto:
On Wed, Feb 6, 2013 at 12:45 PM, Davide Marchi <danjde@xxxxxx> wrote:
Leonardo Chiquitto ha scritto:
On Tue, Feb 5, 2013 at 9:05 PM, Davide Marchi <danjde@xxxxxx> wrote:
Leonardo Chiquitto ha scritto:

On Tue, Feb 5, 2013 at 2:34 PM, Davide Marchi <danjde@xxxxxx> wrote:
Leonardo Chiquitto ha scritto:

You need to provide complete debug logs from the automounter (from the
moment it starts until the failed attempt to mount the volume).

Leonardo
yes, Leonardo, but on my /var/log/messages i don't see anythin about
autofs
or automount, here a short piece, after disabling, and trying to
listate
the
content of /mnt/BIG:
Maybe you didn't set the log level correctly? Please confirm that you
have
LOGGING="debug" in /etc/sysconfig/autofs.

Leonardo


yes, excuse me, I forgot to uncomment the code, sorry.
thanks again

now i can see moore log (at the shutdown i was on shell to /mnt/BIG, su
you
will see at the end "/mnt/BIG is in use"):
OK, but you still need to show us the logs that are generated when the
automounter tries to mount the volume and fails.

Leonardo


excume me leonardo and Ian,

I would ask you to ask you if it is correct to get the logs through this
procedure, before sending unnecessary mail:

1) with logs on debug,
2) start autofs.service
3) try to elencate list file on /mnt/BIG
4) stop autofs.service
5) collect debug log from /var/log/messages, from the start of
autofs.service


if those precedure are not correct, please give me the correct steps,
Yes, this looks good. Please remember to try to access /mnt/BIG/BIG
and not only /mnt/BIG.

Leonardo


well,
here the complete /var/log/messages output from start from autofs, across listate of /mnt/BIG and /mnt/BIG/BIG, ending to autofs stop:

Feb 6 19:03:01 cosmogonia-book automount[1771]: Starting automounter version 5.0.6-23.fc17, master map auto.master Feb 6 19:03:01 cosmogonia-book automount[1771]: using kernel protocol version 5.02 Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_nss_read_master: reading master files auto.master Feb 6 19:03:01 cosmogonia-book automount[1771]: parse_init: parse(sun): init gathered global options: (null) Feb 6 19:03:01 cosmogonia-book automount[1771]: spawn_mount: mtab link detected, passing -n to mount Feb 6 19:03:01 cosmogonia-book automount[1771]: spawn_umount: mtab link detected, passing -n to mount Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_read_master: lookup(file): read entry /mnt/BIG Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_nss_read_master: reading master dir /etc/auto.master.d Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_read_master: lookup(dir): scandir: /etc/auto.master.d Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_read_master: lookup(file): read entry +auto.master Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_nss_read_master: reading master files auto.master Feb 6 19:03:01 cosmogonia-book automount[1771]: parse_init: parse(sun): init gathered global options: (null) Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_nss_read_master: reading master nisplus auto.master Feb 6 19:03:01 cosmogonia-book automount[1771]: parse_init: parse(sun): init gathered global options: (null) Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup(file): failed to read included master map auto.master Feb 6 19:03:01 cosmogonia-book automount[1771]: master_do_mount: mounting /mnt/BIG Feb 6 19:03:01 cosmogonia-book automount[1771]: automount_path_to_fifo: fifo name /run/autofs.fifo-mnt-BIG Feb 6 19:03:01 cosmogonia-book automount[1771]: lookup_nss_read_map: reading map file /etc/auto.net4 Feb 6 19:03:01 cosmogonia-book automount[1771]: parse_init: parse(sun): init gathered global options: rw,intr Feb 6 19:03:01 cosmogonia-book automount[1771]: spawn_mount: mtab link detected, passing -n to mount Feb 6 19:03:01 cosmogonia-book automount[1771]: spawn_umount: mtab link detected, passing -n to mount Feb 6 19:03:01 cosmogonia-book automount[1771]: mounted indirect on /mnt/BIG with timeout 60, freq 15 seconds Feb 6 19:03:01 cosmogonia-book automount[1771]: st_ready: st_ready(): state = 0 path /mnt/BIG Feb 6 19:03:19 cosmogonia-book automount[1771]: st_expire: state 1 path /mnt/BIG Feb 6 19:03:19 cosmogonia-book automount[1771]: expire_proc: exp_proc = 3061840704 path /mnt/BIG Feb 6 19:03:19 cosmogonia-book automount[1771]: expire_cleanup: got thid 3061840704 path /mnt/BIG stat 0 Feb 6 19:03:19 cosmogonia-book automount[1771]: expire_cleanup: sigchld: exp 3061840704 finished, switching from 2 to 1 Feb 6 19:03:19 cosmogonia-book automount[1771]: st_ready: st_ready(): state = 2 path /mnt/BIG Feb 6 19:03:34 cosmogonia-book automount[1771]: st_expire: state 1 path /mnt/BIG Feb 6 19:03:34 cosmogonia-book automount[1771]: expire_proc: exp_proc = 3061840704 path /mnt/BIG Feb 6 19:03:34 cosmogonia-book automount[1771]: expire_cleanup: got thid 3061840704 path /mnt/BIG stat 0 Feb 6 19:03:34 cosmogonia-book automount[1771]: expire_cleanup: sigchld: exp 3061840704 finished, switching from 2 to 1 Feb 6 19:03:34 cosmogonia-book automount[1771]: st_ready: st_ready(): state = 2 path /mnt/BIG Feb 6 19:03:49 cosmogonia-book automount[1771]: st_expire: state 1 path /mnt/BIG Feb 6 19:03:49 cosmogonia-book automount[1771]: expire_proc: exp_proc = 3061840704 path /mnt/BIG Feb 6 19:03:49 cosmogonia-book automount[1771]: expire_cleanup: got thid 3061840704 path /mnt/BIG stat 0 Feb 6 19:03:49 cosmogonia-book automount[1771]: expire_cleanup: sigchld: exp 3061840704 finished, switching from 2 to 1 Feb 6 19:03:49 cosmogonia-book automount[1771]: st_ready: st_ready(): state = 2 path /mnt/BIG Feb 6 19:04:04 cosmogonia-book automount[1771]: st_expire: state 1 path /mnt/BIG Feb 6 19:04:04 cosmogonia-book automount[1771]: expire_proc: exp_proc = 3061840704 path /mnt/BIG Feb 6 19:04:04 cosmogonia-book automount[1771]: expire_cleanup: got thid 3061840704 path /mnt/BIG stat 0 Feb 6 19:04:04 cosmogonia-book automount[1771]: expire_cleanup: sigchld: exp 3061840704 finished, switching from 2 to 1 Feb 6 19:04:04 cosmogonia-book automount[1771]: st_ready: st_ready(): state = 2 path /mnt/BIG Feb 6 19:04:19 cosmogonia-book automount[1771]: st_expire: state 1 path /mnt/BIG Feb 6 19:04:19 cosmogonia-book automount[1771]: expire_proc: exp_proc = 3061840704 path /mnt/BIG Feb 6 19:04:19 cosmogonia-book automount[1771]: expire_cleanup: got thid 3061840704 path /mnt/BIG stat 0 Feb 6 19:04:19 cosmogonia-book automount[1771]: expire_cleanup: sigchld: exp 3061840704 finished, switching from 2 to 1 Feb 6 19:04:19 cosmogonia-book automount[1771]: st_ready: st_ready(): state = 2 path /mnt/BIG Feb 6 19:04:34 cosmogonia-book automount[1771]: st_expire: state 1 path /mnt/BIG Feb 6 19:04:34 cosmogonia-book automount[1771]: expire_proc: exp_proc = 3061840704 path /mnt/BIG Feb 6 19:04:34 cosmogonia-book automount[1771]: expire_cleanup: got thid 3061840704 path /mnt/BIG stat 0 Feb 6 19:04:34 cosmogonia-book automount[1771]: expire_cleanup: sigchld: exp 3061840704 finished, switching from 2 to 1 Feb 6 19:04:34 cosmogonia-book automount[1771]: st_ready: st_ready(): state = 2 path /mnt/BIG
Feb  6 19:04:49 cosmogonia-book automount[1771]: handle_packet: type = 3
Feb 6 19:04:49 cosmogonia-book automount[1771]: handle_packet_missing_indirect: token 2, name BIG, request pid 1803 Feb 6 19:04:49 cosmogonia-book automount[1771]: attempting to mount entry /mnt/BIG/BIG Feb 6 19:04:49 cosmogonia-book automount[1771]: lookup_mount: lookup(program): looking up BIG Feb 6 19:04:49 cosmogonia-book automount[1771]: lookup(program): lookup for BIG failed Feb 6 19:04:49 cosmogonia-book automount[1771]: dev_ioctl_send_fail: token = 2
Feb  6 19:04:49 cosmogonia-book automount[1771]: handle_packet: type = 3
Feb 6 19:04:49 cosmogonia-book automount[1771]: handle_packet_missing_indirect: token 3, name BIG, request pid 1803 Feb 6 19:04:49 cosmogonia-book automount[1771]: failed to mount /mnt/BIG/BIG Feb 6 19:04:49 cosmogonia-book automount[1771]: attempting to mount entry /mnt/BIG/BIG Feb 6 19:04:49 cosmogonia-book automount[1771]: dev_ioctl_send_fail: token = 3 Feb 6 19:04:49 cosmogonia-book automount[1771]: failed to mount /mnt/BIG/BIG Feb 6 19:04:49 cosmogonia-book automount[1771]: st_expire: state 1 path /mnt/BIG Feb 6 19:04:49 cosmogonia-book automount[1771]: expire_proc: exp_proc = 3060788032 path /mnt/BIG Feb 6 19:04:49 cosmogonia-book automount[1771]: expire_cleanup: got thid 3060788032 path /mnt/BIG stat 0 Feb 6 19:04:49 cosmogonia-book automount[1771]: expire_cleanup: sigchld: exp 3060788032 finished, switching from 2 to 1 Feb 6 19:04:49 cosmogonia-book automount[1771]: st_ready: st_ready(): state = 2 path /mnt/BIG Feb 6 19:05:04 cosmogonia-book automount[1771]: st_expire: state 1 path /mnt/BIG Feb 6 19:05:04 cosmogonia-book automount[1771]: expire_proc: exp_proc = 3060788032 path /mnt/BIG Feb 6 19:05:04 cosmogonia-book automount[1771]: expire_cleanup: got thid 3060788032 path /mnt/BIG stat 0 Feb 6 19:05:04 cosmogonia-book automount[1771]: expire_cleanup: sigchld: exp 3060788032 finished, switching from 2 to 1 Feb 6 19:05:04 cosmogonia-book automount[1771]: st_ready: st_ready(): state = 2 path /mnt/BIG
Feb  6 19:05:10 cosmogonia-book automount[1771]: do_notify_state: signal 15
Feb 6 19:05:10 cosmogonia-book automount[1771]: master_notify_state_change: sig 15 switching /mnt/BIG from 1 to 5 Feb 6 19:05:10 cosmogonia-book automount[1771]: st_prepare_shutdown: state 1 path /mnt/BIG Feb 6 19:05:10 cosmogonia-book automount[1771]: expire_proc: exp_proc = 3061840704 path /mnt/BIG Feb 6 19:05:10 cosmogonia-book automount[1771]: expire_cleanup: got thid 3061840704 path /mnt/BIG stat 0 Feb 6 19:05:10 cosmogonia-book automount[1771]: expire_cleanup: sigchld: exp 3061840704 finished, switching from 5 to 7 Feb 6 19:05:10 cosmogonia-book automount[1771]: st_shutdown: state 5 path /mnt/BIG Feb 6 19:05:10 cosmogonia-book automount[1771]: umount_multi: path /mnt/BIG incl 0 Feb 6 19:05:10 cosmogonia-book automount[1771]: umounted indirect mount /mnt/BIG Feb 6 19:05:10 cosmogonia-book automount[1771]: automount_path_to_fifo: fifo name /run/autofs.fifo-mnt-BIG
Feb  6 19:05:10 cosmogonia-book automount[1771]: shut down path /mnt/BIG
Feb  6 19:05:10 cosmogonia-book automount[1771]: autofs stopped


thanks again


--
cosmogoniA
cosmogoniA<http://www.cosmogonia.org/>
noprovarenofareononfarenonc'èprovare
--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux