* cannot remove corrupt file
@ 2003-04-02 21:50 kdea
0 siblings, 0 replies; only message in thread
From: kdea @ 2003-04-02 21:50 UTC (permalink / raw)
Hello Managers,
We had a crash recently while a user was editing a file, resulting in a
corrupt file that cannot be viewed, "ls -la", or delete. I've already
unmounted it and ran fsck on it, and it shows some unreadable blocks:
CANNOT READ: BLK 65923744
CONTINUE? [yn] y
THE FOLLOWING DISK SECTORS COULD NOT BE READ: 65923746, 65923749,
When I ran:
# icheck -b 65923746 /dev/rrz5c
/dev/rrz5c:
65923746 arg; frag 1 of 8, inode=7776704, class=inodes 7776704-7776768
files 303551 (r=302724,d=719,b=0,c=0,sl=108,sock=0,fifo=0)
used 22918478 (i=7362,ii=969,b=2795861,f=484942)
free 11855350 (b=1480423,f=11966)
missing 37
I tried to remove the offending inode using clri, but I get an i/o error.
# clri /dev/rrz5c 7776704
clearing 7776704
clri: /dev/rrz5c: I/O error
Is there anything I can do next to delete the file, and mark the bad
sector?
The machine is an DS20 running 4.0f pk 7. The filesystem is ufs.
Thanks,
Kevin
--
Kevin Dea
UNIX System Administrator
Alpine Electronics Research of America
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-02 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-02 21:50 cannot remove corrupt file kdea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox