On Fri, Jul 23, 1999 at 12:05:51PM -0600, Cheshire wrote: > I wanted to defrag my file system but on the command 'defrag /dev/hda5' > and 'e2defrag /dev/hda5' I get: [e2]defrag: bad magic number in > super-block > > Feedback welcome and appreciated. >
Are you sure you need to defragment your partition? From the Multiple-Disk-HOWTO: 13.2. Defragmentation This is very dependent on the file system design, some suffer fast and nearly debilitating fragmentation. Fortunately for us, ext2fs does not belong to this group and therefore there has been very little talk about defragmentation tools. It does in fact exist but is hardly ever needed. If for some reason you feel this is necessary, the quick and easy solution is to do a backup and a restore. If only a small area is affected, for instance the home directories, you could tar it over to a temporary area on another partition, verify the archive, delete the original and then untar it back again. -- Stephen Pitts [EMAIL PROTECTED] webmaster - http://www.mschess.org