Likely was a unclean shutdown so some blocks messed up.

Find the affected files first:

(Note, the number after Tfile/... is the qid.path but in decimal)

mount /srv/boot /n/boot && cd /n/boot && walk -e qp | grep 
'^(269d|222bb|4d02|222a9)\.'

Then use the cwfs console "clri <path>" command to zap the files leaking their 
blocks.
(Note, just deleting the files will cause more chaos as there will be 
duplicates in
the freelist).

Alternatively, you can run "check tag" but during the check the fs will
appear hung.

see other cwfs commands in fs(8) manpage.

I prefer the "clri <path>" as it usually just affects a few files
on a unclean shutdown. And it wont pause the file-system for a
long time like the "check" command.

--
cinap

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9d712779b49b24d1-M7a04951443fc87b5d6c1d964
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to