On Tue, 17 Dec 2002, Kirk McKusick wrote:
> Please send me a `dumpfs /usr | head -50' output of the filesystem
> under the current system. Then clean it up with fsck and run the
> same command again. Finally, boot up under the old kernel and
> get the output both before and after fsck cleaning. What I am
> looking for is changes in the reported size of the filesystem
> because that getting out of sync is what is causing these problems.

Attached is the first one and then the result after cleaning with fsck did
differ.  The others were all identical to the latter so they are not
included.  Below is the diff between the two.  Interesting how blocks is
reduced post fsck, as you predicted.  The question is, why?

-Nate

--- dump1.txt   Wed Dec 18 13:21:56 2002
+++ dump2.txt   Wed Dec 18 13:21:56 2002
@@ -1,10 +1,10 @@
-magic  11954 (UFS1)    time    Wed Dec 18 12:59:07 2002
+magic  11954 (UFS1)    time    Wed Dec 18 05:01:50 2002
 id     [ 3d59009b 700be1d7 ]
-ncg    20      size    819580  blocks  1794231
+ncg    20      size    819580  blocks  806755
 bsize  16384   shift   14      mask    0xffffc000
 fsize  2048    shift   11      mask    0xfffff800
 frag   8       shift   3       fsbtodb 2
-minfree        8%      optim   time    symlinklen 60
+minfree        8%      optim   space   symlinklen 60
 maxbpg 4096    maxcontig 7     contigsumsize 7
 nbfree 11421   ndir    19146   nifree  272816  nffree  67693
 cpg    89      bpg     11392   fpg     91136   ipg     22528
@@ -14,8 +14,8 @@
 rotdelay 0ms   rps     60      trackskew 0     interleave 1
 nsect  4096    npsect  4096    spc     4096
 sblkno 8       cblkno  16      iblkno  24      dblkno  1432
-cgrotor        0       fmod    0       ronly   0       clean   1
-flags  soft-updates 
+cgrotor        0       fmod    0       ronly   0       clean   0
+flags  soft-updates unknown flags (0xffffff80)
 
 cs[].cs_(nbfree,ndir,nifree,nffree):

(0,1482,7459,897) (31,1806,7089,6895) (134,1545,9162,8266) (336,219,19257,8645) 
@@ -28,10 +28,10 @@
 
 
 cg 0:
-magic  90255   tell    8000    time    Wed Dec 18 12:59:07 2002
+magic  90255   tell    8000    time    Wed Dec 18 05:01:46 2002
 cgx    0       ncyl    89      niblk   22528   ndblk   91136
 nbfree 0       ndir    1482    nifree  7459    nffree  897
-rotor  90008   irotor  4016    frotor  50360
+rotor  90008   irotor  4016    frotor  1448
 frsum  43      35      24      32      28      25      42
 sum of frsum: 897
 clusters 1-6:  0       0       0       0       0       0

magic   11954 (UFS1)    time    Wed Dec 18 12:59:07 2002
id      [ 3d59009b 700be1d7 ]
ncg     20      size    819580  blocks  1794231
bsize   16384   shift   14      mask    0xffffc000
fsize   2048    shift   11      mask    0xfffff800
frag    8       shift   3       fsbtodb 2
minfree 8%      optim   time    symlinklen 60
maxbpg  4096    maxcontig 7     contigsumsize 7
nbfree  11421   ndir    19146   nifree  272816  nffree  67693
cpg     89      bpg     11392   fpg     91136   ipg     22528
nindir  4096    inopb   128     nspf    4       maxfilesize     1126174852055039
sbsize  2048    cgsize  16384   cgoffset 1024   cgmask  0xffffffff
csaddr  1432    cssize  2048
rotdelay 0ms    rps     60      trackskew 0     interleave 1
nsect   4096    npsect  4096    spc     4096
sblkno  8       cblkno  16      iblkno  24      dblkno  1432
cgrotor 0       fmod    0       ronly   0       clean   1
flags   soft-updates 

cs[].cs_(nbfree,ndir,nifree,nffree):
        (0,1482,7459,897) (31,1806,7089,6895) (134,1545,9162,8266) 
(336,219,19257,8645) 
        (106,279,18193,7920) (1569,620,17451,2884) (1062,966,12422,3742) 
(2266,186,21896,2570) 
        (123,2970,1965,5473) (100,516,16906,6126) (1620,858,13288,1257) 
(3952,1029,14065,1560) 
        (6,1678,7948,3451) (76,2172,7894,2344) (0,930,8483,3) (0,194,18873,3157) 
        (40,537,14315,254) (0,789,14393,67) (0,203,20696,1000) (0,167,21061,1182) 
cylinders in last group 89
blocks in last group 11311


cg 0:
magic   90255   tell    8000    time    Wed Dec 18 12:59:07 2002
cgx     0       ncyl    89      niblk   22528   ndblk   91136
nbfree  0       ndir    1482    nifree  7459    nffree  897
rotor   90008   irotor  4016    frotor  50360
frsum   43      35      24      32      28      25      42
sum of frsum: 897
clusters 1-6:   0       0       0       0       0       0
clusters size 7 and over: 0
clusters free:  
inodes used:    0-4015, 4017-6244, 6252-6255, 6258-6279, 6281, 6284-6917,
        6919-6937, 6939-7007, 7026, 7033, 7042, 7045,
        7047-7054, 7056-7057, 7064-7065, 7068, 7081, 7084,
        7090-7092, 7101-7102, 7109-7112, 7146, 7148, 7154-7156,
        7169, 7174-7176, 7178, 7188, 7190-7193, 7200,
        7202-7204, 7213, 7221, 7228-7821, 7826, 7835-7839,
        7844-7845, 7848-7849, 7852, 7857, 7870, 7876-7878,
        7883-7886, 7888, 7898-8042, 8047, 8049-8120, 8122,
        8135-8442, 8444-8446, 8448-8450, 8453-8459, 8463, 8467,
        8471-8506, 8509-8556, 8559-8974, 8976-8991, 8994-9096, 9098-9110,
        9112-9125, 9127-9128, 9130-9150, 9152-9154, 9156-9181, 9183-9195,

Reply via email to