smbfs not showing all files
Charlie Wilder
cwilder at kingsburycorp.com
Thu Apr 12 17:34:10 GMT 2001
I've a PC with a 2.2.13 kernel and Samba 2.0.7. It serves shares to our lan and
has had no problems since its install.
Recently, I tried to copy a bunch of files from an older OS/2 server to the
Samba server via smbclient and smbmount. Neither shows all the files in a few of
the several directories on the OS/2 server, and neither agrees with the other as
to the actual number of files. smbclient seems to have the upper hand, since I
can force it to recognize that certain files do exist by wild card limitation of
the returned fileset. smbmount reports an "Input/output error". There are no
entries in any of the log files that correlate with this. All log entries seem
to be a result of the server, not the smbfs.
Here is an edited session:
==============================================================================
smbclient //pc4000/archives -U cwilder -d 3
Client started (version 2.0.7).
resolve_lmhosts: Attempting lmhosts lookup for name pc4000<0x20>
resolve_hosts: Attempting host lookup for name pc4000<0x20>
Connecting to 192.168.5.249 at port 139
Password:
smb: \> cd b13496/CONTROLS
dos_clean_name [\b13496\CONTROLS\]
dos_clean_name [\b13496\CONTROLS\\]
smb: \b13496\CONTROLS\> ls
received 109 entries (eos=0)
received 108 entries (eos=1)
. D 0 Fri Jan 14 14:47:20 2000
.. D 0 Fri Jan 14 14:47:20 2000
85564001.DWG A 77049 Fri Apr 15 13:30:48 1994
85564002.DWG A 59893 Thu Oct 13 07:14:54 1994
85564003.DWG A 257189 Fri Mar 4 16:52:14 1994
<removed 85564004.dwg through 85564212.dwg> [snip]
85564213.DWG A 150626 Tue Oct 11 13:32:16 1994
85564214.DWG A 140346 Sat Mar 25 08:36:44 1995
85564215.DWG A 140143 Fri Feb 17 22:39:40 1995
60777 blocks of size 262144. 20177 blocks available
Total bytes listed: 22141335
smb: \b13496\CONTROLS\> ls 855642*
received 22 entries (eos=1)
85564200.DWG A 160226 Fri Feb 17 22:34:12 1995
85564201.DWG A 150733 Sat Mar 25 08:15:22 1995
85564202.DWG A 140799 Tue Sep 27 08:04:38 1994
85564203.DWG A 140141 Thu Feb 16 23:17:14 1995
85564204.DWG A 117266 Tue Oct 11 13:15:14 1994
85564205.DWG A 132607 Tue Oct 11 13:16:18 1994
85564206.DWG A 166411 Tue Oct 11 13:17:28 1994
85564207.DWG A 115423 Tue Oct 11 13:18:38 1994
85564208.DWG A 34023 Thu Oct 13 10:09:20 1994
85564209.DWG A 91572 Sat Mar 25 08:18:52 1995
85564210.DWG A 82201 Tue Oct 11 13:19:50 1994
85564211.DWG A 63860 Tue Nov 15 11:14:38 1994
85564212.DWG A 172888 Tue Oct 11 13:22:18 1994
85564213.DWG A 150626 Tue Oct 11 13:32:16 1994
85564214.DWG A 140346 Sat Mar 25 08:36:44 1995
85564215.DWG A 140143 Fri Feb 17 22:39:40 1995
85564216.DWG A 117268 Tue Oct 11 13:34:52 1994
85564217.DWG A 143544 Tue Oct 11 13:35:58 1994
85564218.DWG A 179654 Tue Oct 11 13:37:10 1994
85564219.DWG A 115423 Tue Oct 11 13:38:18 1994
85564220.DWG A 34023 Thu Oct 13 08:53:22 1994
85564221.DWG A 93576 Wed May 11 11:06:18 1994
60777 blocks of size 262144. 20177 blocks available
Total bytes listed: 2682753
smb: \b13496\CONTROLS\> ls P*
received 31 entries (eos=1)
PTC001.DWG A 77261 Wed Nov 16 10:08:48 1994
PTC002.DWG A 79461 Wed Nov 16 10:12:16 1994
PTC003.DWG A 353087 Mon Mar 7 11:17:28 1994
PTC004.DWG A 1614378 Mon Mar 7 11:40:06 1994
PTC005.DWG A 124360 Thu Aug 4 10:41:58 1994
PTC006.DWG A 73867 Mon Mar 7 11:49:36 1994
PTC007.DWG A 59116 Mon Mar 7 11:51:22 1994
PTH001.DWG A 77060 Wed Nov 16 10:01:32 1994
PTH002.DWG A 57543 Wed Nov 16 10:03:34 1994
PTH003.DWG A 138590 Sat Apr 1 07:16:04 1995
PTH004.DWG A 140441 Sat Apr 1 07:41:20 1995
PTH005.DWG A 167769 Sat Apr 1 07:46:34 1995
PTH006.DWG A 102433 Sat Apr 1 08:02:22 1995
PTH007.DWG A 106671 Fri Sep 16 07:01:58 1994
PTL001.DWG A 53792 Wed Nov 16 10:15:08 1994
PTL002.DWG A 304355 Thu Sep 1 16:25:34 1994
PTL003.DWG A 275117 Thu Sep 1 10:00:38 1994
PTL004.DWG A 74613 Mon Mar 7 12:35:44 1994
PTL005.DWG A 259041 Wed Aug 10 14:07:18 1994
PTL006.DWG A 682364 Wed Aug 10 14:09:46 1994
PTL007.DWG A 682844 Wed Aug 10 14:12:12 1994
PTL008.DWG A 257308 Fri Sep 30 11:12:40 1994
PTL009.DWG A 333965 Wed Aug 10 14:16:32 1994
PTL010.DWG A 47900 Wed Aug 10 14:18:26 1994
PTP001.DWG A 51923 Wed Nov 16 10:05:22 1994
PTP002.DWG A 53664 Thu Oct 13 07:08:30 1994
PTP003.DWG A 130617 Thu Oct 13 07:05:08 1994
PTS001.DWG A 66123 Wed Nov 16 10:17:36 1994
PTS002.DWG A 95139 Wed Aug 10 14:23:58 1994
PTS003.DWG A 91377 Thu Sep 15 15:12:48 1994
PTS004.DWG A 151813 Wed Aug 10 14:28:44 1994
60777 blocks of size 262144. 20177 blocks available
Total bytes listed: 6783992
smb: \b13496\CONTROLS\> exit
is1:/# smbmount //pc4000/archives
mount.smbfs started (version 2.0.7)
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/smb.conf"
Processing section "[global]"
doing parameter netbios aliases = pc2001
doing parameter netbios name = is1
doing parameter server string = %h (samba %v)
doing parameter hosts allow = 192.168. localhost
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter smb passwd file = /etc/smbpasswd
doing parameter invalid users = root bin daemon adm sync shutdown sys halt mail
news uucp operator gopher
doing parameter workgroup = KAM100DM
doing parameter unix password sync = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter shared mem size = 5242880
doing parameter debug level = 1
Password:
is1:/# cd mnt/b13496/CONTROLS
is1:/mnt/b13496/CONTROLS# ls
85564001.DWG*
85564002.DWG*
85564003.DWG*
<removed 85564004.dwg through 85564198.dwg> [snip]
85564199.DWG*
85564200.DWG*
85564201.DWG*
is1:/mnt/b13496/CONTROLS# ls 855642*
85564200.DWG* 85564201.DWG*
is1:/mnt/b13496/CONTROLS# ls P*
ls: P*: Input/output error
is1:/mnt/b13496/CONTROLS# cd /
is1:/# umount /mnt
==============================================================================
If I view the same //PC4000/archives share with any other client (win9x, NT,
OS/2), I see all files, so I am comfortable the problem is in smbfs and not the
other server.
Can anyone help me with this?
Regards,
Charlie Wilder
cwilder at kingsburycorp.com
More information about the samba
mailing list