Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!cmcl2!dasys1!murphy!peterg From: peterg@murphy.com (Peter Gutmann) Newsgroups: comp.unix.i386 Subject: Re: Tape backup performance on 386 ISA/EISA systems Keywords: tape, performance, 386 Message-ID: <1990Jun8.223358.27138@murphy.com> Date: 8 Jun 90 22:33:58 GMT References: <1990May25.123302.26061@virtech.uucp> <1990May26..841@rdk386.uucp> <1060@sixhub.UUCP> <1990May31.155113.8383@ico.isc.com> Organization: Murphy & Durieu Lines: 49 In article <1990May31.155113.8383@ico.isc.com> rcd@ico.isc.com (Dick Dunn) writes: >davidsen@sixhub.UUCP (Wm E. Davidsen Jr) writes: >[cpcahil@virtech.UUCP (Conor P. Cahill) cringes...] > >> | ...at the thought of letting someone's >> | program hunt around my raw disk patching things together... > >> True enough, but they are worth getting. Yes, I cringe when I run it, >> but I take a backup first. > >But now we've come full circle...if disk fragmentation makes the backup go >slower, so you want to run an optimizer that rearranges things, but you >want to be careful, so you do a backup first... > >(Yeah, I know, the de-fragmenting does good for a lot more than just the >backup.:-) > >A better approach is to use a file system that doesn't have as much >tendency to fragment...sorry for the obvious plug. >-- >Dick Dunn rcd@ico.isc.com uucp: {ncar,nbires}!ico!rcd (303)449-2870 > ...Simpler is better. Well now we have come full circle. However one important thing has been overlooked :-} All of the tools required for disk de-fragmenting exist in the base distribution of UNIX. All it requires are three simple steps, 1) create a backup of the device using your favorite backup utility (such as tar or cpio). Don't use dump or any other utility which creates a "image" of the file system. 2) erase the contents of the devices that has been backed up in step one (above). 3) restore the device from the backup made above. what this accomplishes is that the device has all of the blocks in the file system moved to the free list. then reallocated sequentially from the backup. as Dick Dunn said above "..Simpler is better". ---- peter gutmann peterg@murphy.com Murphy & Durieu Home of Murphy's Law....