worm.fs 4.0 KB

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