From: "Bernd Maier" <bema@hush.com>
To: 9fans@9fans.net
Subject: [9fans] Fossil fs recovery
Date: Wed, 10 Aug 2011 14:35:51 +0200 [thread overview]
Message-ID: <20110810123551.7D3476F442@smtp.hushmail.com> (raw)
Hello,
today there were problems with the Fossil FS on my Plan9 test
installation. I got first something like:
"iostate is 2 in blockwrite"
I did than the following steps.
I would like to ask if this is the right way to fix a Fossil FS? I
am new to
Plan9 but I come from the Unix world and this was close to my Unix
experience.
Regards,
Bernd
What I did:
con -l /srv/fossil
prompt: fsys main
main: check
main: check
checking epoch 1...
check: visited 1/1377184 blocks (0%)
check: visited 13772/1377184 blocks (1%)
check: visited 27543/1377184 blocks (2%)
check: visited 41314/1377184 blocks (3%)
check: visited 55085/1377184 blocks (4%)
fsys blocks: total=1377184 used=63411(4.6%) free=1308340(95.0%)
lost=5433(0.4%)
error: source has been removed: /active/sys/src/fs/wrens/wrens.8 ->
72
error: source has been removed: /active/sys/src/fs/wrens/uidgid.8 -
> 47
error: source has been removed: /active/sys/src/fs/wrens/udp.8 ->
62
error: source has been removed: /active/sys/src/fs/wrens/trap.8 ->
25
error: source has been removed: /active/sys/src/fs/wrens/toy.8 ->
24
error: source has been removed: /active/sys/src/fs/wrens/timezone.h
-> 46
error: source has been removed: /active/sys/src/fs/wrens/time.8 ->
71
error: source has been removed: /active/sys/src/fs/wrens/sub.8 ->
45
error: source has been removed: /active/sys/src/fs/wrens/sntp.8 ->
61
error: source has been removed: /active/sys/src/fs/wrens/rawcopy.8 -
> 44
error: source has been removed: /active/sys/src/fs/wrens/proc.8 ->
43
error: source has been removed: /active/sys/src/fs/wrens/print.8 ->
42
error: source has been removed: /active/sys/src/fs/wrens/pci.8 ->
23
error: source has been removed: /active/sys/src/fs/wrens/pc.8 -> 22
error: source has been removed: /active/sys/src/fs/wrens/part.8 ->
54
...
main: check fix
...
error: source has been removed: /active/sys/src/fs/wrens/cga.8 ->
14
error: could not open source: /active/sys/src/fs/wrens/bootflp ->
75: corrupted file entry
error: source has been removed: /active/sys/src/fs/wrens/auth.8 ->
27
error: source has been removed: /active/sys/src/fs/wrens/ata.8 ->
13
error: source has been removed: /active/sys/src/fs/wrens/arp.8 ->
55
error: source has been removed: /active/sys/src/fs/wrens/aoe.8 ->
48
error: source has been removed:
/active/sys/src/fs/wrens/9wrensfs.gz -> 74
error: source has been removed: /active/sys/src/fs/wrens/9wrensfs -
> 73
error: source has been removed: /active/sys/src/fs/wrens/9p2.8 ->
26
error: source has been removed: /active/sys/src/fs/wrens/8253.8 ->
12
error: source has been removed: /active/sys/src/fs/wrens/8250.8 ->
11
fsck: 65 clri, 0 clre, 0 clrp, 5433 bclose
Next check:
main: check
checking epoch 1...
check: visited 1/1377184 blocks (0%)
check: visited 13772/1377184 blocks (1%)
check: visited 27543/1377184 blocks (2%)
check: visited 41314/1377184 blocks (3%)
check: visited 55085/1377184 blocks (4%)
fsys blocks: total=1377184 used=63411(4.6%) free=1313773(95.4%)
lost=0(0.0%)
error: non referenced entry in source /active/sys/src/fs/wrens[10]
error: non referenced entry in source /active/sys/src/fs/wrens[11]
error: non referenced entry in source /active/sys/src/fs/wrens[12]
error: non referenced entry in source /active/sys/src/fs/wrens[13]
error: non referenced entry in source /active/sys/src/fs/wrens[14]
error: non referenced entry in source /active/sys/src/fs/wrens[15]
error: non referenced entry in source /active/sys/src/fs/wrens[16]
error: non referenced entry in source /active/sys/src/fs/wrens[17]
error: non referenced entry in source /active/sys/src/fs/wrens[18]
error: non referenced entry in source /active/sys/src/fs/wrens[19]
error: non referenced entry in source /active/sys/src/fs/wrens[20]
error: non referenced entry in source /active/sys/src/fs/wrens[21]
error: non referenced entry in source /active/sys/src/fs/wrens[22]
error: non referenced entry in source /active/sys/src/fs/wrens[23]
error: non referenced entry in source /active/sys/src/fs/wrens[24]
error: non referenced entry in source /active/sys/src/fs/wrens[25]
error: non referenced entry in source /active/sys/src/fs/wrens[26]
error: non referenced entry in source /active/sys/src/fs/wrens[27]
error: non referenced entry in source /active/sys/src/fs/wrens[28]
error: non referenced entry in source /active/sys/src/fs/wrens[29]
error: non referenced entry in source /active/sys/src/fs/wrens[30]
error: non referenced entry in source /active/sys/src/fs/wrens[31]
...
error: non referenced entry in source /active/sys/src/fs/wrens[74]
fsck: 0 clri, 64 clre, 0 clrp, 0 bclose
Stop system
cpu% fshalt
syncing.../srv/fscons...
main: venti...
halting.../srv/fscons...fsys all sync
main sync: wrote 7 blocks
done halting
Restart again
cpu% con -l /srv/fscons
prompt: fsys main
main: check
checking epoch 1...
check: visited 1/1377184 blocks (0%)
check: visited 13772/1377184 blocks (1%)
check: visited 27543/1377184 blocks (2%)
check: visited 41314/1377184 blocks (3%)
check: visited 55085/1377184 blocks (4%)
fsys blocks: total=1377184 used=63217(4.6%) free=1313773(95.4%)
lost=194(0.0%)
fsck: 0 clri, 0 clre, 0 clrp, 194 bclose
next reply other threads:[~2011-08-10 12:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-10 12:35 Bernd Maier [this message]
2011-08-10 15:25 ` Steve Simon
2011-08-10 16:21 Bernd Maier
2011-08-10 17:46 ` David du Colombier
2011-08-10 21:58 ` Steve Simon
2011-08-10 22:12 ` ron minnich
2011-08-11 8:11 ` David du Colombier
2011-08-11 13:46 ` David Leimbach
2011-08-11 13:56 ` Jack Norton
2011-08-11 15:37 ` David du Colombier
2011-08-11 15:15 ` Steve Simon
2011-08-11 15:30 ` David du Colombier
2011-08-13 19:12 ` geoff
2011-08-13 23:44 ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-08-14 6:21 ` Steve Simon
2011-08-14 11:48 ` Francisco J Ballesteros
2011-08-14 17:55 ` David du Colombier
2011-08-12 9:53 Bernd Maier
2011-08-12 12:03 ` David du Colombier
2011-08-14 14:49 Bernd Maier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110810123551.7D3476F442@smtp.hushmail.com \
--to=bema@hush.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).