Re: [Samba] 2gb limit weird filenames

2002-12-10 Thread andy thomas
On Tue, 10 Dec 2002, Bob Puff@NLE wrote:

 Hello,

 I'm trying to set up a samba server for a friend who has a mac.  He's running
 OSX, version 10.2.  He's got some really big video editing files that are well
 in excess of 2gb.  We're trying to back these up to the samba server, but it
 quits right around 2gb.  That seems to be a magical number.  This is with
 version 2.2.3 of Samba, and Linux-Mandrake 8.2, ext3 file system.

 I saw some talk on another list that this was fixed in a somewhat recent
 version, but then broken for the latest one.  Comments?

Well, the Linux ext3 filesystem itself has a maximum file size limit of 2
GB so that isn't really a samba issue. You would need to use a filesystem
such as xfs to support file sizes greater than this.

Andy

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] 2gb limit weird filenames

2002-12-10 Thread Andrew Furey
We're trying to back these up to the samba server, but it
quits right around 2gb.  That seems to be a magical number.  This is with
version 2.2.3 of Samba, and Linux-Mandrake 8.2, ext3 file system.


Well, the Linux ext3 filesystem itself has a maximum file size limit of 2
GB so that isn't really a samba issue. You would need to use a filesystem
such as xfs to support file sizes greater than this.



Not quite true - it seems to be more closely related to your libc6 
version. I know that in Debian the 2Gb limit magically went away on 
ext2/ext3 (possibly even on kernel 2.2 IIRC) when libc6 was updated at 
some point during development this year (before woody, the current 
stable, was released). I would have thought MDK8.2 would be recent 
enough to support 2Gb files...

See if you can create a 2Gb file on the local machine to test one way 
or the other; assuming you have shell access, try something like

dd if=/dev/zero of=/tmp/test.dat bs=1k count=300

This should create a 3Gb file on the local disk (assuming you have 
enough disk space on that partition, of course :)

HTH
Andrew

--
ANDREW FUREY [EMAIL PROTECTED] - Sysadmin/developer for Terminus.
Providing online networks of Australian lawyers (http://www.ilaw.com.au)
and Linux experts (http://www.linuxconsultants.com.au) for instant help!
Disclaimer: http://www.terminus.net.au/disclaimer.html. GCS L+++ P++ t++

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 2gb limit weird filenames

2002-12-10 Thread Bob [EMAIL PROTECTED]
You sure about that?  I'm pretty sure I've had 2gb files on my ext3 drives,
2.4.x kernel.

Bob

On Tue, 10 Dec 2002 08:35:33 + (GMT), andy thomas wrote
 On Tue, 10 Dec 2002, Bob Puff@NLE wrote:
 
  Hello,
 
  I'm trying to set up a samba server for a friend who has a mac.  He's running
  OSX, version 10.2.  He's got some really big video editing files that are well
  in excess of 2gb.  We're trying to back these up to the samba server, but it
  quits right around 2gb.  That seems to be a magical number.  This is with
  version 2.2.3 of Samba, and Linux-Mandrake 8.2, ext3 file system.
 
  I saw some talk on another list that this was fixed in a somewhat recent
  version, but then broken for the latest one.  Comments?
 
 Well, the Linux ext3 filesystem itself has a maximum file size limit 
 of 2 GB so that isn't really a samba issue. You would need to use a filesystem
 such as xfs to support file sizes greater than this.
 
 Andy




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] 2gb limit weird filenames

2002-12-10 Thread David Brodbeck


 -Original Message-
 From: Bob Puff@NLE [mailto:[EMAIL PROTECTED]]

 You sure about that?  I'm pretty sure I've had 2gb files on 
 my ext3 drives,
 2.4.x kernel.

RedHat Linux 7.0 with all current RedHat bugfixes and glibc upgrades.
Custom-compiled 2.4.17 kernel with ext2/ext3 ACL patches.  On an ext2
partition:

[root@bigbox /export]# dd if=/dev/zero of=test.temp bs=1k count=300
300+0 records in
300+0 records out
[root@bigbox /export]# ls -l test.temp
-rw-r--r--1 root root 307200 Dec 10 11:06 test.temp


I think the ext2/ext3 2 gig limit is just a common misconception.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] 2gb limit weird filenames

2002-12-10 Thread andy thomas
On Tue, 10 Dec 2002, David Brodbeck wrote:



  -Original Message-
  From: Bob Puff@NLE [mailto:[EMAIL PROTECTED]]

  You sure about that?  I'm pretty sure I've had 2gb files on
  my ext3 drives,
  2.4.x kernel.

 RedHat Linux 7.0 with all current RedHat bugfixes and glibc upgrades.
 Custom-compiled 2.4.17 kernel with ext2/ext3 ACL patches.  On an ext2
 partition:

 [root@bigbox /export]# dd if=/dev/zero of=test.temp bs=1k count=300
 300+0 records in
 300+0 records out
 [root@bigbox /export]# ls -l test.temp
 -rw-r--r--1 root root 307200 Dec 10 11:06 test.temp


 I think the ext2/ext3 2 gig limit is just a common misconception.

The 2 GB limit definitely applies to ext2 (certainly on Slackware 8 or
SuSE 7.3 platforms) and I thought the same would have applied to ext3 as
it's an extension of ext2?

Andy


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] 2gb limit weird filenames

2002-12-10 Thread David Brodbeck


 -Original Message-
 From: andy thomas [mailto:[EMAIL PROTECTED]]

  RedHat Linux 7.0 with all current RedHat bugfixes and glibc 
 upgrades.
  Custom-compiled 2.4.17 kernel with ext2/ext3 ACL patches.  
 On an ext2
  partition:
 
  [root@bigbox /export]# dd if=/dev/zero of=test.temp bs=1k 
 count=300
  300+0 records in
  300+0 records out
  [root@bigbox /export]# ls -l test.temp
  -rw-r--r--1 root root 307200 Dec 10 11:06 test.temp
 
 
  I think the ext2/ext3 2 gig limit is just a common misconception.
 
 The 2 GB limit definitely applies to ext2 (certainly on Slackware 8 or
 SuSE 7.3 platforms) and I thought the same would have applied 
 to ext3 as it's an extension of ext2?

I think maybe it depends on the glibc version, or perhaps the kernel
version.  I'm using a 2.4.17 kernel and glibc 2.2.4.

If the 2 gig limit definately applies to ext2, then how did I create the
above 3 gig file on an ext2 partition?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] 2gb limit weird filenames

2002-12-10 Thread Ronan Waide
For the record, stock RedHat 7.3 kernel (2.4.18-18.7.x) supports files
greater than 2GB.

Rather than debating the point as to whether various things
theoretically support  2GB files or not, it's rather easy to
empirically determine support using dd to create a file greater than
2GB.

Just my $.02 and all.

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.

My evil is unjust and cruel in the smallest and most annoying way possible.
  - Catherine Clarke
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] 2gb limit weird filenames

2002-12-10 Thread Bob [EMAIL PROTECTED]
I just tried the example.  Under a Mandrake 7.1 box running ext2, the file dies at 
2gb.  However, under Mandrake 8.2 and 9 with ext3, it DOES work (as in, there is no 2gb
limit).

So that being the case (that it's not the filesystem), why isn't Samba handling 2gb 
files?

Bob


andy thomas wrote:
 
 On Tue, 10 Dec 2002, David Brodbeck wrote:
 
 
 
   -Original Message-
   From: Bob Puff@NLE [mailto:[EMAIL PROTECTED]]
 
   You sure about that?  I'm pretty sure I've had 2gb files on
   my ext3 drives,
   2.4.x kernel.
 
  RedHat Linux 7.0 with all current RedHat bugfixes and glibc upgrades.
  Custom-compiled 2.4.17 kernel with ext2/ext3 ACL patches.  On an ext2
  partition:
 
  [root@bigbox /export]# dd if=/dev/zero of=test.temp bs=1k count=300
  300+0 records in
  300+0 records out
  [root@bigbox /export]# ls -l test.temp
  -rw-r--r--1 root root 307200 Dec 10 11:06 test.temp
 
 
  I think the ext2/ext3 2 gig limit is just a common misconception.
 
 The 2 GB limit definitely applies to ext2 (certainly on Slackware 8 or
 SuSE 7.3 platforms) and I thought the same would have applied to ext3 as
 it's an extension of ext2?
 
 Andy
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] 2gb limit weird filenames

2002-12-10 Thread Cale Fairchild
I have seen the same 2 GB problem on my IRIX running 6.5.17 using an XFS file
system. I backup my Windows box to our SGI server and the backup file is about
5.5GB when finished. This was working fine with samba 2.2.4 but as soon as I
upgraded to 2.2.7 it stops the transfer at the 2GB limit exactly. The function
which throws the error is smbd/fileio.c seek_file and I checked the size of
the typedef SMB_OFF_T is 8 bytes as it should be but the pos variable toggles
from +2^13-1 to -2^31 as if somewhere in the chain of calls to that procedure
it is passed as a int (32 bits) instead of a long (64 bits) on my system. I am
currently trying to back-track the call stack at that point which is going
slowly, if anyone has a suggestion on how to quickly do that, aside from
looking at the code I would appreciate it.

  Cale Fairchild
  Systems Administrator
  Computer Science
  Brock University

  [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] 2gb limit weird filenames

2002-12-10 Thread jra
On Tue, Dec 10, 2002 at 04:58:40PM -0500, Cale Fairchild wrote:
 I have seen the same 2 GB problem on my IRIX running 6.5.17 using an XFS file
 system. I backup my Windows box to our SGI server and the backup file is about
 5.5GB when finished. This was working fine with samba 2.2.4 but as soon as I
 upgraded to 2.2.7 it stops the transfer at the 2GB limit exactly. The function
 which throws the error is smbd/fileio.c seek_file and I checked the size of
 the typedef SMB_OFF_T is 8 bytes as it should be but the pos variable toggles
 from +2^13-1 to -2^31 as if somewhere in the chain of calls to that procedure
 it is passed as a int (32 bits) instead of a long (64 bits) on my system. I am
 currently trying to back-track the call stack at that point which is going
 slowly, if anyone has a suggestion on how to quickly do that, aside from
 looking at the code I would appreciate it.

We've fixed this in the CVS code and will be doing a patch release 2.2.7a
shortly to fix it. Sorry for the problem.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] 2gb limit weird filenames

2002-12-10 Thread Herb Lewis
This has already been fixed in the CVS tree and will be in the next
release (2.2.7a scheduled for later today).

Cale Fairchild wrote:
 
 I have seen the same 2 GB problem on my IRIX running 6.5.17 using an XFS file
 system. I backup my Windows box to our SGI server and the backup file is about
 5.5GB when finished. This was working fine with samba 2.2.4 but as soon as I
 upgraded to 2.2.7 it stops the transfer at the 2GB limit exactly. The function
 which throws the error is smbd/fileio.c seek_file and I checked the size of
 the typedef SMB_OFF_T is 8 bytes as it should be but the pos variable toggles
 from +2^13-1 to -2^31 as if somewhere in the chain of calls to that procedure
 it is passed as a int (32 bits) instead of a long (64 bits) on my system. I am
 currently trying to back-track the call stack at that point which is going
 slowly, if anyone has a suggestion on how to quickly do that, aside from
 looking at the code I would appreciate it.
 

-- 
==
Herb Lewis   Silicon Graphics 
Networking Engineer  1600 Amphitheatre Pkwy MS-510
Strategic Software Organization  Mountain View, CA  94043-1351
[EMAIL PROTECTED] Tel: 650-933-2177
http://www.sgi.com   Fax: 650-932-2177  
PGP Key: 0x8408D65D
==
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba