Skip to content

Instantly share code, notes, and snippets.

@jamiejackson
Last active March 22, 2017 16:41
Show Gist options
  • Save jamiejackson/c14edd9d6e333452bc1909698517f27e to your computer and use it in GitHub Desktop.
Save jamiejackson/c14edd9d6e333452bc1909698517f27e to your computer and use it in GitHub Desktop.
autofs with failed first access
[MYDOM\ME@MYHOST ~]$ date; sudo automount -f -v
Wed Mar 22 11:28:13 CDT 2017
Starting automounter version 5.0.5-123.el6_8, master map auto.master
using kernel protocol version 5.02
lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master
lookup(file): failed to read included master map auto.master
mounted indirect on /misc with timeout 300, freq 75 seconds
mounted indirect on /net with timeout 300, freq 75 seconds
master_do_mount: mounting /mnt/non-co/client_a
automount_path_to_fifo: fifo name /var/run/autofs.fifo-mnt-non-co-client_a
lookup_nss_read_map: reading map file /etc/auto.client_a_sshfs
mounted indirect on /mnt/non-co/client_a with timeout 30, freq 8 seconds
st_ready: st_ready(): state = 0 path /mnt/non-co/client_a
ghosting enabled
handle_packet: type = 3
handle_packet_missing_indirect: token 116, name testsftp, request pid 18505
attempting to mount entry /mnt/non-co/client_a/testsftp
lookup_mount: lookup(file): looking up testsftp
lookup_mount: lookup(file): testsftp -> -fstype=fuse,rw,nodev,noatime,allow_other,debug,IdentityFile=/root/.ssh/client_a_sftp_key :sshfs\#redacteduser@redactedhost\:/export/home/files
parse_mount: parse(sun): expanded entry: -fstype=fuse,rw,nodev,noatime,allow_other,debug,IdentityFile=/root/.ssh/client_a_sftp_key :sshfs\#redacteduser@redactedhost\:/export/home/files
parse_mount: parse(sun): gathered options: uid=492,gid=488,fstype=fuse,rw,nodev,noatime,allow_other,debug,IdentityFile=/root/.ssh/client_a_sftp_key
parse_mount: parse(sun): dequote(":sshfs\#redacteduser@redactedhost\:/export/home/files") -> :sshfs#redacteduser@redactedhost:/export/home/files
parse_mount: parse(sun): core of entry: options=uid=492,gid=488,fstype=fuse,rw,nodev,noatime,allow_other,debug,IdentityFile=/root/.ssh/client_a_sftp_key, loc=:sshfs#redacteduser@redactedhost:/export/home/files
sun_mount: parse(sun): mounting root /mnt/non-co/client_a, mountpoint testsftp, what sshfs#redacteduser@redactedhost:/export/home/files, fstype fuse, options uid=492,gid=488,rw,nodev,noatime,allow_other,debug,IdentityFile=/root/.ssh/client_a_sftp_key
do_mount: sshfs#redacteduser@redactedhost:/export/home/files /mnt/non-co/client_a/testsftp type fuse options uid=492,gid=488,rw,nodev,noatime,allow_other,debug,IdentityFile=/root/.ssh/client_a_sftp_key using module generic
mount_mount: mount(generic): calling mkdir_path /mnt/non-co/client_a/testsftp
mount_mount: mount(generic): calling mount -t fuse -s -o uid=492,gid=488,rw,nodev,noatime,allow_other,debug,IdentityFile=/root/.ssh/client_a_sftp_key sshfs#redacteduser@redactedhost:/export/home/files /mnt/non-co/client_a/testsftp
>> FUSE library version: 2.8.3
>> nullpath_ok: 0
>> This system is for the use of authorized users only
>> Individuals using this computer system without authority,
>> or in excess of their authority, are subject to having all
>> of their activities on this system monitored and recorded
>> by system personnel.
>> In the course of monitoring individuals improperly using
>> this system, or in the course of system maintenance, the
>> activities of authorized users may also be monitored.
>> Anyone using this system expressly consents to such
>> monitoring and is advised that if such monitoring reveals
>> possible evidence of criminal activity, system personnel
>> may provide the evidence of such monitoring to law
>> enforcement officials.
>> 32016
>> unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
>> INIT: 7.14
>> flags=0x0000f07b
>> max_readahead=0x00020000
>> INIT: 7.12
>> flags=0x00000011
>> max_readahead=0x00020000
>> max_write=0x00020000
>> unique: 1, success, outsize: 40
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275713480448 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275713480448 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275713480448 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275630405376 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275630405376 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275630405376 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275630405376 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275630405376 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275630405376 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275630405376 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275630405376 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275630405376 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275630405376 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275630405376 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275630405376 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275630405376 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275630405376 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275630405376 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275630405376 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275630405376 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275630405376 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
st_expire: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275630405376 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275630405376 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275630405376 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /mnt/non-co/client_a
^Cmaster_notify_state_change: sig 2 switching /mnt/non-co/client_a from 1 to 5
st_prepare_shutdown: state 1 path /mnt/non-co/client_a
expire_proc: exp_proc = 140275630405376 path /mnt/non-co/client_a
expire_proc_indirect: expire /mnt/non-co/client_a/testsftp
1 remaining in /mnt/non-co/client_a
expire_cleanup: got thid 140275630405376 path /mnt/non-co/client_a stat 3
expire_cleanup: sigchld: exp 140275630405376 finished, switching from 5 to 7
st_shutdown: state 5 path /mnt/non-co/client_a
>> Killed by signal 2.
>> remote host has disconnected
>> fuse: waitpid: Interrupted system call
mount(generic): failed to mount sshfs#redacteduser@redactedhost:/export/home/files (type fuse) on /mnt/non-co/client_a/testsftp
dev_ioctl_send_fail: token = 116
failed to mount /mnt/non-co/client_a/testsftp
umounted indirect mount /misc
shut down path /misc
umount_multi: path /mnt/non-co/client_a incl 0
rm_unwanted_fn: removing directory /mnt/non-co/client_a/testsftp
umount_autofs_indirect: ask umount returned busy /mnt/non-co/client_a
umounted indirect mount /mnt/non-co/client_a
automount_path_to_fifo: fifo name /var/run/autofs.fifo-mnt-non-co-client_a
shut down path /mnt/non-co/client_a
umounted indirect mount /net
shut down path /net
autofs stopped
[MYDOM\ME@MYHOST ~]$
[MYDOM\ME@MYHOST ~]$ date; time sudo ls -ald /mnt/non-co/client_a/testsftp/*YUMA*;
Wed Mar 22 11:28:18 CDT 2017
ls: cannot access /mnt/non-co/client_a/testsftp/*YUMA*: No such file or directory
real 3m12.126s
user 0m0.005s
sys 0m0.054s
[MYDOM\ME@MYHOST ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment