Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Workaround for DEFRAGMENT

SR Rao
Advisor

Workaround for DEFRAGMENT

One of the FS is around 37GB, and because of the application running and the load it takes, the defragment (defragment -n -v DOMAIN) fails with an error pertaining to the memory.
# defragment -n -v mds02
defragment: Gathering data for domain 'mds02'
defragment: Can't allocate memory for expanded xtnt desc table
defragment: Can't allocate memory for expanded xtnt desc table
defragment: Error = ENO_MORE_MEMORY (-1054)
************* PROGRAM ABORT **************

defragment: Error occurred during pass 1 on volume 4. Continuing...


defragment: chk_move_file()::Can't find file set hdr - tag 1.32769 - volume 1
defragment: Error occurred during pass 1 on volume 1. Continuing...
defragment: Can't allocate memory for analyzing storage bit map
defragment: Can't gather data for domain 'mds02'

If I manually copy the data from one FS to a new FS, will the data in the new FS still be fragmented???

Any other method of defragmenting???
3 REPLIES
Victor Semaska_3
Esteemed Contributor

Re: Workaround for DEFRAGMENT

SR Rao,

With regards to defragment, have you checked your ulimit? Maybe raising them, if possible, would help. Just a hunch but try raising data area with the -d option.

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Ivan Ferreira
Honored Contributor

Re: Workaround for DEFRAGMENT

vfast is another method of defragmenting. Also, backup and restore is an old option. You should check your kernel memory parameters.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Mark Poeschl_2
Honored Contributor

Re: Workaround for DEFRAGMENT

Also, be aware that copying from one fileset to another WITHIN the same domain may do little good and may even make fragmentation worse depending on the shape of the free space in the domain. If you want to be sure of defragmentation during a copy or backup/restore the destination domain should have lots of contiguous free space.