Operating System - HP-UX
1838576 Members
4079 Online
110128 Solutions
New Discussion

Re: filesystem defragmentation

 
hpuxhelp
Regular Advisor

filesystem defragmentation

I know that online JFS has this feature. But is there any other ways to monitor the disk defragmentation and optimize disk usage and improve I/O ?
9 REPLIES 9
James R. Ferguson
Acclaimed Contributor

Re: filesystem defragmentation

Hi:

'fsadm' is designed both to monitor directory and extent framentation and to perform the reorganization. See the masn pages for 'fsadm'.

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: filesystem defragmentation

There's no way I know of to defragment a whole disk other than to blow away all LVM structures, recreate your VGs and LVs and restore your data.

Your best bet, I think, is to just use the online JFS functionality to defrag your LVOLs.
Oleg Zieaev_1
Regular Advisor

Re: filesystem defragmentation

Hello.

fsadm (1m) - to defragment. If you want to optimize disk IO - striping might be the answer for you are looking for or/and change of mount options.

If you don't have Online JFS - blow away your file system and restore, but I would say this is rather unwelcome solution for most installations.

Hope this helps,
0leg
Professionals will prevail ...
hpuxhelp
Regular Advisor

Re: filesystem defragmentation

Does o/s 10.20 have online JFS? if it does, could you please tell me what version ??
Patrick Wallek
Honored Contributor

Re: filesystem defragmentation

10.20 had online JFS available as a separately purchased product (as it is with 11.X).

Here's a link to OnlineJFS:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B3929CA

It appears that it isn't available for 10.20 anymore, but that doesn't surprise me since 10.20 itself isn't available anymore.
James R. Ferguson
Acclaimed Contributor

Re: filesystem defragmentation

Hi (again):

HP-UX 10.20 supports JFS version 3.0 with disk layout version-2 or version-3. Layout version-3 is the default layout.

Regards!

...JRF...

hpuxhelp
Regular Advisor

Re: filesystem defragmentation

base on your answer, online JFS is still available for 10.20 ?
Kelli Ward
Trusted Contributor

Re: filesystem defragmentation

Hi,

Unfortunately, I don't think Online JFS is available for purchase anymore on 10.2.
HP-UX 10.2 is no longer a supported product in that regard. You can still get patches and freebies, but I was unable to find Online JFS.
You can check software.hp.com or contact them to be sure.

Good luck,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Bill Hassell
Honored Contributor

Re: filesystem defragmentation

10.20 is obsolete and there has been no development on it for more than a year. However, fragmentation is really hard to create on JFS filesystems as the filesystem manager does a good job in reusing space. It would take a very complex set of file creation and deletions to fragment a filesystem to the point that performance would be affected. Most likely, performance issues are related to access methods and the the number of disks and paths to the disks, rather than fragmentation.


Bill Hassell, sysadmin