Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-26-2003, 01:06 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
SMB LFS (Large File Support, > 2 GByte) in 2.4.20 broken

I am trying to access a > 2 GByte file resident on a Win2k server drive smbmounted on a RH 9.0 client (2.4.20), but 'ls -l' shows a bogus file size:

# ls -l /mnt/mary-2/Temp/big
total 2145927296
-rwxr-xr-x 1 root root 18446744072115847168 Jun 24 18:53 t.big

A google search lead me to learn that to properly access large files 2.4.20 needs a kernel patch and a patched smbmount as well, but the only patches I can find are for Debian, nothing for RedHat 9.

Does anyone have a suggestion or a work-arround?

Old 06-28-2003, 08:36 AM   #2
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
What does it mean patch for a distro in this case?
As you wrote you need patch the kernel and smbmount. I do not believe they are distro-dependent.
Old 06-30-2003, 11:05 AM   #3
LQ Newbie
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I am looking to patch the 2.4.20 kernel which is included in the RH 9 distro.
Old 09-08-2003, 01:11 PM   #4
LQ Newbie
Registered: Sep 2003
Distribution: mostly Redhat
Posts: 1

Rep: Reputation: 0
I know this is an old thread but we are having file transfer problems between a win2k box and rh 9-smp machine. Specifically, we want to backup our Exchange db which is about 16 gig. Here's what we found so far:

Large File Support (LFS) has been fixed in the 2.4.x series kernels as far as I can tell. I just made several big files ( > 4GB ) and moved them around on Redhat 9 (rh 9) with no problems.

A mount of the windows file system into the Linux space with mount -t smbfs (smbmount) will cause the file size to be way off and any file operations with the large files to be corrupt. You may also generate an extreeme amount of network traffic...

The same operations with smbclient will work correctly _with_ the newest version of samba (3 rc3). Until we updated, we could not get the file to transfer at all.

We are researching the smbmount problems, because we would like to use rsync without resorting to cygwin / rsyncd on the Win clients...

Old 09-14-2003, 02:20 AM   #5
LQ Newbie
Registered: Jun 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Although there appear to be SAMBA patches which will allow Win2k.XP clients to access large files on SAMBA servers, I didn't have the time or skills to apply them to RH 9, so we bought a NFS server for Win2k and used NFS mounts to access the Win files.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I get info about Large File Support on woody? MrinCodex Debian 3 05-19-2005 12:01 PM
Large file size support for linux merlin23 Linux - Newbie 11 01-11-2005 08:01 AM
How to enable large file support (LFS)? maddmike SUSE / openSUSE 0 12-27-2004 10:45 AM
File does not exist/Large file support dreamtheater Linux - General 3 04-19-2004 09:14 AM
large file support compiler with other tools!? chuanyung Programming 0 01-20-2004 03:51 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration