Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2011
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.68 KB | None | 0 0
  1. Given volfile:
  2. +------------------------------------------------------------------------------+
  3. 1: volume pfs-ro1-client-0
  4. 2: type protocol/client
  5. 3: option remote-host jc1letgfs17-pfs1
  6. 4: option remote-subvolume /export/read-only/g01
  7. 5: option transport-type tcp
  8. 6: option ping-timeout 10
  9. 7: end-volume
  10. 8:
  11. 9: volume pfs-ro1-client-1
  12. 10: type protocol/client
  13. 11: option remote-host jc1letgfs18-pfs1
  14. 12: option remote-subvolume /export/read-only/g01
  15. 13: option transport-type tcp
  16. 14: option ping-timeout 10
  17. 15: end-volume
  18. 16:
  19. 17: volume pfs-ro1-client-2
  20. 18: type protocol/client
  21. 19: option remote-host jc1letgfs17-pfs1
  22. 20: option remote-subvolume /export/read-only/g02
  23. 21: option transport-type tcp
  24. 22: option ping-timeout 10
  25. 23: end-volume
  26. 24:
  27. 25: volume pfs-ro1-client-3
  28. 26: type protocol/client
  29. 27: option remote-host jc1letgfs18-pfs1
  30. 28: option remote-subvolume /export/read-only/g02
  31. 29: option transport-type tcp
  32. 30: option ping-timeout 10
  33. 31: end-volume
  34. 32:
  35. 33: volume pfs-ro1-client-4
  36. 34: type protocol/client
  37. 35: option remote-host jc1letgfs17-pfs1
  38. 36: option remote-subvolume /export/read-only/g03
  39. 37: option transport-type tcp
  40. 38: option ping-timeout 10
  41. 39: end-volume
  42. 40:
  43. 41: volume pfs-ro1-client-5
  44. 42: type protocol/client
  45. 43: option remote-host jc1letgfs18-pfs1
  46. 44: option remote-subvolume /export/read-only/g03
  47. 45: option transport-type tcp
  48. 46: option ping-timeout 10
  49. 47: end-volume
  50. 48:
  51. 49: volume pfs-ro1-client-6
  52. 50: type protocol/client
  53. 51: option remote-host jc1letgfs17-pfs1
  54. 52: option remote-subvolume /export/read-only/g04
  55. 53: option transport-type tcp
  56. 54: option ping-timeout 10
  57. 55: end-volume
  58. 56:
  59. 57: volume pfs-ro1-client-7
  60. 58: type protocol/client
  61. 59: option remote-host jc1letgfs18-pfs1
  62. 60: option remote-subvolume /export/read-only/g04
  63. 61: option transport-type tcp
  64. 62: option ping-timeout 10
  65. 63: end-volume
  66. 64:
  67. 65: volume pfs-ro1-client-8
  68. 66: type protocol/client
  69. 67: option remote-host jc1letgfs17-pfs1
  70. 68: option remote-subvolume /export/read-only/g05
  71. 69: option transport-type tcp
  72. 70: option ping-timeout 10
  73. 71: end-volume
  74. 72:
  75. 73: volume pfs-ro1-client-9
  76. 74: type protocol/client
  77. 75: option remote-host jc1letgfs18-pfs1
  78. 76: option remote-subvolume /export/read-only/g05
  79. 77: option transport-type tcp
  80. 78: option ping-timeout 10
  81. 79: end-volume
  82. 80:
  83. 81: volume pfs-ro1-client-10
  84. 82: type protocol/client
  85. 83: option remote-host jc1letgfs17-pfs1
  86. 84: option remote-subvolume /export/read-only/g06
  87. 85: option transport-type tcp
  88. 86: option ping-timeout 10
  89. 87: end-volume
  90. 88:
  91. 89: volume pfs-ro1-client-11
  92. 90: type protocol/client
  93. 91: option remote-host jc1letgfs18-pfs1
  94. 92: option remote-subvolume /export/read-only/g06
  95. 93: option transport-type tcp
  96. 94: option ping-timeout 10
  97. 95: end-volume
  98. 96:
  99. 97: volume pfs-ro1-client-12
  100. 98: type protocol/client
  101. 99: option remote-host jc1letgfs17-pfs1
  102. 100: option remote-subvolume /export/read-only/g07
  103. 101: option transport-type tcp
  104. 102: option ping-timeout 10
  105. 103: end-volume
  106. 104:
  107. 105: volume pfs-ro1-client-13
  108. 106: type protocol/client
  109. 107: option remote-host jc1letgfs18-pfs1
  110. 108: option remote-subvolume /export/read-only/g07
  111. 109: option transport-type tcp
  112. 110: option ping-timeout 10
  113. 111: end-volume
  114. 112:
  115. 113: volume pfs-ro1-client-14
  116. 114: type protocol/client
  117. 115: option remote-host jc1letgfs17-pfs1
  118. 116: option remote-subvolume /export/read-only/g08
  119. 117: option transport-type tcp
  120. 118: option ping-timeout 10
  121. 119: end-volume
  122. 121: volume pfs-ro1-client-15
  123. 122: type protocol/client
  124. 123: option remote-host jc1letgfs18-pfs1
  125. 124: option remote-subvolume /export/read-only/g08
  126. 125: option transport-type tcp
  127. 126: option ping-timeout 10
  128. 127: end-volume
  129. 128:
  130. 129: volume pfs-ro1-client-16
  131. 130: type protocol/client
  132. 131: option remote-host jc1letgfs17-pfs1
  133. 132: option remote-subvolume /export/read-only/g09
  134. 133: option transport-type tcp
  135. 134: option ping-timeout 10
  136. 135: end-volume
  137. 136:
  138. 137: volume pfs-ro1-client-17
  139. 138: type protocol/client
  140. 139: option remote-host jc1letgfs18-pfs1
  141. 140: option remote-subvolume /export/read-only/g09
  142. 141: option transport-type tcp
  143. 142: option ping-timeout 10
  144. 143: end-volume
  145. 144:
  146. 145: volume pfs-ro1-client-18
  147. 146: type protocol/client
  148. 147: option remote-host jc1letgfs17-pfs1
  149. 148: option remote-subvolume /export/read-only/g10
  150. 149: option transport-type tcp
  151. 150: option ping-timeout 10
  152. 151: end-volume
  153. 152:
  154. 153: volume pfs-ro1-client-19
  155. 154: type protocol/client
  156. 155: option remote-host jc1letgfs18-pfs1
  157. 156: option remote-subvolume /export/read-only/g10
  158. 157: option transport-type tcp
  159. 158: option ping-timeout 10
  160. 159: end-volume
  161. 160:
  162. 161: volume pfs-ro1-client-20
  163. 162: type protocol/client
  164. 163: option remote-host jc1letgfs14-pfs1
  165. 164: option remote-subvolume /export/read-only/g01
  166. 165: option transport-type tcp
  167. 166: option ping-timeout 10
  168. 167: end-volume
  169. 168:
  170. 169: volume pfs-ro1-client-21
  171. 170: type protocol/client
  172. 171: option remote-host jc1letgfs15-pfs1
  173. 172: option remote-subvolume /export/read-only/g01
  174. 173: option transport-type tcp
  175. 174: option ping-timeout 10
  176. 175: end-volume
  177. 176:
  178. 177: volume pfs-ro1-client-22
  179. 178: type protocol/client
  180. 179: option remote-host jc1letgfs14-pfs1
  181. 180: option remote-subvolume /export/read-only/g02
  182. 181: option transport-type tcp
  183. 182: option ping-timeout 10
  184. 183: end-volume
  185. 184:
  186. 185: volume pfs-ro1-client-23
  187. 186: type protocol/client
  188. 187: option remote-host jc1letgfs15-pfs1
  189. 188: option remote-subvolume /export/read-only/g02
  190. 189: option transport-type tcp
  191. 190: option ping-timeout 10
  192. 191: end-volume
  193. 192:
  194. 193: volume pfs-ro1-client-24
  195. 194: type protocol/client
  196. 195: option remote-host jc1letgfs14-pfs1
  197. 196: option remote-subvolume /export/read-only/g03
  198. 197: option transport-type tcp
  199. 198: option ping-timeout 10
  200. 199: end-volume
  201. 200:
  202. 201: volume pfs-ro1-client-25
  203. 202: type protocol/client
  204. 203: option remote-host jc1letgfs15-pfs1
  205. 204: option remote-subvolume /export/read-only/g03
  206. 205: option transport-type tcp
  207. 206: option ping-timeout 10
  208. 207: end-volume
  209. 208:
  210. 209: volume pfs-ro1-client-26
  211. 210: type protocol/client
  212. 211: option remote-host jc1letgfs14-pfs1
  213. 212: option remote-subvolume /export/read-only/g04
  214. 213: option transport-type tcp
  215. 214: option ping-timeout 10
  216. 215: end-volume
  217. 216:
  218. 217: volume pfs-ro1-client-27
  219. 218: type protocol/client
  220. 219: option remote-host jc1letgfs15-pfs1
  221. 220: option remote-subvolume /export/read-only/g04
  222. 221: option transport-type tcp
  223. 222: option ping-timeout 10
  224. 223: end-volume
  225. 224:
  226. 225: volume pfs-ro1-client-28
  227. 226: type protocol/client
  228. 227: option remote-host jc1letgfs14-pfs1
  229. 228: option remote-subvolume /export/read-only/g05
  230. 229: option transport-type tcp
  231. 230: option ping-timeout 10
  232. 231: end-volume
  233. 232:
  234. 233: volume pfs-ro1-client-29
  235. 234: type protocol/client
  236. 235: option remote-host jc1letgfs15-pfs1
  237. 236: option remote-subvolume /export/read-only/g05
  238. 237: option transport-type tcp
  239. 238: option ping-timeout 10
  240. 239: end-volume
  241. 240:
  242. 241: volume pfs-ro1-client-30
  243. 242: type protocol/client
  244. 243: option remote-host jc1letgfs14-pfs1
  245. 244: option remote-subvolume /export/read-only/g06
  246. 245: option transport-type tcp
  247. 246: option ping-timeout 10
  248. 247: end-volume
  249. 248:
  250. 249: volume pfs-ro1-client-31
  251. 250: type protocol/client
  252. 251: option remote-host jc1letgfs15-pfs1
  253. 252: option remote-subvolume /export/read-only/g06
  254. 253: option transport-type tcp
  255. 254: option ping-timeout 10
  256. 255: end-volume
  257. 256:
  258. 257: volume pfs-ro1-client-32
  259. 258: type protocol/client
  260. 259: option remote-host jc1letgfs14-pfs1
  261. 260: option remote-subvolume /export/read-only/g07
  262. 261: option transport-type tcp
  263. 262: option ping-timeout 10
  264. 263: end-volume
  265. 264:
  266. 265: volume pfs-ro1-client-33
  267. 266: type protocol/client
  268. 267: option remote-host jc1letgfs15-pfs1
  269. 268: option remote-subvolume /export/read-only/g07
  270. 269: option transport-type tcp
  271. 270: option ping-timeout 10
  272. 271: end-volume
  273. 272:
  274. 273: volume pfs-ro1-client-34
  275. 274: type protocol/client
  276. 275: option remote-host jc1letgfs14-pfs1
  277. 276: option remote-subvolume /export/read-only/g08
  278. 277: option transport-type tcp
  279. 278: option ping-timeout 10
  280. 279: end-volume
  281. 280:
  282. 281: volume pfs-ro1-client-35
  283. 282: type protocol/client
  284. 283: option remote-host jc1letgfs15-pfs1
  285. 284: option remote-subvolume /export/read-only/g08
  286. 285: option transport-type tcp
  287. 286: option ping-timeout 10
  288. 287: end-volume
  289. 288:
  290. 289: volume pfs-ro1-client-36
  291. 290: type protocol/client
  292. 291: option remote-host jc1letgfs14-pfs1
  293. 292: option remote-subvolume /export/read-only/g09
  294. 293: option transport-type tcp
  295. 294: option ping-timeout 10
  296. 295: end-volume
  297. 296:
  298. 297: volume pfs-ro1-client-37
  299. 298: type protocol/client
  300. 299: option remote-host jc1letgfs15-pfs1
  301. 300: option remote-subvolume /export/read-only/g09
  302. 301: option transport-type tcp
  303. 302: option ping-timeout 10
  304. 303: end-volume
  305.  
  306. 304:
  307. 305: volume pfs-ro1-client-38
  308. 306: type protocol/client
  309. 307: option remote-host jc1letgfs14-pfs1
  310. 308: option remote-subvolume /export/read-only/g10
  311. 309: option transport-type tcp
  312. 310: option ping-timeout 10
  313. 311: end-volume
  314. 312:
  315. 313: volume pfs-ro1-client-39
  316. 314: type protocol/client
  317. 315: option remote-host jc1letgfs15-pfs1
  318. 316: option remote-subvolume /export/read-only/g10
  319. 317: option transport-type tcp
  320. 318: option ping-timeout 10
  321. 319: end-volume
  322. 320:
  323. 321: volume pfs-ro1-replicate-0
  324. 322: type cluster/replicate
  325. 323: option metadata-change-log on
  326. 324: subvolumes pfs-ro1-client-0 pfs-ro1-client-1
  327. 325: end-volume
  328. 326:
  329. 327: volume pfs-ro1-replicate-1
  330. 328: type cluster/replicate
  331. 329: option metadata-change-log on
  332. 330: subvolumes pfs-ro1-client-2 pfs-ro1-client-3
  333. 331: end-volume
  334. 332:
  335. 333: volume pfs-ro1-replicate-2
  336. 334: type cluster/replicate
  337. 335: option metadata-change-log on
  338. 336: subvolumes pfs-ro1-client-4 pfs-ro1-client-5
  339. 337: end-volume
  340. 338:
  341. 339: volume pfs-ro1-replicate-3
  342. 340: type cluster/replicate
  343. 341: option metadata-change-log on
  344. 342: subvolumes pfs-ro1-client-6 pfs-ro1-client-7
  345. 343: end-volume
  346. 344:
  347. 345: volume pfs-ro1-replicate-4
  348. 346: type cluster/replicate
  349. 347: option metadata-change-log on
  350. 348: subvolumes pfs-ro1-client-8 pfs-ro1-client-9
  351. 349: end-volume
  352. 350:
  353. 351: volume pfs-ro1-replicate-5
  354. 352: type cluster/replicate
  355. 353: option metadata-change-log on
  356. 354: subvolumes pfs-ro1-client-10 pfs-ro1-client-11
  357. 355: end-volume
  358. 356:
  359. 357: volume pfs-ro1-replicate-6
  360. 358: type cluster/replicate
  361. 359: option metadata-change-log on
  362. 360: subvolumes pfs-ro1-client-12 pfs-ro1-client-13
  363. 361: end-volume
  364. 362:
  365. 363: volume pfs-ro1-replicate-7
  366. 364: type cluster/replicate
  367. 365: option metadata-change-log on
  368. 366: subvolumes pfs-ro1-client-14 pfs-ro1-client-15
  369. 367: end-volume
  370. 368:
  371. 369: volume pfs-ro1-replicate-8
  372. 370: type cluster/replicate
  373. 371: option metadata-change-log on
  374. 372: subvolumes pfs-ro1-client-16 pfs-ro1-client-17
  375. 373: end-volume
  376. 374:
  377. 375: volume pfs-ro1-replicate-9
  378. 376: type cluster/replicate
  379. 377: option metadata-change-log on
  380. 378: subvolumes pfs-ro1-client-18 pfs-ro1-client-19
  381. 379: end-volume
  382. 380:
  383. 381: volume pfs-ro1-replicate-10
  384. 382: type cluster/replicate
  385. 383: option metadata-change-log on
  386. 384: subvolumes pfs-ro1-client-20 pfs-ro1-client-21
  387. 385: end-volume
  388. 386:
  389. 387: volume pfs-ro1-replicate-11
  390. 388: type cluster/replicate
  391. 389: option metadata-change-log on
  392. 390: subvolumes pfs-ro1-client-22 pfs-ro1-client-23
  393. 391: end-volume
  394. 392:
  395. 393: volume pfs-ro1-replicate-12
  396. 394: type cluster/replicate
  397. 395: option metadata-change-log on
  398. 396: subvolumes pfs-ro1-client-24 pfs-ro1-client-25
  399. 397: end-volume
  400. 398:
  401. 399: volume pfs-ro1-replicate-13
  402. 400: type cluster/replicate
  403. 401: option metadata-change-log on
  404. 402: subvolumes pfs-ro1-client-26 pfs-ro1-client-27
  405. 403: end-volume
  406. 404:
  407. 405: volume pfs-ro1-replicate-14
  408. 406: type cluster/replicate
  409. 407: option metadata-change-log on
  410. 408: subvolumes pfs-ro1-client-28 pfs-ro1-client-29
  411. 409: end-volume
  412. 410:
  413. 411: volume pfs-ro1-replicate-15
  414. 412: type cluster/replicate
  415. 413: option metadata-change-log on
  416. 414: subvolumes pfs-ro1-client-30 pfs-ro1-client-31
  417. 415: end-volume
  418. 416:
  419. 417: volume pfs-ro1-replicate-16
  420. 418: type cluster/replicate
  421. 419: option metadata-change-log on
  422. 420: subvolumes pfs-ro1-client-32 pfs-ro1-client-33
  423. 421: end-volume
  424. 422:
  425. 423: volume pfs-ro1-replicate-17
  426. 424: type cluster/replicate
  427. 425: option metadata-change-log on
  428. 426: subvolumes pfs-ro1-client-34 pfs-ro1-client-35
  429. 427: end-volume
  430. 428:
  431. 429: volume pfs-ro1-replicate-18
  432. 430: type cluster/replicate
  433. 431: option metadata-change-log on
  434. 432: subvolumes pfs-ro1-client-36 pfs-ro1-client-37
  435. 433: end-volume
  436. 434:
  437. 435: volume pfs-ro1-replicate-19
  438. 436: type cluster/replicate
  439. 437: option metadata-change-log on
  440. 438: subvolumes pfs-ro1-client-38 pfs-ro1-client-39
  441. 439: end-volume
  442. 440:
  443. 441: volume pfs-ro1-dht
  444. 442: type cluster/distribute
  445. 443: subvolumes pfs-ro1-replicate-0 pfs-ro1-replicate-1 pfs-ro1-replicate-2 pfs-ro1-replicate-3 pfs-ro1-replicate-4 pfs-ro1-replicate-5 pfs-ro1-replicate-6 pfs-ro1-replicate-7 pfs-ro1-replicate-8 pfs-ro1-replicate-9 pfs-ro1-replicate-10 pfs-ro1-replicate-11 pfs-ro1-replicate-12 pfs-ro1-replicate-13 pfs-ro1-replicate-14 pfs-ro1-replicate-15 pfs-ro1-replicate-16 pfs-ro1-replicate-17 pfs-ro1-replicate-18 pfs-ro1-replicate-19
  446. 444: end-volume
  447. 445:
  448. 446: volume pfs-ro1-write-behind
  449. 447: type performance/write-behind
  450. 448: subvolumes pfs-ro1-dht
  451. 449: end-volume
  452. 450:
  453. 451: volume pfs-ro1-read-ahead
  454. 452: type performance/read-ahead
  455. 453: subvolumes pfs-ro1-write-behind
  456. 454: end-volume
  457. 455:
  458. 456: volume pfs-ro1-io-cache
  459. 457: type performance/io-cache
  460. 458: option cache-size 2GB
  461. 459: subvolumes pfs-ro1-read-ahead
  462. 460: end-volume
  463. 461:
  464. 462: volume pfs-ro1-quick-read
  465. 463: type performance/quick-read
  466. 464: option cache-size 2GB
  467. 465: subvolumes pfs-ro1-io-cache
  468. 466: end-volume
  469. 467:
  470. 468: volume pfs-ro1-stat-prefetch
  471. 469: type performance/stat-prefetch
  472. 470: subvolumes pfs-ro1-quick-read
  473. 471: end-volume
  474. 472:
  475. 473: volume pfs-ro1
  476. 474: type debug/io-stats
  477. 475: option log-level ERROR
  478. 476: subvolumes pfs-ro1-stat-prefetch
  479. 477: end-volume
  480.  
  481. +------------------------------------------------------------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement