lkml.org 
[lkml]   [1998]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: smbfs and 2.1.x: The battle continues
On 12 Jan, David Burrows wrote:
> Hi there, me again! :)
>
> After hearing word of samba 1.9.18 being packaged with mounting tools I
> was eager to have another go. After playing with the makefile I managed
> to get everything to compile nicely, except smbmount, smbmnt and
> smbumount. (glibc2 problems, the fix was simple remove obsolete header
> includes and define missing constant).
>
> Some information about my setup. RedHat 5, linux 2.1.78, smbfs compiled
> without win95 bug fixes, connecting to a Win95 machine on the local lan.
> This has previously worked in 2.0.3[2-3].
>
> Now the fun starts. I try what is in the man pages, using smbmount to log
> into the share, then mount /mntpoint.
>
> # ls -l
> ls: .: Too many open files in system
>
> # ls -l
> smb_proc_readdir_long: rcls=2, err=1, breaking
> smb_refill_dircache: readdir failed, result=-23
> total 0
>
> # find
> .
> smb_lookup: find //CONFIG.SYS failed, error=-23
> find: ./CONFIG.SYS: Too many open files in system
> ./My Documents
> smb_proc_readdir_long: rcls=2, err=1, breaking
> smb_refill_dircache: readdir failed, result=-23
> ./__ofidx0.ffx
> smb_lookup: find //Program Files failed, error=-23
> find: ./Program Files: Too many open files in system
> ./CDROM
> etc (it continues like this for a few pages then stops)
>
> Ok, now as per the documentation in
> linux/Documentation/filesystems/smbfs.txt
> I try the exact same as above except with mount /mntpoint -f 3755 (for the
> win95 bugfixes)
>
> Same as above, pretty much ignores the -f 3755.. Now I could try
> recompiling smbfs with win95 bug workarounds, but I don't know how to do
> that without recompiling the whole kernel. And besides, I'm not even sure
> that will fix it. And what then if I wanted to connect to an NT share?
>
> /me cries this is all really too hard! :( boo hoo sob </begforsympathy> :)
>
> Why has everything changed from just "smbmount //server/share /mntpoint
> -options" anyway? If I was gifted enough I would attempt to restore it
> back to that way, but I'm not, and even if I was, I don't know what
> motivated things to be changed to the current state anyway.
>
> Yours frustratingly :)
>
> Dave.
>
>

Different story. Same configuration (rh5+2.1.78)

-------------------------------------------------------------------------
root@mgmux(7)[~]# smbmount //sirio/root -c 'mount /mnt'
Server time is Mon Jan 12 13:41:04 1998
Timezone is UTC-0.0
Password:
Domain=[INNOVA] OS=[Unix] Server=[Samba 1.9.18]
security=user
root@mgmux(8)[~]# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sda4 528722 403147 98265 80% /
/dev/sda3 521434 328117 166810 66% /2.1
/dev/sda1 1052225 705500 346725 67% /winnt
/dev/sdb1 1052480 209024 843456 20% /ms2d
/dev/sdd1 2096160 762592 1333568 36% /ms2e
/dev/sdc1 1035111 194094 788385 20% /u1
/dev/sdd2 2100104 470532 1522740 24% /u3
/dev/md0 1984994 634233 1249795 34% /strip
none 1492320 891584 600736 60% /mnt
root@mgmux(9)[~]# ls /mnt
System.map dev/ mimas/ proc/ vmlinuz
System.old dnews/ mirror/ procion/ vmlinuz.old
System.save dux.raiz mnt/ root/ vmlinuz.save
adonis/ etc/ mnt1/ sbin/ x/
arcinfo/ floppy/ mnt2/ shlib/ zeus/
bin/ home/ mnt3/ tmp/ zeus2/
boot/ htdocs/ mnt4/ u/
cdrom/ lib/ opt/ u2/
cgi-bin/ lost+found/ piticlin/ usr/
copias/ magneto/ polaris/ var/
root@mgmux(10)[~]# umount /mnt
root@mgmux(11)[~]# smbmount //innt1/discoc -c 'mount /mnt' -U Administrator
Server time is Mon Jan 12 13:44:10 1998
Timezone is UTC-0.0
Password:
Domain=[INNOVA] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
security=user
root@mgmux(12)[~]# ls /mnt
/bin/ls: /mnt/pagefile.sys: Text file busy
AUTOEXEC.BAT MSDOS.SYS WINNT/ ffastun.ffo ntldr
Awent40/ NTDETECT.COM boot.ini ffastun0.ffx
CONFIG.SYS Program Files/ fabi/ host-news/
ExecSoft/ RECYCLER/ ffastun.ffa kits/
IO.SYS TEMP/ ffastun.ffl kk/
-------------------------------------------------------------------------

Misfeatures:
-------------------------------------------------------------------------
root@mgmux(13)[~]# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sda4 528722 403147 98265 80% /
/dev/sda3 521434 328117 166810 66% /2.1
/dev/sda1 1052225 705500 346725 67% /winnt
/dev/sdb1 1052480 209024 843456 20% /ms2d
/dev/sdd1 2096160 762592 1333568 36% /ms2e
/dev/sdc1 1035111 194094 788385 20% /u1
/dev/sdd2 2100104 470532 1522740 24% /u3
/dev/md0 1984994 634233 1249795 34% /strip
none 2108672 516032 1592640 24% /mnt
^^^^
-------------------------------------------------------------------------
root@mgmux(14)[~]# smbumount /mnt
/mnt probably not smb-filesystem
root@mgmux(15)[~]# umount /mnt
root@mgmux(16)[~]# df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sda4 528722 403147 98265 80% /
/dev/sda3 521434 328117 166810 66% /2.1
/dev/sda1 1052225 705500 346725 67% /winnt
/dev/sdb1 1052480 209024 843456 20% /ms2d
/dev/sdd1 2096160 762592 1333568 36% /ms2e
/dev/sdc1 1035111 194094 788385 20% /u1
/dev/sdd2 2100104 470532 1522740 24% /u3
/dev/md0 1984994 634233 1249795 34% /strip
-------------------------------------------------------------------------

--
--
Manuel J. Galan
manolow@step.es



\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.081 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site