From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078708811709.tru64-unix-managers.marc@archive.invalid> From: Knut =?iso-8859-1?Q?Helleb=F8?= Date: Wed, 20 May 1998 14:31:31 +0000 To: tru64-unix-managers Subject: Summary: AdvFS Defragmentation and stale file handle mapping X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078708811709 Regards managers, Sorry for summarizing so late, but I've been quite busy lately ... Original post: > Regards, > = > I'd like to know when and how you people out there perform defragmentat= ion > on your AdvFS domains. We've seen problems runnning too many defragment= > processes simultaneously and we've also heard that defragmentation from= cron > is not recommended by DEC (or should I say Digipaq now after the merger= ??). > Previously we were told that defragmentation is a must and must be done= on a > regular basis. If the latter is correct, what would you then describe a= s a > sound regular basis ? > And another thing, I seem to remember someone long ago posted a nifty l= ittle >program for mapping AdvFS file handles to pathnames but I did not = get hold of it >then. Someone able to give me a hint ? Summary: 1. All responders that do defragmenting regularly DO run defrag from cron= , and since DEC in 4.0D have included an entry in cron for defragmenting I conclude that this is a wise thing to do. However, there was no consensus= on how often defragmenting should be done; some did it weekly/monthly, other= s daily and others used a mixed scheme. The mixed scheme consisted of cron runs and manual defrags if the cron run did not defrag "good enough" (the= majority of those who ran that mixed scheme had a personal feeling on wha= t was considered to be "good enough"). The rule of thumb seems to be "defra= g more often if the filesystem is active, e.g news/mail/print spools etc." 2. "stale file handle" and mapping from AdvFS/NFS file handles to filenam= es: Someone suggested 'vncheck' posted earlier on this list, but this utility= does not point directly to a file using the file handle (eg "fs(2934,8529= 63) file 21292 gen 32774") that shows up in /var/adm/syslog.dated/*/kern.log.= It is also useless in an ASE environment were the AdvFS domains are not list= ed in /etc/fstab. That is also the case for 'ncheck' (of course you can tric= k ncheck/vncheck by manually insert an entry for all the locally mounted Ad= vFS domains but this is not good if the system goes down and the AdvFS domain= s are overtaken by another ASE cluster host) Dr. Tom Blinn suggested 'tag2name' but I am not quite sure how to interpr= et the file handles in the above message into a valid entry in the .tags directory. Anyone able to give me a clue; Tom perhaps ? -- = ****************************************************************** * Knut Helleb=F8 | DAMN GOOD COFFEE !! = * * Norsk Hydro a.s | (and hot too) * * Phone: +47 55 996870, Fax: +47 55 996495 | * * Cellular Phone: +47 93092402 | * * E-mail: Knut.Hellebo@nho.hydro.com | Dale Cooper, FBI * ******************************************************************