Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!bu.edu!wang!comm.wang.com!lws From: lws@comm.wang.com (Lyle Seaman) Newsgroups: comp.unix.aix Subject: Re: file fragmentation Message-ID: <1991Mar6.134113.28420@comm.wang.com> Date: 6 Mar 91 13:41:13 GMT References: <476@bally.Bally.COM> <3592@d75.UUCP> Organization: Wang Labs, Platform Comms. Lines: 24 woan@nowhere (Ronald S Woan) writes: >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). SunOS and RISC/os both report fragmentation from fsck. I don't know about vanilla BSD. >> 3) How to re-organize the file system ? There was a program floating around the net called "packdisk" which did this for XENIX. Shouldn't be too much trouble to make it work for other SysV Unices. The general solution is: backup your filesystem, make a new filsystem, restore the backup. -- Lyle Wang lws@capybara.comm.wang.com 508 967 2322 Lowell, MA, USA