I have been following some of the discussion about the autofs mounting
of cifs $ shares being recently broken as I am experiencing this issue
myself on Fedora 11.
Here is my current auto.cifs script, only slightly modified from the
distributed auto.smb script to include credentials:
---------------start auto.cifs----------------------------
#!/bin/bash
# $Id$
# This file must be executable to work! chmod 755!
key="$1"
# Note: create a cred file for each windows/Samba-Server in your
network
# which requires password authentification. The file should
contain
# exactly two lines:
# username=user
# password=*****
# Please don't use blank spaces to separate the equal sign from
the
# user account name or password.
credfile="/etc/auto.smb.$key"
defcred="/etc/auto.smb.jmasker"
# Note: Use cifs instead of smbfs:
mountopts="-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users"
smbclientopts=""
for P in /bin /sbin /usr/bin /usr/sbin
do
if [ -x $P/smbclient ]
then
SMBCLIENT=$P/smbclient
break
fi
done
[ -x $SMBCLIENT ] || exit 1
if [ -e "$credfile" ]
then
mountopts=$mountopts",credentials=$credfile"
smbclientopts="-A "$credfile
else
mountopts=$mountopts",credentials=$defcred"
smbclientopts="-A "$defcred
fi
$SMBCLIENT $smbclientopts -gL $key 2>/dev/null \
| awk -v key="$key" -v opts="$mountopts" -F'|' -- '
BEGIN { ORS=""; first=1 }
/Disk/ {
if (first)
print opts; first=0
dir = $2
loc = $2
# Enclose mount dir and location in quotes
# Double quote "$" in location as it is special
gsub(/\$$/, "\\$", loc);
print " \\\n\t \"/" dir "\"", "\"://" key "/" loc "\""
}
END { if (!first) print "\n"; else exit 1 }
'
-----------------end auto.cifs----------------------------------
Here is the auto.cifs output when I run it manually for a host to
which I am trying to connect:
---------------auto.cifs output-----------------------
bash# /etc/auto.cifs VMW1013
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
\
"/My Documents" "://VMW1013/My Documents" \
"/ADMIN$" "://VMW1013/ADMIN\$" \
"/C$" "://VMW1013/C\$" \
"/Shared" "://VMW1013/Shared"
----------------auto.cifs output------------------------
Now here is the debug output when I try to mount a Windows
"administrative" share ending in a $. The commands I type to initiate
the automount are:
cd /cifs/VMW1013
cd C\$
and here is the debug output:
-------------automount debug-----------------
Starting automounter version 5.0.4-36, master map auto.master
using kernel protocol version 5.01
lookup_nss_read_master: reading master files auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /misc
lookup_read_master: lookup(file): read entry /net
lookup_read_master: lookup(file): read entry /cifs
lookup_read_master: lookup(file): read entry +auto.master
lookup_nss_read_master: reading master files auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_master: reading master nisplus auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(nisplus): couldn't locate nis+ table
auto.master
lookup(file): failed to read included master map auto.master
master_do_mount: mounting /misc
automount_path_to_fifo: fifo name /var/run/autofs.fifo-misc
lookup_nss_read_map: reading map file /etc/auto.misc
parse_init: parse(sun): init gathered global options: (null)
mounted indirect on /misc with timeout 300, freq 75 seconds
st_ready: st_ready(): state = 0 path /misc
master_do_mount: mounting /net
automount_path_to_fifo: fifo name /var/run/autofs.fifo-net
lookup_nss_read_map: reading map hosts (null)
parse_init: parse(sun): init gathered global options: (null)
mounted indirect on /net with timeout 300, freq 75 seconds
st_ready: st_ready(): state = 0 path /net
master_do_mount: mounting /cifs
automount_path_to_fifo: fifo name /var/run/autofs.fifo-cifs
lookup_nss_read_map: reading map file /etc/auto.cifs
parse_init: parse(sun): init gathered global options: (null)
mounted indirect on /cifs with timeout 60, freq 15 seconds
st_ready: st_ready(): state = 0 path /cifs
handle_packet: type = 3
handle_packet_missing_indirect: token 117, name VMW1013, request pid
7097
attempting to mount entry /cifs/VMW1013
lookup_mount: lookup(program): looking up VMW1013
lookup_mount: lookup(program): VMW1013 ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
"/My Documents" "://VMW1013/My Documents" "/ADMIN$"
"://VMW1013/ADMIN\$" "/C$" "://VMW1013/C\$" "/Shared"
"://VMW1013/Shared"
parse_mount: parse(sun): expanded entry:
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
"/My Documents" "://VMW1013/My Documents" "/ADMIN$"
"://VMW1013/ADMIN\$" "/C$" "://VMW1013/C\$" "/Shared"
"://VMW1013/Shared"
parse_mount: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mount: parse(sun): dequote(""/My Documents"") -> /My Documents
parse_mapent: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mapent: parse(sun): dequote(""://VMW1013/My Documents"") ->
://VMW1013/My Documents
add_offset_entry: parse(sun): added multi-mount offset /My Documents
->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/My Documents
parse_mount: parse(sun): dequote(""/ADMIN$"") -> /ADMIN$
parse_mapent: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mapent: parse(sun): dequote(""://VMW1013/ADMIN\$"") ->
://VMW1013/ADMIN\$
add_offset_entry: parse(sun): added multi-mount offset /ADMIN$ ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/ADMIN\$
parse_mount: parse(sun): dequote(""/C$"") -> /C$
parse_mapent: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mapent: parse(sun): dequote(""://VMW1013/C\$"") ->
://VMW1013/C\$
add_offset_entry: parse(sun): added multi-mount offset /C$ ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/C\$
parse_mount: parse(sun): dequote(""/Shared"") -> /Shared
parse_mapent: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mapent: parse(sun): dequote(""://VMW1013/Shared"") ->
://VMW1013/Shared
add_offset_entry: parse(sun): added multi-mount offset /Shared ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/Shared
mount_multi_triggers: mount offset /cifs/VMW1013/ADMIN$ at
/cifs/VMW1013
mount_autofs_offset: calling mount -t autofs -s -o
fd=21,pgrp=8942,minproto=5,maxproto=5,offset automount
/cifs/VMW1013/ADMIN$
mounted offset on /cifs/VMW1013/ADMIN$ with timeout 60, freq 15
seconds
mount_autofs_offset: mounted trigger /cifs/VMW1013/ADMIN$ at
/cifs/VMW1013/ADMIN$
mount_multi_triggers: mount offset /cifs/VMW1013/C$ at /cifs/VMW1013
mount_autofs_offset: calling mount -t autofs -s -o
fd=21,pgrp=8942,minproto=5,maxproto=5,offset automount
/cifs/VMW1013/C$
mounted offset on /cifs/VMW1013/C$ with timeout 60, freq 15 seconds
mount_autofs_offset: mounted trigger /cifs/VMW1013/C$ at
/cifs/VMW1013/C$
mount_multi_triggers: mount offset /cifs/VMW1013/My Documents at
/cifs/VMW1013
mount_autofs_offset: calling mount -t autofs -s -o
fd=21,pgrp=8942,minproto=5,maxproto=5,offset automount
/cifs/VMW1013/My Documents
mounted offset on /cifs/VMW1013/My Documents with timeout 60, freq 15
seconds
mount_autofs_offset: mounted trigger /cifs/VMW1013/My Documents at
/cifs/VMW1013/My Documents
mount_multi_triggers: mount offset /cifs/VMW1013/Shared at
/cifs/VMW1013
mount_autofs_offset: calling mount -t autofs -s -o
fd=21,pgrp=8942,minproto=5,maxproto=5,offset automount
/cifs/VMW1013/Shared
mounted offset on /cifs/VMW1013/Shared with timeout 60, freq 15
seconds
mount_autofs_offset: mounted trigger /cifs/VMW1013/Shared at
/cifs/VMW1013/Shared
dev_ioctl_send_ready: token = 117
mounted /cifs/VMW1013
handle_packet: type = 5
handle_packet_missing_direct: token 118, name /cifs/VMW1013/C$,
request pid 7097
attempting to mount entry /cifs/VMW1013/C$
lookup_mount: lookup(program): /cifs/VMW1013/C$ ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/C\$
parse_mount: parse(sun): expanded entry:
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/C\$
parse_mount: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mount: parse(sun): core of entry:
options=fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker,
loc=://VMW1013/C\$
sun_mount: parse(sun): mounting root /tmp/auto3eU6En, mountpoint
/cifs/VMW1013/C$, what //VMW1013/C\$, fstype cifs, options
file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
do_mount: //VMW1013/C\$ /cifs/VMW1013/C$ type cifs options
file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
using module generic
mount_mount: mount(generic): calling mkdir_path /tmp/auto3eU6En
mount_mount: mount(generic): calling mount -t cifs -s -o
file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
//VMW1013/C\$ /tmp/auto3eU6En
>> retrying with upper case share name
>> mount error(6): No such device or address
>> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount(generic): failed to mount //VMW1013/C\$ (type cifs) on
/tmp/auto3eU6En
dev_ioctl_send_fail: token = 118
failed to mount /cifs/VMW1013/C$
handle_packet: type = 5
handle_packet_missing_direct: token 119, name /cifs/VMW1013/C$,
request pid 7097
attempting to mount entry /cifs/VMW1013/C$
dev_ioctl_send_fail: token = 119
failed to mount /cifs/VMW1013/C$
^Cdo_notify_state: signal 2
master_notify_state_change: sig 2 switching /misc from 1 to 5
st_prepare_shutdown: state 1 path /misc
expire_proc: exp_proc = 3046108016 path /misc
master_notify_state_change: sig 2 switching /net from 1 to 5
expire_cleanup: got thid 3046108016 path /misc stat 0
expire_cleanup: sigchld: exp 3046108016 finished, switching from 5 to
7
st_shutdown: state 5 path /misc
master_notify_state_change: sig 2 switching /cifs from 1 to 5
st_prepare_shutdown: state 1 path /cifs
expire_proc: exp_proc = 3047160688 path /cifs
handle_packet: type = 4
handle_packet_expire_indirect: token 120, name VMW1013
st_prepare_shutdown: state 1 path /net
expire_proc: exp_proc = 3045055344 path /net
expiring path /cifs/VMW1013
umount_multi: path /cifs/VMW1013 incl 1
expire_cleanup: got thid 3045055344 path /net stat 0
expire_cleanup: sigchld: exp 3045055344 finished, switching from 5 to
7
st_shutdown: state 5 path /net
umount_multi_triggers: umount offset /cifs/VMW1013/ADMIN$
umounted offset mount /cifs/VMW1013/ADMIN$
umount_multi_triggers: umount offset /cifs/VMW1013/C$
umounted offset mount /cifs/VMW1013/C$
umount_multi_triggers: umount offset /cifs/VMW1013/My Documents
umounted offset mount /cifs/VMW1013/My Documents
umount_multi_triggers: umount offset /cifs/VMW1013/Shared
umounted offset mount /cifs/VMW1013/Shared
cache_delete_offset_list: deleting offset key /cifs/VMW1013/ADMIN$
cache_delete_offset_list: deleting offset key /cifs/VMW1013/C$
cache_delete_offset_list: deleting offset key /cifs/VMW1013/My
Documents
cache_delete_offset_list: deleting offset key /cifs/VMW1013/Shared
rm_unwanted_fn: removing directory /cifs/VMW1013
expired /cifs/VMW1013
dev_ioctl_send_ready: token = 120
expire_cleanup: got thid 3047160688 path /cifs stat 0
expire_cleanup: sigchld: exp 3047160688 finished, switching from 5 to
7
st_shutdown: state 5 path /cifs
umount_multi: path /misc incl 0
umounted indirect mount /misc
automount_path_to_fifo: fifo name /var/run/autofs.fifo-misc
shut down path /misc
umount_multi: path /net incl 0
umounted indirect mount /net
automount_path_to_fifo: fifo name /var/run/autofs.fifo-net
shut down path /net
umount_multi: path /cifs incl 0
umounted indirect mount /cifs
automount_path_to_fifo: fifo name /var/run/autofs.fifo-cifs
shut down path /cifs
autofs stopped
[r...@fmi2081 tmp]# mkdir TEST
[r...@fmi2081 tmp]# /usr/sbin/automount -f -d
Starting automounter version 5.0.4-36, master map auto.master
using kernel protocol version 5.01
lookup_nss_read_master: reading master files auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /misc
lookup_read_master: lookup(file): read entry /net
lookup_read_master: lookup(file): read entry /cifs
lookup_read_master: lookup(file): read entry +auto.master
lookup_nss_read_master: reading master files auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_master: reading master nisplus auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(nisplus): couldn't locate nis+ table
auto.master
lookup(file): failed to read included master map auto.master
master_do_mount: mounting /misc
automount_path_to_fifo: fifo name /var/run/autofs.fifo-misc
lookup_nss_read_map: reading map file /etc/auto.misc
parse_init: parse(sun): init gathered global options: (null)
mounted indirect on /misc with timeout 300, freq 75 seconds
st_ready: st_ready(): state = 0 path /misc
master_do_mount: mounting /net
automount_path_to_fifo: fifo name /var/run/autofs.fifo-net
lookup_nss_read_map: reading map hosts (null)
parse_init: parse(sun): init gathered global options: (null)
mounted indirect on /net with timeout 300, freq 75 seconds
st_ready: st_ready(): state = 0 path /net
master_do_mount: mounting /cifs
automount_path_to_fifo: fifo name /var/run/autofs.fifo-cifs
lookup_nss_read_map: reading map file /etc/auto.cifs
parse_init: parse(sun): init gathered global options: (null)
mounted indirect on /cifs with timeout 60, freq 15 seconds
st_ready: st_ready(): state = 0 path /cifs
handle_packet: type = 3
handle_packet_missing_indirect: token 121, name VMW1013, request pid
7097
attempting to mount entry /cifs/VMW1013
lookup_mount: lookup(program): looking up VMW1013
lookup_mount: lookup(program): VMW1013 ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
"/My Documents" "://VMW1013/My Documents" "/ADMIN$"
"://VMW1013/ADMIN\$" "/C$" "://VMW1013/C\$" "/Shared"
"://VMW1013/Shared"
parse_mount: parse(sun): expanded entry:
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
"/My Documents" "://VMW1013/My Documents" "/ADMIN$"
"://VMW1013/ADMIN\$" "/C$" "://VMW1013/C\$" "/Shared"
"://VMW1013/Shared"
parse_mount: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mount: parse(sun): dequote(""/My Documents"") -> /My Documents
parse_mapent: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mapent: parse(sun): dequote(""://VMW1013/My Documents"") ->
://VMW1013/My Documents
add_offset_entry: parse(sun): added multi-mount offset /My Documents
->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/My Documents
parse_mount: parse(sun): dequote(""/ADMIN$"") -> /ADMIN$
parse_mapent: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mapent: parse(sun): dequote(""://VMW1013/ADMIN\$"") ->
://VMW1013/ADMIN\$
add_offset_entry: parse(sun): added multi-mount offset /ADMIN$ ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/ADMIN\$
parse_mount: parse(sun): dequote(""/C$"") -> /C$
parse_mapent: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mapent: parse(sun): dequote(""://VMW1013/C\$"") ->
://VMW1013/C\$
add_offset_entry: parse(sun): added multi-mount offset /C$ ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/C\$
parse_mount: parse(sun): dequote(""/Shared"") -> /Shared
parse_mapent: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mapent: parse(sun): dequote(""://VMW1013/Shared"") ->
://VMW1013/Shared
add_offset_entry: parse(sun): added multi-mount offset /Shared ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/Shared
mount_multi_triggers: mount offset /cifs/VMW1013/ADMIN$ at
/cifs/VMW1013
mount_autofs_offset: calling mount -t autofs -s -o
fd=21,pgrp=9009,minproto=5,maxproto=5,offset automount
/cifs/VMW1013/ADMIN$
mounted offset on /cifs/VMW1013/ADMIN$ with timeout 60, freq 15
seconds
mount_autofs_offset: mounted trigger /cifs/VMW1013/ADMIN$ at
/cifs/VMW1013/ADMIN$
mount_multi_triggers: mount offset /cifs/VMW1013/C$ at /cifs/VMW1013
mount_autofs_offset: calling mount -t autofs -s -o
fd=21,pgrp=9009,minproto=5,maxproto=5,offset automount
/cifs/VMW1013/C$
mounted offset on /cifs/VMW1013/C$ with timeout 60, freq 15 seconds
mount_autofs_offset: mounted trigger /cifs/VMW1013/C$ at
/cifs/VMW1013/C$
mount_multi_triggers: mount offset /cifs/VMW1013/My Documents at
/cifs/VMW1013
mount_autofs_offset: calling mount -t autofs -s -o
fd=21,pgrp=9009,minproto=5,maxproto=5,offset automount
/cifs/VMW1013/My Documents
mounted offset on /cifs/VMW1013/My Documents with timeout 60, freq 15
seconds
mount_autofs_offset: mounted trigger /cifs/VMW1013/My Documents at
/cifs/VMW1013/My Documents
mount_multi_triggers: mount offset /cifs/VMW1013/Shared at
/cifs/VMW1013
mount_autofs_offset: calling mount -t autofs -s -o
fd=21,pgrp=9009,minproto=5,maxproto=5,offset automount
/cifs/VMW1013/Shared
mounted offset on /cifs/VMW1013/Shared with timeout 60, freq 15
seconds
mount_autofs_offset: mounted trigger /cifs/VMW1013/Shared at
/cifs/VMW1013/Shared
dev_ioctl_send_ready: token = 121
mounted /cifs/VMW1013
handle_packet: type = 5
handle_packet_missing_direct: token 122, name /cifs/VMW1013/C$,
request pid 7097
attempting to mount entry /cifs/VMW1013/C$
lookup_mount: lookup(program): /cifs/VMW1013/C$ ->
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/C\$
parse_mount: parse(sun): expanded entry:
-fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
://VMW1013/C\$
parse_mount: parse(sun): gathered options:
fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
parse_mount: parse(sun): core of entry:
options=fstype=cifs,file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker,
loc=://VMW1013/C\$
sun_mount: parse(sun): mounting root /tmp/autoeCe5fB, mountpoint
/cifs/VMW1013/C$, what //VMW1013/C\$, fstype cifs, options
file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
do_mount: //VMW1013/C\$ /cifs/VMW1013/C$ type cifs options
file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
using module generic
mount_mount: mount(generic): calling mkdir_path /tmp/autoeCe5fB
mount_mount: mount(generic): calling mount -t cifs -s -o
file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
//VMW1013/C\$ /tmp/autoeCe5fB
>> retrying with upper case share name
>> mount error(6): No such device or address
>> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount(generic): failed to mount //VMW1013/C\$ (type cifs) on
/tmp/autoeCe5fB
dev_ioctl_send_fail: token = 122
failed to mount /cifs/VMW1013/C$
handle_packet: type = 5
handle_packet_missing_direct: token 123, name /cifs/VMW1013/C$,
request pid 7097
attempting to mount entry /cifs/VMW1013/C$
dev_ioctl_send_fail: token = 123
failed to mount /cifs/VMW1013/C$
^Cdo_notify_state: signal 2
master_notify_state_change: sig 2 switching /misc from 1 to 5
st_prepare_shutdown: state 1 path /misc
expire_proc: exp_proc = 3047156592 path /misc
master_notify_state_change: sig 2 switching /net from 1 to 5
expire_cleanup: got thid 3047156592 path /misc stat 0
expire_cleanup: sigchld: exp 3047156592 finished, switching from 5 to
7
st_shutdown: state 5 path /misc
master_notify_state_change: sig 2 switching /cifs from 1 to 5
st_prepare_shutdown: state 1 path /cifs
expire_proc: exp_proc = 3048209264 path /cifs
handle_packet: type = 4
handle_packet_expire_indirect: token 124, name VMW1013
st_prepare_shutdown: state 1 path /net
expire_proc: exp_proc = 3046103920 path /net
expiring path /cifs/VMW1013
umount_multi: path /cifs/VMW1013 incl 1
expire_cleanup: got thid 3046103920 path /net stat 0
expire_cleanup: sigchld: exp 3046103920 finished, switching from 5 to
7
st_shutdown: state 5 path /net
umount_multi_triggers: umount offset /cifs/VMW1013/ADMIN$
umounted offset mount /cifs/VMW1013/ADMIN$
umount_multi_triggers: umount offset /cifs/VMW1013/C$
umounted offset mount /cifs/VMW1013/C$
umount_multi_triggers: umount offset /cifs/VMW1013/My Documents
umounted offset mount /cifs/VMW1013/My Documents
umount_multi_triggers: umount offset /cifs/VMW1013/Shared
umounted offset mount /cifs/VMW1013/Shared
cache_delete_offset_list: deleting offset key /cifs/VMW1013/ADMIN$
cache_delete_offset_list: deleting offset key /cifs/VMW1013/C$
cache_delete_offset_list: deleting offset key /cifs/VMW1013/My
Documents
cache_delete_offset_list: deleting offset key /cifs/VMW1013/Shared
rm_unwanted_fn: removing directory /cifs/VMW1013
expired /cifs/VMW1013
dev_ioctl_send_ready: token = 124
expire_cleanup: got thid 3048209264 path /cifs stat 0
expire_cleanup: sigchld: exp 3048209264 finished, switching from 5 to
7
st_shutdown: state 5 path /cifs
umount_multi: path /misc incl 0
umounted indirect mount /misc
automount_path_to_fifo: fifo name /var/run/autofs.fifo-misc
shut down path /misc
umount_multi: path /net incl 0
umounted indirect mount /net
automount_path_to_fifo: fifo name /var/run/autofs.fifo-net
shut down path /net
umount_multi: path /cifs incl 0
umounted indirect mount /cifs
automount_path_to_fifo: fifo name /var/run/autofs.fifo-cifs
shut down path /cifs
autofs stopped
-------------------------automount debug------------------------
Where you see the line:
mount_mount: mount(generic): calling mount -t cifs -s -o
file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
//VMW1013/C\$ /tmp/autoeCe5fB
I think it is not being truthful. :)
Here is the output when I try the command manually:
[tmp]# mkdir autoeCe5fB
[tmp]# mount -t cifs -s -o
file_mode=0644,dir_mode=0755,uid=jmasker,gid=users,credentials=/etc/auto.smb.jmasker
//VMW1013/C\$ /tmp/autoeCe5fB
[tmp]# cd autoeCe5fB/
[autoeCe5fB]# ls
5.5.0.0-TIV-TSMBAC-LinuxX86.tar
871-ezvpn-nowork.pcap
871-ezvpn-problem-public-nowork.pcap
871-ezvpn-problem-public-worked.pcap
acs-01-cert08.cer
acs-01-certchain08.p7b
acs-02-cert08.cer
acs-02-certchain08.p7b
acs20070925R01.enc
acs20070925R02.enc
acs20080117R01.enc
....more files...
Thoughts?
-Jason
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs