vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I've just setup a Linux box (running Debian 2.2.20) and have setup Samba on it to provide file sharing to a few WinXP clients. Normal file operations (read/write/create/delete/etc.) are all working fine. However, attempting to create large files (backup drive images, specifically, each about 4GB) fails - as soon as the file reaches 2147483647 bytes the process fails. Creating the same file locally on the WinXP box works fine. The receiving partition on the Linux box has about 130GB free, and is using the ext2 filesystem. Is ext2 and/or Samba limited to filesizes of 2GB, or have I overlooked something? Thanks! -- Chris ________*________ Chris Barnabo, chris@spagnet.com ____________ \_______________/ http://www.spagnet.com \__________/ / / __\ \_______/ /__ "The heck with the Prime Directive, \_______________/(- let's destroy something!" |
| |||
| In article <MPG.1c0f17ead8e65c949896b9@news-50.giganews.com>, I said ... > I've just setup a Linux box (running Debian 2.2.20) and have setup Samba > on it to provide file sharing to a few WinXP clients. Normal file > operations (read/write/create/delete/etc.) are all working fine. > However, attempting to create large files (backup drive images, > specifically, each about 4GB) fails - as soon as the file reaches > 2147483647 bytes the process fails. Creating the same file locally on > the WinXP box works fine. > > The receiving partition on the Linux box has about 130GB free, and is > using the ext2 filesystem. Is ext2 and/or Samba limited to filesizes of > 2GB, or have I overlooked something? > Just a quick followup ... the problem also occurs when simply copying a file >2GB to the server from a WinXP client. -- Chris ________*________ Chris Barnabo, chris@spagnet.com ____________ \_______________/ http://www.spagnet.com \__________/ / / __\ \_______/ /__ "The heck with the Prime Directive, \_______________/(- let's destroy something!" |
| |||
| Hello Chris Barnabo (<chris@spagnet.com>) wrote: > I've just setup a Linux box (running Debian 2.2.20) Let me guess - Debian Woody? That kernel is ancient, and probably does not support files larger than 2 GB. Install one of the 2.4.18-1 packages from security.debian.org. > The receiving partition on the Linux box has about 130GB free, and is > using the ext2 filesystem. How big is your hard disk? If it is bigger than 137 GB (the way the manufacturers count), even with the 2.4.18 kernel, you won't be able to use the full disk, even with 2.4.18. If your disk is bigger (and because of that needs LBA48 addressing), install kernel 2.4.19 or newer. There are up-to-date 2.4 kernel packages available from backports.org for Debian Woody. best regards Andreas Janssen -- Andreas Janssen <andreas.janssen@bigfoot.com> PGP-Key-ID: 0xDC801674 ICQ #17079270 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps-sarge.html |
| |||
| Chris Barnabo wrote: > In article <MPG.1c0f17ead8e65c949896b9@news-50.giganews.com>, I said ... > > >>I've just setup a Linux box (running Debian 2.2.20) and have setup Samba >>on it to provide file sharing to a few WinXP clients. Normal file >>operations (read/write/create/delete/etc.) are all working fine. >>However, attempting to create large files (backup drive images, >>specifically, each about 4GB) fails - as soon as the file reaches >>2147483647 bytes the process fails. Creating the same file locally on >>the WinXP box works fine. >> >>The receiving partition on the Linux box has about 130GB free, and is >>using the ext2 filesystem. Is ext2 and/or Samba limited to filesizes of >>2GB, or have I overlooked something? With kernel 2.2.20 indeed the max filesize of ext2 is 2 GB.. (why don't you just use the woody kernel along with etx3 as I asume you used a Woody image to install?) Sander |
| |||
| In article <co48mm$vkl$1@netlx020.civ.utwente.nl>, timmie@vaporiser.student.utwente.nl says... > With kernel 2.2.20 indeed the max filesize of ext2 is 2 GB.. > > (why don't you just use the woody kernel along with etx3 as I asume you > used a Woody image to install?) > Sander & Andreas, thanks for responding ... you're right, it's the 2.2.20 woody install, I went with the latest "stable" build on debian.org. Definitely an ext2 limit, as I can't even create a >2GB locally on the box. I'll reinstall a later kernel, probably 2.4.19 as Andreas suggested - the hard drive is a 160GB partitioned to less than <130GB partitions now, but that doesn't mean I won't try to jam a 250GB drive into it somewhere down the line. ;-) I also saw a few references to Samba having a 2GB filesize limit unless it's running with 64 bit support (I'm assuming that means 64 bit support in the code & filesystem, not that it requires a 64 bit processor!) Do you happen to know if there's an appropriate Samba package available for 2.4.19 that can handle >2GB files? Thanks for the help ... I'm new to Linux, but so far it's been a blast. :-) -- Chris ________*________ Chris Barnabo, chris@spagnet.com ____________ \_______________/ http://www.spagnet.com \__________/ / / __\ \_______/ /__ "The heck with the Prime Directive, \_______________/(- let's destroy something!" |
| |||
| On Thu, 25 Nov 2004 10:29:55 +0100, Sander Timmerman <timmie@vaporiser.student.utwente.nl> wrote: > > With kernel 2.2.20 indeed the max filesize of ext2 is 2 GB.. > > (why don't you just use the woody kernel along with etx3 as I asume you > used a Woody image to install?) > > Sander A 2.4 kernel was available in Woody. I'm not sure that switching to ext3 would make a difference in the file size limit, or if the 2.2 kernel even supports ext3. -- "At a scheduled time, the robot would pull the flush lever and scream as it got sucked down the drain." --Kibo |
| ||||
| In article <ji7i72-35s.ln1@don.localnet>, bmarcum@iglou.com.urgent says... > A 2.4 kernel was available in Woody. I'm not sure that switching to > ext3 would make a difference in the file size limit, or if the 2.2 > kernel even supports ext3. I reinstalled using the 2.4.27 kernel and an ext3 filesystem, and that's solved the problem, both locally and via Samba. -- Chris ________*________ Chris Barnabo, chris@spagnet.com ____________ \_______________/ http://www.spagnet.com \__________/ / / __\ \_______/ /__ "The heck with the Prime Directive, \_______________/(- let's destroy something!" |