large files

Petter T. Olsson po26 at ulfhild.cornell.edu
Wed Oct 17 07:55:03 GMT 2001


Is there a filesystem for Linux that will get around this problem?

Thanks
P

---
Petter T. Olsson
Consultant/Advisor II
Cornell University
Veterinary College CPPS/DCS
Ithaca, NY 14853-6401
(607) 253-3411 

-----Original Message-----
From: Andrew V. Samoilov [mailto:kai at cmail.ru] 
Sent: Wednesday, October 17, 2001 9:51 AM
To: Joseph Loo
Cc: samba list
Subject: Re: large files


Joseph Loo wrote:

> I am not sure but you might be running into the limitations of the 
> ext2 file ssytem. I believe it has a 4 Gbyte limitation on a single 
> file. You might have to consider another file system for your large 
> files.
>

ext2 fs limitation is 2GB blocks. Block is at least 1024 bytes long.


>
> Ivan Fernandez wrote:
>
>> I'm reposting this problem (perhaps a bug) now I've got more 
>> information on it. This is another point of view of the situation and

>> I hope someone could have run into the same trouble before (and 
>> solved it :-))
>>
>> This is it:
>>
>>         * with ntbackup 2000 I create a 22Gb .bkf file in the windows

>> machine.
>>
>>         * I can copy that file over a samba share and get correct 
>> info form the file in windows explorer.
>>
>>         * ls -l also returns correct info, *WHILE* stat, mc, and 
>> other programs raise up with an error regarding a value too high for 
>> defined data type.
>>
>
Some program was compiled with large file support, some without. MC
4.5.55 can be configured with --enable-largefile. This also fixes some
mc problems over ntfs on 2.4 kernels.

>>
>>         * If I try to create the file with ntbackup directly over the

>> share, it gets downsized to 0 bytes and grows slowly while ntbackup 
>> dies when the file crosses the 4 Gb (exactly) size.
>>
>>         *I have compiled myself version 2.2.2 of samba and, 
>> surprisingly, the 4Gb "limit" situation described above was taken 
>> down to 2 Gb exactly.
>>
>> Any idea on what's happening, please??
>>
>
Please mail me kernel and glibc versions.

> --
> Joseph Loo
> jloo at acm.org
>
>

Regards,
Andrew.



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




More information about the samba mailing list