OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Applications => Topic started by: StefanZ on 2010.07.15, 18:47:18

Title: JFS (de)Fragmentation
Post by: StefanZ on 2010.07.15, 18:47:18
Hello everyone.

- Is there a way how to analyze (and show) the current JFS volume fragmentation?
- are there any (fully functional) tools to defrag JFS?

Thanks in advance.
Title: Re: JFS (de)Fragmentation
Post by: Pete on 2010.07.15, 20:25:55
Hi StefanZ

You should have defragfs.exe in the \OS2 directory although it is not usually needed - you may want to have a read through http://www.softpanorama.org/Internals/Filesystems/jfs.shtml especially the bit about JFS Utilities.

Not sure if JRescuer can show fragmentation http://en.ecomstation.ru/projects/jrescuer/

Regards

Pete
Title: Re: JFS (de)Fragmentation
Post by: ivan on 2010.07.15, 20:42:12
Hi Stefan,

I think the answer is NO, and my experience is that there is also no reliable way of recovering a dud disk other than reformatting and restoring from backup.

A possible way to consolidate files on a JFS volume is to XCOPY everything to another disk  reformat the original and then XCOPY it all back.  At least when I did that after a disk crash I had more free space shown than before the restore.

ivan