Project

General

Profile

test_log.txt

console log - Colin McCabe, 11/18/2010 05:03 PM

Download (21.8 KB)

 
1
#
2
# Stray test is the second test run here!
3
# The first test is osd_resurrection_1, which completed successfully!
4
#
5
# Colin
6
#
7

    
8
cmccabe@flab:~/src/ceph/src$ ./test/test_unfound.sh run
9
++ dirname ./test/test_unfound.sh
10
+ source ./test/test_common.sh
11
++ init
12
++ setup_tempdir
13
+++ mktemp -d
14
++ TEMPDIR=/tmp/tmp.UeAgBcigql
15
++ '[' -z ']'
16
++ trap cleanup INT TERM EXIT
17
+++ dirname ./test/test_unfound.sh
18
++ cd ./test/..
19
+ run
20
+ osd_resurrection_1
21
+ setup 2
22
+ export CEPH_NUM_OSD=2
23
+ CEPH_NUM_OSD=2
24
+ ./stop.sh
25
+ ./vstart.sh -d -n -o 'osd recovery delay start = 10000'
26
** going verbose **
27
cmon: no process found
28
cmds: no process found
29
cosd: no process found
30
hostname flab
31
ip 10.3.14.10
32
./osdmaptool: osdmap file '.ceph_osdmap'
33
./osdmaptool: writing epoch 1 to .ceph_osdmap
34
./monmaptool --create --clobber --add a 10.3.14.10:6789 --add b 10.3.14.10:6790 --add c 10.3.14.10:6791 --print .ceph_monmap
35
./monmaptool: monmap file .ceph_monmap
36
./monmaptool: generated fsid 42ce015a-e1ae-aa58-07da-0ae5289b93a3
37
epoch 1
38
fsid 42ce015a-e1ae-aa58-07da-0ae5289b93a3
39
last_changed 2010-11-18 14:59:43.839353
40
created 2010-11-18 14:59:43.839353
41
0: 10.3.14.10:6789/0 mon.a
42
1: 10.3.14.10:6790/0 mon.b
43
2: 10.3.14.10:6791/0 mon.c
44
./monmaptool: writing epoch 1 to .ceph_monmap (3 monitors)
45
./cmon --mkfs -c ceph.conf -i a --monmap=.ceph_monmap --osdmap=.ceph_osdmap
46
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
47
 **          testing and review.  Do not trust it with important data.       **
48
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
49
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
50
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
51
./cmon: created monfs at dev/mon.a for mon.a
52
./cmon --mkfs -c ceph.conf -i b --monmap=.ceph_monmap --osdmap=.ceph_osdmap
53
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
54
 **          testing and review.  Do not trust it with important data.       **
55
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
56
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
57
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
58
./cmon: created monfs at dev/mon.b for mon.b
59
./cmon --mkfs -c ceph.conf -i c --monmap=.ceph_monmap --osdmap=.ceph_osdmap
60
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
61
 **          testing and review.  Do not trust it with important data.       **
62
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
63
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
64
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
65
./cmon: created monfs at dev/mon.c for mon.c
66
./cmon -i a -c ceph.conf
67
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
68
 **          testing and review.  Do not trust it with important data.       **
69
starting mon.a rank 0 at 10.3.14.10:6789/0 mon_data dev/mon.a fsid 42ce015a-e1ae-aa58-07da-0ae5289b93a3
70
./cmon -i b -c ceph.conf
71
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
72
 **          testing and review.  Do not trust it with important data.       **
73
starting mon.b rank 1 at 10.3.14.10:6790/0 mon_data dev/mon.b fsid 42ce015a-e1ae-aa58-07da-0ae5289b93a3
74
./cmon -i c -c ceph.conf
75
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
76
 **          testing and review.  Do not trust it with important data.       **
77
starting mon.c rank 2 at 10.3.14.10:6791/0 mon_data dev/mon.c fsid 42ce015a-e1ae-aa58-07da-0ae5289b93a3
78
Loading class: .libs/libcls_rbd.so.1.0.0: rbd 1.3 x86-64
79
read 168858 bytes from .libs/libcls_rbd.so.1.0.0
80
2010-11-18 14:59:52.083141 mon <- [class,add,rbd,1.3,x86-64,changed]
81
2010-11-18 14:59:52.754545 mon0 -> 'updated' (0)
82
mkfs osd0
83
./cosd -i 0 -c ceph.conf --mkfs
84
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
85
 **          testing and review.  Do not trust it with important data.       **
86
created object store dev/osd0 journal dev/osd0/journal for osd0 fsid 42ce015a-e1ae-aa58-07da-0ae5289b93a3
87
start osd0
88
./cosd -i 0 -c ceph.conf
89
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
90
 **          testing and review.  Do not trust it with important data.       **
91
starting osd0 at 0.0.0.0:6800/24067 osd_data dev/osd0 dev/osd0/journal
92
mkfs osd1
93
./cosd -i 1 -c ceph.conf --mkfs
94
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
95
 **          testing and review.  Do not trust it with important data.       **
96
created object store dev/osd1 journal dev/osd1/journal for osd1 fsid 42ce015a-e1ae-aa58-07da-0ae5289b93a3
97
start osd1
98
./cosd -i 1 -c ceph.conf
99
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
100
 **          testing and review.  Do not trust it with important data.       **
101
starting osd1 at 0.0.0.0:6802/24111 osd_data dev/osd1 dev/osd1/journal
102
creating dev/mds.a.keyring
103
read 119 bytes from dev/mds.a.keyring
104
2010-11-18 15:00:11.175710 mon <- [auth,add,mds.a]
105
2010-11-18 15:00:11.693641 mon1 -> 'added key for mds.a' (0)
106
./cmds -i a -c ceph.conf
107
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
108
 **          testing and review.  Do not trust it with important data.       **
109
starting mds.a at 0.0.0.0:6804/24149
110
creating dev/mds.b.keyring
111
read 119 bytes from dev/mds.b.keyring
112
2010-11-18 15:00:21.452549 mon <- [auth,add,mds.b]
113
2010-11-18 15:00:22.422240 mon1 -> 'added key for mds.b' (0)
114
./cmds -i b -c ceph.conf
115
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
116
 **          testing and review.  Do not trust it with important data.       **
117
starting mds.b at 0.0.0.0:6805/24201
118
creating dev/mds.c.keyring
119
read 119 bytes from dev/mds.c.keyring
120
2010-11-18 15:00:24.710785 mon <- [auth,add,mds.c]
121
2010-11-18 15:00:25.838096 mon2 -> 'added key for mds.c' (0)
122
./cmds -i c -c ceph.conf
123
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
124
 **          testing and review.  Do not trust it with important data.       **
125
starting mds.c at 0.0.0.0:6806/24224
126
./ceph -c ceph.conf mds set_max_mds 3
127
2010-11-18 15:00:25.879944 mon <- [mds,set_max_mds,3]
128
2010-11-18 15:00:27.191332 mon1 -> 'max_mds = 3' (0)
129
started.  stop.sh to stop.  see out/* (e.g. 'tail -f out/????') for debug output.
130
+ osd_resurrection_1_impl
131
+ my_write_objects 1 2
132
+ write_objects 1 2 10 1000000
133
+ start_ver=1
134
+ stop_ver=2
135
+ num_objs=10
136
+ obj_size=1000000
137
+ '[' -d /tmp/tmp.UeAgBcigql ']'
138
++ seq 1 2
139
+ for v in '`seq $start_ver $stop_ver`'
140
++ perl -e 'print chr(48+1)'
141
+ chr=1
142
+ head -c 1000000 /dev/zero
143
+ tr '\0' 1
144
++ seq -w 1 10
145
+ for i in '`seq -w 1 $num_objs`'
146
+ ./rados -p data put obj01 /tmp/tmp.UeAgBcigql/ver1
147
+ for i in '`seq -w 1 $num_objs`'
148
+ ./rados -p data put obj02 /tmp/tmp.UeAgBcigql/ver1
149
+ for i in '`seq -w 1 $num_objs`'
150
+ ./rados -p data put obj03 /tmp/tmp.UeAgBcigql/ver1
151
+ for i in '`seq -w 1 $num_objs`'
152
+ ./rados -p data put obj04 /tmp/tmp.UeAgBcigql/ver1
153
+ for i in '`seq -w 1 $num_objs`'
154
+ ./rados -p data put obj05 /tmp/tmp.UeAgBcigql/ver1
155
+ for i in '`seq -w 1 $num_objs`'
156
+ ./rados -p data put obj06 /tmp/tmp.UeAgBcigql/ver1
157
+ for i in '`seq -w 1 $num_objs`'
158
+ ./rados -p data put obj07 /tmp/tmp.UeAgBcigql/ver1
159
+ for i in '`seq -w 1 $num_objs`'
160
+ ./rados -p data put obj08 /tmp/tmp.UeAgBcigql/ver1
161
+ for i in '`seq -w 1 $num_objs`'
162
+ ./rados -p data put obj09 /tmp/tmp.UeAgBcigql/ver1
163
+ for i in '`seq -w 1 $num_objs`'
164
+ ./rados -p data put obj10 /tmp/tmp.UeAgBcigql/ver1
165
+ for v in '`seq $start_ver $stop_ver`'
166
++ perl -e 'print chr(48+2)'
167
+ chr=2
168
+ head -c 1000000 /dev/zero
169
+ tr '\0' 2
170
++ seq -w 1 10
171
+ for i in '`seq -w 1 $num_objs`'
172
+ ./rados -p data put obj01 /tmp/tmp.UeAgBcigql/ver2
173
+ for i in '`seq -w 1 $num_objs`'
174
+ ./rados -p data put obj02 /tmp/tmp.UeAgBcigql/ver2
175
+ for i in '`seq -w 1 $num_objs`'
176
+ ./rados -p data put obj03 /tmp/tmp.UeAgBcigql/ver2
177
+ for i in '`seq -w 1 $num_objs`'
178
+ ./rados -p data put obj04 /tmp/tmp.UeAgBcigql/ver2
179
+ for i in '`seq -w 1 $num_objs`'
180
+ ./rados -p data put obj05 /tmp/tmp.UeAgBcigql/ver2
181
+ for i in '`seq -w 1 $num_objs`'
182
+ ./rados -p data put obj06 /tmp/tmp.UeAgBcigql/ver2
183
+ for i in '`seq -w 1 $num_objs`'
184
+ ./rados -p data put obj07 /tmp/tmp.UeAgBcigql/ver2
185
+ for i in '`seq -w 1 $num_objs`'
186
+ ./rados -p data put obj08 /tmp/tmp.UeAgBcigql/ver2
187
+ for i in '`seq -w 1 $num_objs`'
188
+ ./rados -p data put obj09 /tmp/tmp.UeAgBcigql/ver2
189
+ for i in '`seq -w 1 $num_objs`'
190
+ ./rados -p data put obj10 /tmp/tmp.UeAgBcigql/ver2
191
+ stop_osd 1
192
+ osd_index=1
193
+ pidfile=out/osd.1.pid
194
+ '[' -e out/osd.1.pid ']'
195
++ cat out/osd.1.pid
196
+ kill 24112
197
+ return 0
198
+ my_write_objects 3 4
199
+ write_objects 3 4 10 1000000
200
+ start_ver=3
201
+ stop_ver=4
202
+ num_objs=10
203
+ obj_size=1000000
204
+ '[' -d /tmp/tmp.UeAgBcigql ']'
205
++ seq 3 4
206
+ for v in '`seq $start_ver $stop_ver`'
207
++ perl -e 'print chr(48+3)'
208
+ chr=3
209
+ head -c 1000000 /dev/zero
210
+ tr '\0' 3
211
++ seq -w 1 10
212
+ for i in '`seq -w 1 $num_objs`'
213
+ ./rados -p data put obj01 /tmp/tmp.UeAgBcigql/ver3
214

    
215
+ for i in '`seq -w 1 $num_objs`'
216
+ ./rados -p data put obj02 /tmp/tmp.UeAgBcigql/ver3
217
+ for i in '`seq -w 1 $num_objs`'
218
+ ./rados -p data put obj03 /tmp/tmp.UeAgBcigql/ver3
219
+ for i in '`seq -w 1 $num_objs`'
220
+ ./rados -p data put obj04 /tmp/tmp.UeAgBcigql/ver3
221
+ for i in '`seq -w 1 $num_objs`'
222
+ ./rados -p data put obj05 /tmp/tmp.UeAgBcigql/ver3
223
+ for i in '`seq -w 1 $num_objs`'
224
+ ./rados -p data put obj06 /tmp/tmp.UeAgBcigql/ver3
225
+ for i in '`seq -w 1 $num_objs`'
226
+ ./rados -p data put obj07 /tmp/tmp.UeAgBcigql/ver3
227
+ for i in '`seq -w 1 $num_objs`'
228
+ ./rados -p data put obj08 /tmp/tmp.UeAgBcigql/ver3
229
+ for i in '`seq -w 1 $num_objs`'
230
+ ./rados -p data put obj09 /tmp/tmp.UeAgBcigql/ver3
231
+ for i in '`seq -w 1 $num_objs`'
232
+ ./rados -p data put obj10 /tmp/tmp.UeAgBcigql/ver3
233
+ for v in '`seq $start_ver $stop_ver`'
234
++ perl -e 'print chr(48+4)'
235
+ chr=4
236
+ head -c 1000000 /dev/zero
237
+ tr '\0' 4
238
++ seq -w 1 10
239
+ for i in '`seq -w 1 $num_objs`'
240
+ ./rados -p data put obj01 /tmp/tmp.UeAgBcigql/ver4
241
+ for i in '`seq -w 1 $num_objs`'
242
+ ./rados -p data put obj02 /tmp/tmp.UeAgBcigql/ver4
243
+ for i in '`seq -w 1 $num_objs`'
244
+ ./rados -p data put obj03 /tmp/tmp.UeAgBcigql/ver4
245
+ for i in '`seq -w 1 $num_objs`'
246
+ ./rados -p data put obj04 /tmp/tmp.UeAgBcigql/ver4
247
+ for i in '`seq -w 1 $num_objs`'
248
+ ./rados -p data put obj05 /tmp/tmp.UeAgBcigql/ver4
249
+ for i in '`seq -w 1 $num_objs`'
250
+ ./rados -p data put obj06 /tmp/tmp.UeAgBcigql/ver4
251
+ for i in '`seq -w 1 $num_objs`'
252
+ ./rados -p data put obj07 /tmp/tmp.UeAgBcigql/ver4
253
+ for i in '`seq -w 1 $num_objs`'
254
+ ./rados -p data put obj08 /tmp/tmp.UeAgBcigql/ver4
255
+ for i in '`seq -w 1 $num_objs`'
256
+ ./rados -p data put obj09 /tmp/tmp.UeAgBcigql/ver4
257
+ for i in '`seq -w 1 $num_objs`'
258
+ ./rados -p data put obj10 /tmp/tmp.UeAgBcigql/ver4
259
+ restart_osd 1
260
+ osd_index=1
261
+ sleep 15
262
+ ./cosd -i 1 -c ceph.conf
263
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
264
 **          testing and review.  Do not trust it with important data.       **
265
starting osd1 at 0.0.0.0:6802/25423 osd_data dev/osd1 dev/osd1/journal
266
+ stop_osd 0
267
+ osd_index=0
268
+ pidfile=out/osd.0.pid
269
+ '[' -e out/osd.0.pid ']'
270
++ cat out/osd.0.pid
271
+ kill 24068
272
+ return 0
273
+ poll_cmd './ceph pg debug unfound_objects_exist' TRUE 3 120
274
+ command='./ceph pg debug unfound_objects_exist'
275
+ search_str=TRUE
276
+ polling_interval=3
277
+ total_time=120
278
+ t=0
279
+ '[' 0 -lt 120 ']'
280
+ ./ceph pg debug unfound_objects_exist
281
+ grep TRUE
282
+ '[' 1 -eq 0 ']'
283
+ sleep 3
284
+ t=3
285
+ '[' 3 -lt 120 ']'
286
+ ./ceph pg debug unfound_objects_exist
287
+ grep TRUE
288
+ '[' 1 -eq 0 ']'
289
+ sleep 3
290
+ t=6
291
+ '[' 6 -lt 120 ']'
292
+ ./ceph pg debug unfound_objects_exist
293
+ grep TRUE
294
+ '[' 1 -eq 0 ']'
295
+ sleep 3
296
+ t=9
297
+ '[' 9 -lt 120 ']'
298
+ ./ceph pg debug unfound_objects_exist
299
+ grep TRUE
300
+ '[' 1 -eq 0 ']'
301
+ sleep 3
302
+ t=12
303
+ '[' 12 -lt 120 ']'
304
+ ./ceph pg debug unfound_objects_exist
305
+ grep TRUE
306
+ '[' 1 -eq 0 ']'
307
+ sleep 3
308
+ t=15
309
+ '[' 15 -lt 120 ']'
310
+ ./ceph pg debug unfound_objects_exist
311
+ grep TRUE
312
+ '[' 1 -eq 0 ']'
313
+ sleep 3
314
+ t=18
315
+ '[' 18 -lt 120 ']'
316
+ ./ceph pg debug unfound_objects_exist
317
+ grep TRUE
318
+ '[' 1 -eq 0 ']'
319
+ sleep 3
320
+ t=21
321
+ '[' 21 -lt 120 ']'
322
+ ./ceph pg debug unfound_objects_exist
323
+ grep TRUE
324
+ '[' 1 -eq 0 ']'
325
+ sleep 3
326
+ t=24
327
+ '[' 24 -lt 120 ']'
328
+ ./ceph pg debug unfound_objects_exist
329
+ grep TRUE
330
+ '[' 1 -eq 0 ']'
331
+ sleep 3
332
+ t=27
333
+ '[' 27 -lt 120 ']'
334
+ ./ceph pg debug unfound_objects_exist
335
+ grep TRUE
336
+ '[' 1 -eq 0 ']'
337
+ sleep 3
338
+ t=30
339
+ '[' 30 -lt 120 ']'
340
+ ./ceph pg debug unfound_objects_exist
341
+ grep TRUE
342
+ '[' 1 -eq 0 ']'
343
+ sleep 3
344
+ t=33
345
+ '[' 33 -lt 120 ']'
346
+ ./ceph pg debug unfound_objects_exist
347
+ grep TRUE
348
+ '[' 1 -eq 0 ']'
349
+ sleep 3
350
+ t=36
351
+ '[' 36 -lt 120 ']'
352
+ ./ceph pg debug unfound_objects_exist
353
+ grep TRUE
354
+ '[' 1 -eq 0 ']'
355
+ sleep 3
356
+ t=39
357
+ '[' 39 -lt 120 ']'
358
+ ./ceph pg debug unfound_objects_exist
359
+ grep TRUE
360
2010-11-18 15:02:20.647002 mon2 -> 'TRUE' (0)
361
+ '[' 0 -eq 0 ']'
362
+ return 1
363
+ '[' 1 -eq 1 ']'
364
+ echo 'Got unfound objects.'
365
Got unfound objects.
366
+ sleep 5
367
+ ./rados -p data get obj01 /tmp/tmp.UeAgBcigql/obj01
368
+ '[' -e /tmp/tmp.UeAgBcigql/obj01 ']'
369
+ restart_osd 0
370
+ osd_index=0
371
+ poll_cmd './ceph pg debug unfound_objects_exist' FALSE 3 120
372
+ ./cosd -i 0 -c ceph.conf
373
+ command='./ceph pg debug unfound_objects_exist'
374
+ search_str=FALSE
375
+ polling_interval=3
376
+ total_time=120
377
+ t=0
378
+ '[' 0 -lt 120 ']'
379
+ grep FALSE
380
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
381
 **          testing and review.  Do not trust it with important data.       **
382
starting osd0 at 0.0.0.0:6800/26078 osd_data dev/osd0 dev/osd0/journal
383
+ ./ceph pg debug unfound_objects_exist
384
+ '[' 1 -eq 0 ']'
385
+ sleep 3
386
+ t=3
387
+ '[' 3 -lt 120 ']'
388
+ ./ceph pg debug unfound_objects_exist
389
+ grep FALSE
390
+ '[' 1 -eq 0 ']'
391
+ sleep 3
392
+ t=6
393
+ '[' 6 -lt 120 ']'
394
+ ./ceph pg debug unfound_objects_exist
395
+ grep FALSE
396
+ '[' 1 -eq 0 ']'
397
+ sleep 3
398
2010-11-18 15:02:36.617754 7f32f85d2720 wrote 1000000 byte payload to /tmp/tmp.UeAgBcigql/obj01
399
+ t=9
400
+ '[' 9 -lt 120 ']'
401
+ ./ceph pg debug unfound_objects_exist
402
+ grep FALSE
403
2010-11-18 15:02:40.332108 mon1 -> 'FALSE' (0)
404
+ '[' 0 -eq 0 ']'
405
+ return 1
406
+ '[' 1 -eq 1 ']'
407
+ wait
408
+ '[' -e /tmp/tmp.UeAgBcigql/obj01 ']'
409
+ echo 'starting recovery...'
410
starting recovery...
411
+ start_recovery 2
412
+ CEPH_NUM_OSD=2
413
+ osd=0
414
+ '[' 0 -lt 2 ']'
415
+ ./ceph osd tell 0 injectargs 'osd recovery delay start = 0'
416
2010-11-18 15:02:43.796031 mon <- [osd,tell,0,injectargs,osd recovery delay start = 0]
417
2010-11-18 15:02:43.796865 mon1 -> 'ok' (0)
418
+ osd=1
419
+ '[' 1 -lt 2 ']'
420
+ ./ceph osd tell 1 injectargs 'osd recovery delay start = 0'
421
2010-11-18 15:02:43.942225 mon <- [osd,tell,1,injectargs,osd recovery delay start = 0]
422
2010-11-18 15:02:43.942962 mon2 -> 'ok' (0)
423
+ osd=2
424
+ '[' 2 -lt 2 ']'
425
+ return 0
426
+ stray_test
427
+ setup 3
428
+ export CEPH_NUM_OSD=3
429
+ CEPH_NUM_OSD=3
430
+ ./stop.sh
431
+ ./vstart.sh -d -n -o 'osd recovery delay start = 10000'
432
** going verbose **
433
cmon: no process found
434
cmds: no process found
435
hostname flab
436
ip 10.3.14.10
437
./osdmaptool: osdmap file '.ceph_osdmap'
438
./osdmaptool: writing epoch 1 to .ceph_osdmap
439
./monmaptool --create --clobber --add a 10.3.14.10:6789 --add b 10.3.14.10:6790 --add c 10.3.14.10:6791 --print .ceph_monmap
440
./monmaptool: monmap file .ceph_monmap
441
./monmaptool: generated fsid b1fe5b8b-348a-6eae-0da9-fdb44dc78287
442
epoch 1
443
fsid b1fe5b8b-348a-6eae-0da9-fdb44dc78287
444
last_changed 2010-11-18 15:02:44.162173
445
created 2010-11-18 15:02:44.162173
446
0: 10.3.14.10:6789/0 mon.a
447
1: 10.3.14.10:6790/0 mon.b
448
2: 10.3.14.10:6791/0 mon.c
449
./monmaptool: writing epoch 1 to .ceph_monmap (3 monitors)
450
./cmon --mkfs -c ceph.conf -i a --monmap=.ceph_monmap --osdmap=.ceph_osdmap
451
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
452
 **          testing and review.  Do not trust it with important data.       **
453
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
454
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
455
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
456
./cmon: created monfs at dev/mon.a for mon.a
457
./cmon --mkfs -c ceph.conf -i b --monmap=.ceph_monmap --osdmap=.ceph_osdmap
458
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
459
 **          testing and review.  Do not trust it with important data.       **
460
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
461
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
462
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
463
./cmon: created monfs at dev/mon.b for mon.b
464
./cmon --mkfs -c ceph.conf -i c --monmap=.ceph_monmap --osdmap=.ceph_osdmap
465
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
466
 **          testing and review.  Do not trust it with important data.       **
467
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
468
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
469
can't open ~/.ceph/keyring.bin, /etc/ceph/keyring.bin, .ceph_keyring: Not a directory
470
./cmon: created monfs at dev/mon.c for mon.c
471
./cmon -i a -c ceph.conf
472
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
473
 **          testing and review.  Do not trust it with important data.       **
474
starting mon.a rank 0 at 10.3.14.10:6789/0 mon_data dev/mon.a fsid b1fe5b8b-348a-6eae-0da9-fdb44dc78287
475
./cmon -i b -c ceph.conf
476
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
477
 **          testing and review.  Do not trust it with important data.       **
478
starting mon.b rank 1 at 10.3.14.10:6790/0 mon_data dev/mon.b fsid b1fe5b8b-348a-6eae-0da9-fdb44dc78287
479
./cmon -i c -c ceph.conf
480
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
481
 **          testing and review.  Do not trust it with important data.       **
482
starting mon.c rank 2 at 10.3.14.10:6791/0 mon_data dev/mon.c fsid b1fe5b8b-348a-6eae-0da9-fdb44dc78287
483
Loading class: .libs/libcls_rbd.so.1.0.0: rbd 1.3 x86-64
484
read 168858 bytes from .libs/libcls_rbd.so.1.0.0
485
2010-11-18 15:02:53.300078 mon <- [class,add,rbd,1.3,x86-64,changed]
486
2010-11-18 15:02:54.034808 mon2 -> 'updated' (0)
487
mkfs osd0
488
./cosd -i 0 -c ceph.conf --mkfs
489
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
490
 **          testing and review.  Do not trust it with important data.       **
491
created object store dev/osd0 journal dev/osd0/journal for osd0 fsid b1fe5b8b-348a-6eae-0da9-fdb44dc78287
492
start osd0
493
./cosd -i 0 -c ceph.conf
494
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
495
 **          testing and review.  Do not trust it with important data.       **
496
starting osd0 at 0.0.0.0:6800/29113 osd_data dev/osd0 dev/osd0/journal
497
mkfs osd1
498
./cosd -i 1 -c ceph.conf --mkfs
499
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
500
 **          testing and review.  Do not trust it with important data.       **
501
created object store dev/osd1 journal dev/osd1/journal for osd1 fsid b1fe5b8b-348a-6eae-0da9-fdb44dc78287
502
start osd1
503
./cosd -i 1 -c ceph.conf
504
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
505
 **          testing and review.  Do not trust it with important data.       **
506
starting osd1 at 0.0.0.0:6802/29157 osd_data dev/osd1 dev/osd1/journal
507
mkfs osd2
508
./cosd -i 2 -c ceph.conf --mkfs
509
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
510
 **          testing and review.  Do not trust it with important data.       **
511
created object store dev/osd2 journal dev/osd2/journal for osd2 fsid b1fe5b8b-348a-6eae-0da9-fdb44dc78287
512
start osd2
513
./cosd -i 2 -c ceph.conf
514
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
515
 **          testing and review.  Do not trust it with important data.       **
516
starting osd2 at 0.0.0.0:6804/29550 osd_data dev/osd2 dev/osd2/journal
517
creating dev/mds.a.keyring
518
read 119 bytes from dev/mds.a.keyring
519
2010-11-18 15:03:25.164475 mon <- [auth,add,mds.a]
520
2010-11-18 15:03:33.673344 mon1 -> 'added key for mds.a' (0)
521
./cmds -i a -c ceph.conf
522
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
523
 **          testing and review.  Do not trust it with important data.       **
524
starting mds.a at 0.0.0.0:6806/30589
525
creating dev/mds.b.keyring
526
read 119 bytes from dev/mds.b.keyring
527
2010-11-18 15:03:37.833859 mon <- [auth,add,mds.b]
528
2010-11-18 15:03:44.915338 mon0 -> 'added key for mds.b' (0)
529
./cmds -i b -c ceph.conf
530
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
531
 **          testing and review.  Do not trust it with important data.       **
532
starting mds.b at 0.0.0.0:6807/31170
533
creating dev/mds.c.keyring
534
read 119 bytes from dev/mds.c.keyring
535
2010-11-18 15:03:47.479467 mon <- [auth,add,mds.c]
536
2010-11-18 15:03:51.697585 mon1 -> 'added key for mds.c' (0)
537
./cmds -i c -c ceph.conf
538
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
539
 **          testing and review.  Do not trust it with important data.       **
540
starting mds.c at 0.0.0.0:6808/31526
541
./ceph -c ceph.conf mds set_max_mds 3
542
2010-11-18 15:03:52.574600 mon <- [mds,set_max_mds,3]
543
2010-11-18 15:03:57.780748 mon0 -> 'max_mds = 3' (0)
544
started.  stop.sh to stop.  see out/* (e.g. 'tail -f out/????') for debug output.
545
+ stray_test_impl
546
+ ./ceph osd out 0
547
2010-11-18 15:05:00.809554 mon <- [osd,out,0]
548
2010-11-18 15:05:01.606338 mon0 -> 'marked out osd0' (0)
549
+ my_write_objects 1 1
550
+ write_objects 1 1 10 1000000
551
+ start_ver=1
552
+ stop_ver=1
553
+ num_objs=10
554
+ obj_size=1000000
555
+ '[' -d /tmp/tmp.UeAgBcigql ']'
556
++ seq 1 1
557
+ for v in '`seq $start_ver $stop_ver`'
558
++ perl -e 'print chr(48+1)'
559
+ chr=1
560
+ head -c 1000000 /dev/zero
561
+ tr '\0' 1
562
++ seq -w 1 10
563
+ for i in '`seq -w 1 $num_objs`'
564
+ ./rados -p data put obj01 /tmp/tmp.UeAgBcigql/ver1
565

    
566

    
567
^Z
568
[1]+  Stopped                 ./test/test_unfound.sh run
569
cmccabe@flab:~/src/ceph/src$ fg
570
./test/test_unfound.sh run
571

    
572

    
573