On Mon, 28 Jan 2002 at 10:38am, Matthew Boeckman wrote > I'm running amanda 2.4.2 on a RH7.1 box with 2.4.2-2. I recently read > in the archives about making chunksizes 1Gb instead of 2 due to amanda > tacking on stuff at the end, making those file too large. Too late, I'm > afraid, as I'm trying to restore a set of files from a level0 of a sun > box. I was able to get the archive off of the tape medium, and it's size > is:2468577280. restore on the linux box in question fails with "File too > large" (version 0.4b21). I was also able to get the file to the sun box
Newer versions of dump/restore should be compiled with large file support -- try upgrading. You could also compile the newest version yourself, adding in the appropriate flags. The kernel/glibc combo on RH7.1 *can* handle large files -- you just have to make sure that the app can. > it was backed up from, but ufsrestore complains that "Volume is not in > dump format", which I assume is because it is a file made by dump, not > ufsdump. No. For every filesystem, AMANDA runs the appropriate backup utility. Also, dumps are FS specific -- ext2 dump won't be able dump a UFS filesystem, and vice verse for ufsdump. Whether or not a particular "restore" can read another dump's format is often hit-and-miss. So, if that file was indeed from a Sun filesytem using "dump", it should indeed be a ufsdump archive. Perhaps it's getting truncated somewhere? > So the question is: WHAT CAN I DO? Is there any way to get this > directory extricated from this honking big 2 gig file? Second, I Your options are: 1) Use amrecover from the Sun box. This will automatically do everything in pipes and avoid the whole large file issue. 2) Upgrade dump/restore to a version compiled with large file support. 3) Pull the file off the tape with amrestore or dd, and pipe the output straight to restore, again avoiding a 2GB disk file. > _thought_ that the 2.4 kernel was supposed to do away with the 2gb file > size limitations. Am I misinformed? > As mentioned above, it's a kernel/glibc thing, *and* the app must be configured appropriately. IIRC, for whatever reason, the dump/restore shipped with RH7.1 wasn't. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
