From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97306696615460.tru64-unix-managers.marc@archive.invalid> From: "Charlton, Mark" Date: Wed, 01 Nov 2000 08:07:23 +0000 To: tru64-unix-managers Subject: UPDATE: inconsistencies between showfdmn and showfsets? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97306696615460 Hi, I've had a few helpful responses so far, but have yet to discover the inconsistency. Both Joe Ledesma and Stuart Hartley suggested using vdf - but this still produces an inconsistent result; Stuart also goes onto suggest using /sbin/advfs/shfragbf to get an idea of space lost through fragmentation, but still doesn't make up the difference. Peyton Bland suggests something on the lines of the "minfree" parameter which is applicable to UFS, but I don't think this applies to ADVFS - can anyone confirm this? The original post is below. Will summarise, if I manage to find a solution. Mark > Hi, > > Trying to write a script, using the commands showfdmn and showfsets, to give > accurate readout of filesystem usage on advfs domains, as df does not. > > I've noticed that the figures for used blocks given in showfsets does not > tally up with the figures for total number of blocks minus number of free > blocks given in showfdmn, e.g. > > Id Date Created LogPgs Domain Name > 3517e1ca.000c7444 Tue Mar 24 16:39:38 1998 512 files_dmn > > Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name > 1L 44412090 9735184 78% on 256 256 /dev/rz9c > 2 44412090 12350856 72% on 256 256 /dev/rzc9c > 3 44412090 12833160 71% on 256 256 /dev/rzb34c > 4 44412090 15294064 66% on 256 256 /dev/rzc59c > ---------- ---------- ------ > 177648360 50213264 72% > > files_fset > Id : 3517e1ca.000c7444.1.8001 > Files : 666233, SLim= 0, HLim= 0 > Blocks (1k) : 110560678, SLim= 0, HLim= 0 > Quota Status : user=off group=off > > > So I work out that 177648360 - 50213264 = 127435096. This does not equal > 110560678 given in the showfsets command. > > The filesystem contains a large number of small files, over a million. > > The figures tie up for the root_domain and some other filesystems. > > We are running Tru64 4.0f with Patch Kit 3. > > Any ideas? > > Mark >