Re: sshfs mount option, 'nonempty', causing mount/connection fails: "No such file or directory". still a valid option?

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

 



On Fri, 2020-09-11 at 18:21 -0700, PGNet Dev wrote:
> hi
> 

snip ...

> cd /mnt/sshfs/example/
> 	bash: cd: /mnt/sshfs/example/: No such file or directory
> 
> journalctl -f -u autofs
> 
> 	Sep 11 18:15:20 desk0013 automount[16234]: handle_packet: type
> = 3
> 	Sep 11 18:15:20 desk0013 automount[16234]:
> handle_packet_missing_indirect: token 102, name example, request pid
> 6657
> 	Sep 11 18:15:20 desk0013 automount[16234]: attempting to mount
> entry /mnt/sshfs/example
> 	Sep 11 18:15:20 desk0013 automount[16234]: lookup_mount:
> lookup(file): looking up example
> 	Sep 11 18:15:20 desk0013 automount[16234]: lookup_mount:
> lookup(file): example ->
> -fstype=fuse,rw,nodev,nonempty,allow_other,reconnect,uid=0,gid=0,max_
> read=65536,compression=yes,auto_cache,no_check_root,kernel_cache,work
> around=rename,ssh_command="/usr/bin/ssh -F
> /usr/local/etc/ssh/ssh_config"  :sshfs\#root@xxxxxxxxxxxxxxxxxx\:/
> 	Sep 11 18:15:20 desk0013 automount[16234]: parse_mount:
> parse(sun): expanded entry:
> -fstype=fuse,rw,nodev,nonempty,allow_other,reconnect,uid=0,gid=0,max_
> read=65536,compression=yes,auto_cache,no_check_root,kernel_cache,work
> around=rename,ssh_command="/usr/bin/ssh -F
> /usr/local/etc/ssh/ssh_config"  :sshfs\#root@xxxxxxxxxxxxxxxxxx\:/
> 	Sep 11 18:15:20 desk0013 automount[16234]: parse_mount:
> parse(sun): gathered options:
> fstype=fuse,rw,nodev,nonempty,allow_other,reconnect,uid=0,gid=0,max_r
> ead=65536,compression=yes,auto_cache,no_check_root,kernel_cache,worka
> round=rename,ssh_command=/usr/bin/ssh -F
> /usr/local/etc/ssh/ssh_config
> 	Sep 11 18:15:20 desk0013 automount[16234]: parse_mount:
> parse(sun): dequote(":sshfs\#root@xxxxxxxxxxxxxxxxxx\:/") -> :
> sshfs#root@xxxxxxxxxxxxxxxxxx:/
> 	Sep 11 18:15:20 desk0013 automount[16234]: parse_mount:
> parse(sun): core of entry:
> options=fstype=fuse,rw,nodev,nonempty,allow_other,reconnect,uid=0,gid
> =0,max_read=65536,compression=yes,auto_cache,no_check_root,kernel_cac
> he,workaround=rename,ssh_command=/usr/bin/ssh -F
> /usr/local/etc/ssh/ssh_config, loc=:sshfs#root@xxxxxxxxxxxxxxxxxx:/
> 	Sep 11 18:15:20 desk0013 automount[16234]: sun_mount:
> parse(sun): mounting root /mnt/sshfs, mountpoint example, what 
> sshfs#root@xxxxxxxxxxxxxxxxxx:/, fstype fuse, options
> rw,nodev,nonempty,allow_other,reconnect,uid=0,gid=0,max_read=65536,co
> mpression=yes,auto_cache,no_check_root,kernel_cache,workaround=rename
> ,ssh_command=/usr/bin/ssh -F /usr/local/etc/ssh/ssh_config
> 	Sep 11 18:15:20 desk0013 automount[16234]: do_mount: 
> sshfs#root@xxxxxxxxxxxxxxxxxx:/ /mnt/sshfs/example type fuse options
> rw,nodev,nonempty,allow_other,reconnect,uid=0,gid=0,max_read=65536,co
> mpression=yes,auto_cache,no_check_root,kernel_cache,workaround=rename
> ,ssh_command=/usr/bin/ssh -F /usr/local/etc/ssh/ssh_config using
> module generic
> 	Sep 11 18:15:20 desk0013 automount[16234]: mount_mount:
> mount(generic): calling mkdir_path /mnt/sshfs/example
> 	Sep 11 18:15:20 desk0013 automount[16234]: mount(generic):
> calling mount -t fuse -o
> rw,nodev,nonempty,allow_other,reconnect,uid=0,gid=0,max_read=65536,co
> mpression=yes,auto_cache,no_check_root,kernel_cache,workaround=rename
> ,ssh_command=/usr/bin/ssh -F /usr/local/etc/ssh/ssh_config 
> sshfs#root@xxxxxxxxxxxxxxxxxx:/ /mnt/sshfs/example
> !!	Sep 11 18:15:20 desk0013 automount[16234]: >> fuse: unknown
> option(s): `-o nonempty'

That ">>" log entry comes from the command used for the mount.
autofs doesn't know what's valid or not so it logs what comes
back from the mount attempt.

Ian




[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