dissappearing disk space (v7)
Larry Campbell
campbell at maynard.UUCP
Sun Sep 8 10:09:34 AEST 1985
> Version 7 had a bug that would allow more blocks to be allocated
> to an inode than the size field required. This was totally
> consistant, in that fsck would not complain. Allocated blocks
> plus free blocks still equaled total blocks.
>
> I suspect this is your problem.
>
> Fred Toth
> Washburn Graphics, Inc.
> Charlotte, NC
> decvax!mcnc!unccvax!wgivax!fpt
Yes, indeed. Last night it happened again and I went adb-ing through
the inode for /usr/lib/news/history. It was a "large" file, with 70
blocks. The first i_addr entry pointed to a perfectly reasonable
indirect block with 70 entries followed by zeroes. But i_addr[1]
through i_addr[8] also contained pointers to indirect blocks, which
in turn pointed to all the lost disk space. Copying the history
file and deleting the original freed up the lost blocks.
Later this weekend I'll try running the scani program you posted to see
if any other files are involved. Any insights into what provokes the
bug, possible fixes or workarounds, would be greatly appreciated.
--
Larry Campbell decvax!genrad
The Boston Software Works, Inc. \
120 Fulton St. seismo!harvard!wjh12!maynard!campbell
Boston MA 02109 / /
ihnp4 cbosgd
ARPA: campbell%maynard.uucp at harvard.arpa
More information about the Comp.unix.wizards
mailing list