LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-08-2003, 08:48 AM   #1
Paul Johnson
LQ Newbie
 
Registered: Mar 2003
Location: Chelmsford, Essex, UK.
Distribution: Red Hat
Posts: 15

Rep: Reputation: 0
Samba serving files > 4Gb


I want to back up my Windows 98SE machine onto my Linux box (I've fitted it with a removable hard drive for this purpose). I want to use the Windows backup program because that saves and restores the registry and all the metadata, which smbtar won't do. So I've configured smbd to share a directory on the removable drive and run MS backup on the Windows box writing to a file on the share.

All went well until the backup had completed about 5GB. It then complained it was out of space. From the compression ratio it looks like I've hit a 4Gb limit on filesize.

Is this the case? Does Samba or the underlying SMB protocol impose a 4Gb limit? If so is there any way around this?

I've checked that the ext3 file system supports big files by copying 8Gb from /dev/zero. That was fine.

I can think of a bunch of workarounds, but they are distinctly tedious, so first I want to find out if this is a real problem.

Thanks,

Paul.
 
Old 07-08-2003, 09:26 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
I though that the ext3 filesystem only supported a file size limit of either 2 or 4 gigs. I believe that jfs or xfs support a file size limit in the terabites. You might want to try them or break up your backup into two or three files.
 
Old 07-08-2003, 09:46 AM   #3
alphasure
LQ Newbie
 
Registered: Jun 2003
Distribution: Suse
Posts: 8

Rep: Reputation: 0
I thought there was a max limit on ext2, reiserfs and ext3 of 4Gb on any one file simply because they are 32 bit filesystems. ext3 can handle the 8Gb you threw at it because there was more than one file, I suspect.?

Rob
 
Old 07-08-2003, 02:39 PM   #4
Paul Johnson
LQ Newbie
 
Registered: Mar 2003
Location: Chelmsford, Essex, UK.
Distribution: Red Hat
Posts: 15

Original Poster
Rep: Reputation: 0
A bit of googling turned up this page:

http://www.suse.de/~aj/linux_lfs.html

Its a bit out of date, but it describes the main issues. Main points are:

1: ext2 used to have a 2Gb limit, but not any more. The limit is now 2^63 bytes.

2: Applications need to be recompiled (and maybe modified) to use 64 bit file index and size data types.

3: There is indeed a 4Gb limit on older versions of the SMB protocols. Ahem. This is rather embarassing, since it answers my original question. I did find this page when searching earlier, but failed to scroll down far enough to find the list of file systems and their limits.

So now I'm going to have to do work-arounds. I guess I'll use MS backup for C:\Windows and smbtar for everything else.
 
  


Reply


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
Burning 4GB+ Files? Matir Linux - Software 3 05-06-2005 05:00 PM
Serving ACT! contact manager files k1mgy Linux - General 7 02-18-2005 05:50 AM
Problems making files bigger than 4Gb. Riddick Linux - Software 9 08-20-2004 09:27 AM
Serving files to the public Citizen Bleys Linux - Networking 1 01-25-2002 12:07 PM
serving files krajaba Linux - Networking 0 04-30-2001 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:11 PM.

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