Skip to contentSkip to conversation

LFS and Large File Support for reiserfs 3.6 (kernel 2.4.19)

DISCUSSION David R. Bergstein 3 participants 6 messages Sep 7, 2002 – Sep 8, 2002

lore
Share & tools
lore
#0 lore raw

I seem to have hit a file size limit on my system where files exceed 4GB in size. I do have an LFS capable glibc (glibc-2.2.4-10.1mdk) on Mandrake 8.1, running stock kernel 2.4.19, w/o additional patches applied. This prevents me from backing up a large directory of video files over the network, since the file truncates itself after 4GB is exceeded. Any hints to solve this issue from the list members is appreciated.

Upon checking the partition, the following diagnostics are available:

[root@zeus root]# reiserfsck -p /dev/hda7
Reiserfs super block in block 16 on 0x307 of format 3.6 with standard journal
Blocks (total/free): 5504262/3503324 by 4096 bytes Filesystem is cleanly umounted

[root@zeus root]# reiserfsck /dev/hda7

<-------------reiserfsck, 2002------------->
reiserfsprogs 3.6.3

Will read-only check consistency of the filesystem on /dev/hda7 Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes):Yes
###########
reiserfsck --check started at Sat Sep 7 12:06:58 2002
###########
Replaying journal..
0 transactions replayed
Checking S+tree..ok
Comparing bitmaps..ok
Checking Semantic tree...
ok
No corruptions found
There are on the filesystem:
Leaves 4042
Internal nodes 27
Directories 592
Other files 6353
Data block pointers 3035946 (1047455 of them are zero) Safe links 0
###########
reiserfsck finished at Sat Sep 7 12:07:20 2002
###########

David R. Bergstein
Systems Engineer and Blues Musician -
http://mywebpages.comcast.net/dbergstein/
Heart of Blue - bookings on-line at http://www.heartofblue.com
OpenPGP Public Key 0xE1F138CA - For info see http://www.gnupg.org
Key fingerprint = C86E CA2A 4171 AC73 91D7 3DCE 8832 D764 E1F1 38CA

#1 lore raw

Hello!

Quoted 2 lines · David R. Bergstein

I seem to have hit a file size limit on my system where files exceed 4GB in size. I do have an LFS capable glibc (glibc-2.2.4-10.1mdk) on Mandrake 8.1,

4Gb? Hm, strange number, usually LFS problems manifest themselves at 2Gb size.

Quoted 3 lines

running stock kernel 2.4.19, w/o additional patches applied. This prevents me from backing up a large directory of video files over the network, since the file truncates itself after 4GB is exceeded. Any hints to solve this

What tool do you use, have you tried something other?

Bye,
Oleg

#2 lore raw
Quoted 9 lines · Oleg Drokin

Hello!

Quoted 2 lines · David R. Bergstein

I seem to have hit a file size limit on my system where files exceed 4GB in size. I do have an LFS capable glibc (glibc-2.2.4-10.1mdk) on Mandrake 8.1,

4Gb? Hm, strange number, usually LFS problems manifest themselves at 2Gb size.

Maybe samba is limiting here? Usually, the copy operation should fail with "No space left on device" if the library or kernel is unable to handle the file size, it should not officially succeed and silently fail.

Quoted 10 lines
Quoted 5 lines

running stock kernel 2.4.19, w/o additional patches applied. This prevents me from backing up a large directory of video files over the network, since the file truncates itself after 4GB is exceeded. Any hints to solve this

What tool do you use, have you tried something other?

Bye,
Oleg

--
Mit freundlichen Grüßen

Xuân Baldauf
Medium.net Internet Server Software

#3 lore raw
Quoted 7 lines

-----Original Message-----
From: Xuan Baldauf [mailto:[email protected]]
Sent: Saturday, September 07, 2002 8:08 PM
To: Oleg Drokin
Cc: David R. Bergstein; ReiserFS List
Subject: Re: [reiserfs-list] LFS and Large File Support for reiserfs 3.6 (kernel 2.4.19)

[snip]

Quoted 7 lines

Maybe samba is limiting here? Usually, the copy operation should fail with "No
space left on device" if the library or kernel is unable to handle the file size,
it should not officially succeed and silently fail.

I was able to solve this issue by locally building samba-2.2.5. It is definitely not reiserfs, but Mandrake's samba-2.2.3 release that did not have LFS enabled.

David R. Bergstein
Systems Engineer and Blues Musician -
http://mywebpages.comcast.net/dbergstein/
Heart of Blue - bookings on-line at http://www.heartofblue.com
OpenPGP Public Key 0xE1F138CA - For info see http://www.gnupg.org
Key fingerprint = C86E CA2A 4171 AC73 91D7 3DCE 8832 D764 E1F1 38CA

#4 lore raw
In reply to Oleg Drokin
Quoted 24 lines

-----Original Message-----
From: Oleg Drokin [mailto:[email protected]]
Sent: Saturday, September 07, 2002 12:27 PM
To: David R. Bergstein
Cc: ReiserFS List
Subject: Re: [reiserfs-list] LFS and Large File Support for reiserfs 3.6 (kernel 2.4.19)

Hello!

Quoted 1 line · David R. Bergstein

I seem to have hit a file size limit on my system where files

exceed 4GB in

Quoted 1 line

size. I do have an LFS capable glibc (glibc-2.2.4-10.1mdk) on

Mandrake 8.1,

4Gb? Hm, strange number, usually LFS problems manifest themselves at 2Gb size.

Quoted 1 line

running stock kernel 2.4.19, w/o additional patches applied.

This prevents

Quoted 1 line

me from backing up a large directory of video files over the

Quoted 9 lines

network, since

Quoted 1 line

the file truncates itself after 4GB is exceeded. Any hints to

solve this

What tool do you use, have you tried something other?

Bye,
Oleg

Hi Oleg,

I was running a Win2k ntbackup job over the network via samba. I remember fixing this issue quite some time ago by building samba locally, but it appears that the version of samba may be at fault (samba-2.2.2-3.2mdk, from Mandrake Update). I will check to see if there is any separate issues by running a dd command to create a large dummy file in the meantime.

- David

#5 lore raw
Quoted 44 lines

-----Original Message-----
From: David R. Bergstein [mailto:[email protected]]
Sent: Saturday, September 07, 2002 9:38 PM
To: ReiserFS List
Subject: RE: [reiserfs-list] LFS and Large File Support for reiserfs 3.6 (kernel 2.4.19)

Quoted 24 lines

-----Original Message-----
From: Oleg Drokin [mailto:[email protected]]
Sent: Saturday, September 07, 2002 12:27 PM
To: David R. Bergstein
Cc: ReiserFS List
Subject: Re: [reiserfs-list] LFS and Large File Support for reiserfs 3.6 (kernel 2.4.19)

Hello!

Quoted 1 line · David R. Bergstein

I seem to have hit a file size limit on my system where files

exceed 4GB in

Quoted 1 line

size. I do have an LFS capable glibc (glibc-2.2.4-10.1mdk) on

Mandrake 8.1,

4Gb? Hm, strange number, usually LFS problems manifest themselves at 2Gb size.

Quoted 1 line

running stock kernel 2.4.19, w/o additional patches applied.

This prevents

Quoted 1 line

me from backing up a large directory of video files over the

Quoted 9 lines

network, since

Quoted 1 line

the file truncates itself after 4GB is exceeded. Any hints to

solve this

What tool do you use, have you tried something other?

Bye,
Oleg

Hi Oleg,

Quoted 11 lines

I was running a Win2k ntbackup job over the network via samba. I remember fixing this issue quite some time ago by building samba locally, but it appears that the version of samba may be at fault (samba-2.2.2-3.2mdk, from
Mandrake Update). I will check to see if there is any separate issues by running a dd command to create a large dummy file in the meantime.

- David

[dbergst@zeus tmp]$ 8192+0 records in
8192+0 records out

[1]+ Done dd if=/dev/zero of=large_file_test bs=1024k
count
8192
[dbergst@zeus tmp]$ ls -alh
total 8.1G

drwxr-xr-x    2 dbergst  dbergst        80 Sep  7 22:02 ./
drwx------   31 dbergst  dbergst      1.7k Sep  7 11:25 ../
-rw-rw-r--    1 dbergst  dbergst      8.0G Sep  7 22:29 large_file_test

[dbergst@zeus tmp]$

Well, that worked fine. At this point I consider this to be a samba issue and will do a local build of the latest release (2.2.5).

David R. Bergstein
Systems Engineer and Blues Musician -
http://mywebpages.comcast.net/dbergstein/
Heart of Blue - bookings on-line at http://www.heartofblue.com
OpenPGP Public Key 0xE1F138CA - For info see http://www.gnupg.org
Key fingerprint = C86E CA2A 4171 AC73 91D7 3DCE 8832 D764 E1F1 38CA