You are not logged in.
Pages: 1
I'm unable to automount cifs shares:
# cat /etc/autofs/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc /etc/autofs/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
/net -hosts
#
# Include /etc/autofs/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
+dir:/etc/autofs/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
netbook kokonicki # cat /etc/autofs/auto.misc
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
#cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd
sambapi -fstipe=cifs,username=root,password=mypass,rsize=131072,wsize=131072,uid=kokonicki,gid=users,forceuid,forcegid ://pi/all # LC_ALL=C ls /misc/sambapi
ls: cannot access /misc/sambapi: No such file or directoryautofs is started with debug option, here is the log of the failed mount attempt
feb 05 14:44:24 netbook automount[9533]: handle_packet: type = 3
feb 05 14:44:24 netbook automount[9533]: handle_packet_missing_indirect: token 37, name sambapi, request pid 10583
feb 05 14:44:24 netbook automount[9533]: attempting to mount entry /misc/sambapi
feb 05 14:44:24 netbook automount[9533]: lookup_mount: lookup(file): looking up sambapi
feb 05 14:44:24 netbook automount[9533]: lookup_mount: lookup(file): sambapi -> -fstipe=cifs,username=root,password=mypass,rsize=131072,wsize=131072,uid=kokonicki,gid=users,forceuid,forcegid ://pi/all
feb 05 14:44:24 netbook automount[9533]: parse_mount: parse(sun): expanded entry: -fstipe=cifs,username=root,password=mypass,rsize=131072,wsize=131072,uid=kokonicki,gid=users,forceuid,forcegid ://pi/all
feb 05 14:44:24 netbook automount[9533]: parse_mount: parse(sun): gathered options: fstipe=cifs,username=root,password=mypass,rsize=131072,wsize=131072,uid=kokonicki,gid=users,forceuid,forcegid
feb 05 14:44:24 netbook automount[9533]: parse_mount: parse(sun): dequote("://pi/all") -> ://pi/all
feb 05 14:44:24 netbook automount[9533]: parse_mount: parse(sun): core of entry: options=fstipe=cifs,username=root,password=mypass,rsize=131072,wsize=131072,uid=kokonicki,gid=users,forceuid,forcegid, loc=://pi/all
feb 05 14:44:24 netbook automount[9533]: sun_mount: parse(sun): mounting root /misc, mountpoint sambapi, what ://pi/all, fstype nfs, options fstipe=cifs,username=root,password=mypass,rsize=131072,wsize=131072,uid=kokonicki,gid=users,forceuid,forcegid
feb 05 14:44:24 netbook automount[9533]: mount_mount: mount(nfs): root=/misc name=sambapi what=://pi/all, fstype=nfs, options=fstipe=cifs,username=root,password=mypass,rsize=131072,wsize=131072,uid=kokonicki,gid=users,forceuid,forcegid
feb 05 14:44:24 netbook automount[9533]: mount_mount: mount(nfs): nfs options="fstipe=cifs,username=root,password=mypass,rsize=131072,wsize=131072,uid=kokonicki,gid=users,forceuid,forcegid", nobind=0, nosymlink=0, ro=0
feb 05 14:44:24 netbook automount[9533]: mount_mount: mount(nfs): calling mkdir_path /misc/sambapi
feb 05 14:44:24 netbook automount[9533]: mount_mount: mount(nfs): sambapi is local, attempt bind mount
feb 05 14:44:24 netbook automount[9533]: mount_mount: mount(bind): calling mkdir_path /misc/sambapi
feb 05 14:44:24 netbook automount[9533]: mount_mount: mount(bind): calling mount --bind -s -o defaults //pi/all /misc/sambapi
feb 05 14:44:24 netbook automount[9533]: >> mount: special device //pi/all does not exist
feb 05 14:44:24 netbook automount[9533]: mount(nfs): nfs: mount failure ://pi/all on /misc/sambapi
feb 05 14:44:24 netbook automount[9533]: dev_ioctl_send_fail: token = 37
feb 05 14:44:24 netbook automount[9533]: failed to mount /misc/sambapi
feb 05 14:44:24 netbook automount[9533]: handle_packet: type = 3
feb 05 14:44:24 netbook automount[9533]: handle_packet_missing_indirect: token 38, name sambapi, request pid 10583
feb 05 14:44:24 netbook automount[9533]: dev_ioctl_send_fail: token = 38Why does it tries nfs and even bind mount but not cifs !?
Last edited by kokoko3k (2015-02-05 13:49:02)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Duck debugging here, shame on me.
"fstipe" is a typo ![]()
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Pages: 1