UFS filesystem Problems

From: Tim W. Janes <janes_at_signal.dra.hmg.gb>
Date: Thu, 16 Nov 1995 10:26:40 +0000 (GMT)

Hi all,

On one of our alphas (400-2/233 OSF/1 V3.2C ) has developed a problem
with the UFS filesystem on the g partition on its internal disk

The partition table
# size offset fstype [fsize bsize cpg]
  a: 262144 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 328*)
  b: 1048576 262144 unused 1024 8192 # (Cyl. 328*- 1642*)
  c: 2050860 0 unused 1024 8192 # (Cyl. 0 - 2569)
  d: 0 0 unused 1024 8192 # (Cyl. 0 - -1)
  e: 0 0 unused 1024 8192 # (Cyl. 0 - -1)
  f: 0 0 unused 1024 8192 # (Cyl. 0 - -1)
  g: 740140 1310720 4.2BSD 1024 8192 16 # (Cyl. 1642*- 2569*)
  h: 0 0 unused 1024 8192 # (Cyl. 0 - -1)

du and df reports appear OK

# du -s -k
202382 .
# df -k .
Filesystem 1024-blocks Used Avail Capacity Mounted on
/dev/rz0g 357989 202382 119808 63% /local/data

But dump estimates is huge breaking our nightly backups

# dump 0f /mnt/tmp/data/shelley.dmp /dev/rrz0g
dump: Dumping from host shelley.dra.hmg.gb
dump: Date of this level 0 dump: Thu Nov 16 09:53:02 1995 GMT
dump: Date of last level dump: the start of the epoch
dump: Dumping /dev/rrz0g (/local/data) to /mnt/tmp/data/shelley.dmp
dump: Mapping (Pass I) [regular files]
dump: Mapping (Pass II) [directories]
dump: Estimate: 15145784 tape blocks on 0.00 volume(s)
dump: Dumping (Pass III) [directories]
dump: 0.00% done -- finished in 25:14

I have tracked down the problem to one directory where ls -l incorrectly
report 412Gbyte files !!

# ls -l
total 4928
-rwxr-xr-x 1 shannon users 412316954624 Oct 6 10:05 HCode
-rwxr-xr-x 1 shannon users 412316983296 Oct 6 10:05 HCompV
-rwxr-xr-x 1 shannon users 412316954624 Oct 6 10:05 HCopy
-rwxr-xr-x 1 shannon users 412317016064 Oct 6 10:05 HERest
-rwxr-xr-x 1 shannon users 412317028352 Oct 6 10:05 HHEd
...

I have tried umounting the disk and doing an fsck -o /dev/rrz0g but it
passed cleanly.

Any Suggestion on how to recover or should I newfs the partition and
restore from last weeks backup?

Thanks for any suggestion

Tim.
Received on Thu Nov 16 1995 - 11:55:21 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT