Xref: utzoo comp.unix.aix:3894 comp.unix.internals:2254 Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!watson!arnor!bywater!uunet!spool.mu.edu!sol.ctr.columbia.edu!emory!emcard!stiatl!mnopltd!neal From: neal@mnopltd.UUCP Newsgroups: comp.unix.aix,comp.unix.internals Subject: file fragmentation Message-ID: <188@mnopltd.UUCP> Date: 28 Feb 91 02:33:09 GMT Reply-To: gatech!stiatl!mnopltd!neal Organization: MNOP Ltd., Atlanta, Ga. Lines: 32 Distribution: ->In article <476@bally.Bally.COM> siva@bally.Bally.COM (Siva Chelliah/50000) writes: ->>I have few questions : ->> 1 ) Is there a way to find out the fragmentation of a file system ->> (like the Norton utility for DOS)? -> ->I don't think so... Outside of some old UNIX/386 implementations, I ->don't really remember being able to do this with any UNIX file system ->(UFS perhaps? Certainly not BSD). Look for a program called fsanalyze. It does a brute force traversal of your file system and reports on total fragmentation and worst files. You may have to wrestle it some to compile on aix, but otherwise the concept is sound. -> ->> 3) How to re-organize the file system ? -> ->What exactly do you mean by reorganize? -> There is no free lunch. Simplest approach: - back up the junk which you added and is worst fragmented to tape; - delete the above; - do an fsck with whatever option rebuilds the free list; - restore backup. ------------------------------------------------------------------------------ Neal Rhodes MNOP Ltd (404)- 972-5430 President Lilburn (atlanta) GA 30247 Fax: 978-4741 emory!mnopltd!neal gatech!emory!mnopltd!neal ------------------------------------------------------------------------------