Amanda-Users

TAPE-ERROR 00-00001 "[writing file: File too large]

2007-04-26 13:23:44
Subject: TAPE-ERROR 00-00001 "[writing file: File too large]
From: "Igor V. Ruzanov" <igorr AT canmos DOT ru>
To: amanda-users AT amanda DOT org
Date: Thu, 26 Apr 2007 20:52:24 +0400 (MSD)
Hello!
I run Amanda under FreeBSD-4.11, so when Amanda trying to make file of dump with size of more than 4GB (exactly, 2**32-1), i can see in log/amdump.* the following messages:

taper: writing end marker. [Sunday2 ERR kb 4194272 fm 1]
driver: state time 2560.825 free kps: 30000 space: 81451306 taper: writing 
idle-dumpers: 1 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 0 driver-idle: not-idle
driver: interface-state time 2560.825 if default: free 10000 if local: free 
10000 if lnc0: free 10000
driver: hdisk-state time 2560.825 hdisk 0: free 81451306 dumpers 0
driver: result time 2560.825 from taper: TAPE-ERROR 00-00001 "[writing file: File 
too large]"

That is due to filesystems constraints in FreeBSD-4.x where a size of file is given in 32-bit representation and declared in sys/stat.h with int32_t integer type. Is there passible to change some code of Amanda to do the dumps into more than 4GB files under FreeBSD-4.x? (for example, with deal of stdout) Where in the Amanda code the conditions are checking for the maximum length of writing file?

Thank you!

+-------------------------------------------+
! CANMOS ISP Network                        !
+-------------------------------------------+
! Best regards                              !
! Igor V. Ruzanov, network operational staff!
! e-Mail: igorr AT canmos DOT ru                   !
+-------------------------------------------+

<Prev in Thread] Current Thread [Next in Thread>