]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/cwfs/doc/worm.fs
merge
[plan9front.git] / sys / src / cmd / cwfs / doc / worm.fs
1 # fs: new main file server on 633MHz machine with 4 IDE disks & 4K blocks
2 # was called rosewood at first
3 config h0
4 service fs
5 ip0     66.120.90.177
6 ipgw0   66.120.90.186
7 ipmask0 255.255.255.0
8 ipsntp  66.120.90.185
9 filsys main c{p(h0)0.25p(h2)0.25}f{p(h0)25.75p(h2)25.75}
10 filsys dump o
11 filsys other h3
12 # later added: filsys spare h1
13 # ream other
14 # ream main
15 # recover main
16 allow
17 end
18
19 h0 20GB "main":  25% cache and 75% fake-worm;
20 h1 40GB "spare": holds test venti used for backup
21 h2 20GB "main":  (h1.0.0) a mirror of h0.
22 h3 40GB "other": (h1.1.0) ``scratch'' space
23
24 ---
25 halted. press a key to reboot.
26
27 ether#0: i82557: port 0x9400 irq 10: 00A0C9E02756
28 dev A0 port 1F0 config 427A capabilities 2F00 mwdma 0007 udma 103F
29 dev A0 port 170 config 427A capabilities 2F00 mwdma 0007 udma 043F
30 dev B0 port 170 config 045A capabilities 0F00 mwdma 0007 udma 043F
31 found 9PCFSIMR.    attr 0x0 start 0x423 len 391193
32 .239705.............................+41712.....+181524=462941
33 entry: 0x80100020
34 cpu0: 635MHz GenuineIntel PentiumIII/Xeon (cpuid: AX 0x0686 DX 0x383f9ff)
35 ether0: i82557: 100Mbps port 0x9400 irq 10: 00a0c9e02756
36
37 iobufinit
38         114253 buffers; 14281 hashes
39         mem left = 44040191
40                 out of = 528482304
41 nvr read
42 found plan9.nvr attr 0x0 start 0x18c len 677
43 for config mode hit a key within 5 seconds
44
45 config: filsys main c{p(h0)0.25p(h2)0.25}f{p(h0)25.75p(h2)25.75}
46 config: filsys dump o
47 config: filsys other h3
48 config: recover main 
49 config: ream other
50 config: allow
51 config: end
52 ysinits
53 config h0
54         devinit h0
55 i hd0: DW CDW02E0-B00HB0F    lba/atapi/drqintr: 1/0/0  C/H/S: 0/0/0  CAP: 39102336
56 hd0: LBA 39102336 sectors
57 ideinit(device 9ce00948 ctrl 0 targ 0) driveno 0 dp 802eff24
58 config block written
59 config h0
60         devinit h0
61 ideinit(device 9ce00988 ctrl 0 targ 0) driveno 0 dp 802eff24
62 service    rosewood
63 ipauth  0.0.0.0
64 ipsntp  66.120.90.185
65 ip0     66.120.90.194
66 ipgw0   66.120.90.186
67 ipmask0 255.255.255.0
68 filsys main c{p(h0)0.25p(h2)0.25}f{p(h0)25.75p(h2)25.75}
69 filsys dump o
70 filsys other h3
71 sysinit: main
72 recover: c{p(h0)0.25p(h2)0.25}f{p(h0)25.75p(h2)25.75}
73         devinit {p(h0)0.25p(h2)0.25}
74         devinit p(h0)0.25
75         devinit h0
76 ideinit(device 9ce00a68 ctrl 0 targ 0) driveno 0 dp 802eff24
77 atasize(9ce00a68):  39102336 -> 4887552
78         devinit p(h2)0.25
79         devinit h2
80 i hd2: DW CDW02E0-B00HB0F    lba/atapi/drqintr: 1/0/0  C/H/S: 0/0/0  CAP: 39102336
81 hd2: LBA 39102336 sectors
82 ideinit(device 9ce00ae8 ctrl 0 targ 2) driveno 2 dp 802f4324
83 atasize(9ce00ae8):  39102336 -> 4887552
84         devinit f{p(h0)25.75p(h2)25.75}
85 fworm init
86         devinit {p(h0)25.75p(h2)25.75}
87         devinit p(h0)25.75
88         devinit h0
89 ideinit(device 9ce00bc8 ctrl 0 targ 0) driveno 0 dp 802eff24
90 atasize(9ce00bc8):  39102336 -> 4887552
91         devinit p(h2)25.75
92         devinit h2
93 ideinit(device 9ce00c48 ctrl 0 targ 2) driveno 2 dp 802f4324
94 atasize(9ce00c48):  39102336 -> 4887552
95 dump 2 is good; 5 next
96 dump 5 is good; 494408 next
97 dump 494408 is good; 495193 next
98 dump 495193 is good; 495224 next
99 dump 495224 is good; 496007 next
100 dump 496007 is good; 496062 next
101 dump 496062 is good; 496089 next
102 dump 496089 is good; 496096 next
103 dump 496096 is good; 496118 next
104 dump 496118 is good; 496882 next
105 fworm: read 496882
106 cache init c{p(h0)0.25p(h2)0.25}f{p(h0)25.75p(h2)25.75}
107 done cacheinit
108 done recover
109         devinit c{p(h0)0.25p(h2)0.25}f{p(h0)25.75p(h2)25.75}
110 sysinit: dump
111         devinit o{p(h0)0.25p(h2)0.25}f{p(h0)25.75p(h2)25.75}
112 sysinit: other
113         devream: h3 1
114         devinit h3
115 i hd3: AMTXRO4 0K042H        lba/atapi/drqintr: 1/0/0  C/H/S: 0/0/0  CAP: 78198750
116 hd3: LBA 78198750 sectors
117 ideinit(device 9ce00ca8 ctrl 0 targ 3) driveno 3 dp 802f44f0
118 atasize(9ce00ca8):  78198750 -> 9774592
119 ether0o: 00a0c9e02756 66.120.90.194
120 ether0i: 00a0c9e02756 66.120.90.194
121 next dump at Mon Sep 10 05:00:00 2001
122 current fs is "main"
123 il: allocating il!66.120.90.189!23230
124 41 uids read, 21 groups used
125 rosewood as of Sun Sep  9 16:27:27 2001
126         last boot Mon Sep 10 00:56:10 2001
127 touch superblock 496118
128 rosewood: