My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 51 attachment: log-3-4-09-8 (15.3 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
Checking on different types of disks
8G hdd 4G pendrive


[root@localhost ~]# ./diskt
Physical volume "/dev/loop0" successfully created
Physical volume "/dev/loop1" successfully created
Physical volume "/dev/sdb1" successfully created
Volume group "data" successfully created
mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
720896 inodes, 2883584 blocks
144179 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2952790016
88 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Writing inode tables: done
Writing superblocks and filesystem accounting information:

This filesystem will be automatically checked every 35 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@localhost ~]# ls /mnt
lost+found
[root@localhost ~]#

---------------------------------------------------------------------

SAM table

1 0 88

3 62 87 31 60 0 88

2 0 29 0 88

---------------------------------------------------------------------

Making 8Mb test.c file in tier1

[root@localhost admin]# dd if=/dev/zero of=/mnt/test.c bs=4k count=2000
2000+0 records in
2000+0 records out
8192000 bytes (8.2 MB) copied, 0.0277804 s, 295 MB/s

Complete log of all the policies and SAM table.

[root@localhost admin]# dmesg

In IOCTL<1>

The Mount Point entered is /mnt<1>
Entered verify mount point<1>
The Mountpoint passed /mnt<1>
mntpt = /mnt retval= 0<1>name mnt<1>
Number of Users is 1<1>
In Dynamic copy alloc policy<1>
Printing the USER SPACE pointer<1>
------------------ Gid 500 Tier 2


------------------ Uid 0 Tier 2


------------------ In print_and_test_type

------------------ I is 0

------------------ c

------------------ Name c Tier 1

------------------ Name o Tier 1

------------------ Name mp3 Tier 2

------------------ Name ko Tier 2


Number Of Users -175819520<1>
Number of Groups -146696064<1>
Number of types -175819520<1>
------------------ Gid 500 Tier 2


------------------ Uid 0 Tier 2


------------------ In print_and_test_type

------------------ I is 0

------------------ c

------------------ Name c Tier 1

------------------ Name o Tier 1

------------------ Name mp3 Tier 2

------------------ Name ko Tier 2


Printing the tier_info table<1>
ohsm_nr_targets 3<1>
Tier Number Device Number<1>
1<1> 7340032<1>
1<1> 7340033<1>
2<1> 8388625<1>
Calling Join Table <1>
Printing the Mapper Table <1>
8388625<1>
7340033<1>
7340032<1>
I am outide user_table7340032<1>
I am comparing USER 7340032 MAP 8388625<1>
I am comparing USER 7340032 MAP 7340033<1>
I am comparing USER 7340032 MAP 7340032<1>
I am inside matching 7340032<1>
I am outide user_table7340033<1>
I am comparing USER 7340033 MAP 8388625<1>
I am comparing USER 7340033 MAP 7340033<1>
I am inside matching 7340033<1>
I am outide user_table8388625<1>
I am comparing USER 8388625 MAP 8388625<1>
I am inside matching 8388625<1>
Printing the Joined table : <1>
Joined[k].tier 1 <1>
Joined[k].blkgrp_start 62 <1>
joined[k++].blkgrp_end 87 <1>
Joined[k].tier 1 <1>
Joined[k].blkgrp_start 31 <1>
joined[k++].blkgrp_end 60 <1>
Joined[k].tier 2 <1>
Joined[k].blkgrp_start 0 <1>
joined[k++].blkgrp_end 29 <1>
In turn The Tables<1>
Printing SSAM after ZERO FILLING<1>
--------------------------------<1> Printing SAM<1>
- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

I am in middle of turn_the_tables<1>




curtier 1 joined[i].tier 1<1>
The Number of disks before incrementing 0<1>
sam[joined[i].tier][0] 1<1>
Number of disks on tier 1 is 1 <1>
Printing the columns 1 <1>




curtier 1 joined[i].tier 1<1>
The Number of disks before incrementing 1<1>
sam[joined[i].tier][0] 2<1>
Number of disks on tier 1 is 2 <1>
Printing the columns 3 <1>




curtier 2 joined[i].tier 2<1>
The Number of disks before incrementing 0<1>
sam[joined[i].tier][0] 1<1>
Number of disks on tier 2 is 1 <1>
Printing the columns 1 <1>
Printing SAM before adding the start and end<1>
--------------------------------<1> Printing SAM<1>
- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 2 - <1> - 62 - <1> - 87 - <1> - 31 - <1> - 60 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 1 - <1> - 0 - <1> - 29 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

The Number of Groups in the File System 88<1>
sam[joined[i].tier][0] 3<1>
Number of disks on tier 1 is 3 <1>
Printing the columns 5 <1>
sam[joined[i].tier][0] 2<1>
Number of disks on tier 2 is 2 <1>
Printing the columns 3 <1>
All the Things have been filled <1>
Printing sam after adding start and end<1>
--------------------------------<1> Printing SAM<1>
- 1 - <1> - 0 - <1> - 88 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 3 - <1> - 62 - <1> - 87 - <1> - 31 - <1> - 60 - <1> - 0 - <1> - 88 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 2 - <1> - 0 - <1> - 29 - <1> - 0 - <1> - 88 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

- 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1> - 0 - <1>

Entered copy Relocation Policy<1>
NUMBER OF RULES 2<1>Printing copied Relocation policy <1>

Printing the structure 2 <1>
Rule No. 0<1>
Policy Number : 0<1>
src_tier : 1<1>
dest_tier : 2<1>
reloc_criteria_bitmap : 7<1>
FSIZE: 50<1>
RELATION : 2<1>
FMA : 50<1>
RELATION : 1<1>
FAA : 50<1>
RELATION: 1<1>
FIOT : 0<1>
RELATION : 0<1>
FAT : 0<1>
RELATION : 0<1>
Rule No. 1<1>
Policy Number : 0<1>
src_tier : 2<1>
dest_tier : 1<1>
reloc_criteria_bitmap : 7<1>
FSIZE: 50<1>
RELATION : 2<1>
FMA : 50<1>
RELATION : 1<1>
FAA : 50<1>
RELATION: 1<1>
FIOT : 0<1>
RELATION : 0<1>
FAT : 0<1>
RELATION : 0<1>

Printing the structure 2 <1>
Rule No. 0<1>
Policy Number : 0<1>
src_tier : 1<1>
dest_tier : 2<1>
reloc_criteria_bitmap : 7<1>
FSIZE: 50<1>
RELATION : 2<1>
FMA : 50<1>
RELATION : 1<1>
FAA : 50<1>
RELATION: 1<1>
FIOT : 0<1>
RELATION : 0<1>
FAT : 0<1>
RELATION : 0<1>
Rule No. 1<1>
Policy Number : 0<1>
src_tier : 2<1>
dest_tier : 1<1>
reloc_criteria_bitmap : 7<1>
FSIZE: 50<1>
RELATION : 2<1>
FMA : 50<1>
RELATION : 1<1>
FAA : 50<1>
RELATION: 1<1>
FIOT : 0<1>
RELATION : 0<1>
FAT : 0<1>
RELATION : 0<1>
In get_tier_name

The Name Entered test.c

The Lenth is 6

The Current character . Name : test.c Name : test.c<1>In get Tier name 2<1>
The EXTENSION entered is c

The Policy Tables -> type (number of types) 4

The Value of i outside loop is 0

The Value of i is 0
[root@localhost admin]#

------------------------------------------------------

Verifying allocation in tier 1

[root@localhost /]# debugfs /dev/data/lvol0
debugfs 1.41.3 (12-Oct-2008)
debugfs: ls
2 (12) . 2 (12) .. 11 (20) lost+found 12 (4052) test.c
debugfs: stat test.c
Inode: 12 Type: regular Mode: 0644 Flags: 0x0
Generation: 3784384502 Version: 0x00000000
User: 0 Group: 0 Size: 8192000
File ACL: 1225 Directory ACL: 0
Links: 1 Blockcount: 16032
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x4989149a -- Wed Feb 4 09:37:54 2009
atime: 0x4989149a -- Wed Feb 4 09:37:54 2009
mtime: 0x4989149a -- Wed Feb 4 09:37:54 2009
Size of extra inode fields: 1
BLOCKS:
(0-11):2032130-2032141, (IND):2032142, (12-1035):2032143-2033166, (DIND):2033167
, (IND):2033168, (1036-1999):2033169-2034132
TOTAL: 2003

debugfs:

Blocks 2032130 to 2034132 lies in tier1 BG=62

---------------------------------------------------------------------
Testing time to read from hdd

[root@localhost mnt]# time cat test.c

real 0m5.349s
user 0m0.005s
sys 0m0.325s
[root@localhost mnt]#

---------------------------------------------------------------------

Triggering relocation : relocating file to pendrive

[root@localhost admin]# ./ohsm -r 1


Are You Sure (y/n) : y
[root@localhost admin]#

-----------------------------------------------------------------------

Testing cat on test.c after relocation

[root@localhost /]# umount /mnt
[root@localhost /]# mount /dev/data/lvol0 /mnt
[root@localhost /]# ls /mnt
lost+found test.c

[root@localhost /]# time cat /mnt/test.c

real 0m5.476s
user 0m0.001s
sys 0m0.342s
[root@localhost /]# time cat /mnt/test.c

real 0m5.366s
user 0m0.006s
sys 0m0.409s
[root@localhost /]# time cat /mnt/test.c

real 0m5.370s
user 0m0.005s
sys 0m0.229s
[root@localhost /]#





Powered by Google Project Hosting