renzhengeek / issues

0 stars 0 forks source link

ocfs2-test: reflink #9

Open renzhengeek opened 8 years ago

renzhengeek commented 8 years ago
desktop:/opt/ocfs2-test/log/2015-08-19_16:36 # cat single_run.log 
2015-08-19 16:36:35 *** Start Single Node test ***
2015-08-19 16:36:35 run_reflink_test /opt/ocfs2-test/log/2015-08-19_16:36 /dev/sda4 /mnt/shared o2cb hacluster
2015-08-19 16:36:35 reflink_test ordered
2015-08-19 17:00:51 FAILED (1456 secs)
2015-08-19 17:00:51 reflink_test writeback
2015-08-19 17:00:51 FAILED (0 secs)
2015-08-19 17:00:51 Total Runtime 1456 seconds
2015-08-19 17:00:51 *** End Single Node test ***
renzhengeek commented 8 years ago
desktop:/opt/ocfs2-test/log/2015-08-19_16:36 # cat 2015-08-19-16-36-35-reflink-tests-run.log
=====================Reflink tests start:  Wed Aug 19 16:36:35 CST 2015=====================
<- Running test with 512 bs and 4096 cs ->
[*] Mkfs device /dev/sda4:                                                     [ PASS ]
[*] Mount /dev/sda4 to /mnt/shared:                                            [ PASS ]
[1] Basic Fucntional Test:                                                     [FAILED]
desktop:/opt/ocfs2-test/log/2015-08-19_16:36 # cat 2015-08-19-16-36-35-reflink-tests.log
2015/08/19,16:36:35  =====================Reflink tests start:  Wed Aug 19 16:36:35 CST 2015=====================
2015/08/19,16:36:35  <- Running test with 512 bs and 4096 cs ->
2015/08/19,16:36:35  /usr/bin/sudo -u root /sbin/mkfs.ocfs2 --fs-features=refcount,xattr --cluster-stack=o2cb --cluster-name=hacluster                                          -b 512 -C 4096 -L ocfs2-refcount-tests -N 4   /dev/sda4 
mkfs.ocfs2 1.8.4
Cluster stack: o2cb
Cluster name: hacluster
Stack Flags: 0x0
NOTE: Feature extended slot map may be enabled
Overwriting existing ocfs2 partition.
Proceed (y/N): Label: ocfs2-refcount-tests
Features: sparse extended-slotmap backup-super unwritten inline-data strict-journal-super xattr indexed-dirs refcount discontig-bg
Block size: 512 (9 bits)
Cluster size: 4096 (12 bits)
Volume size: 1953161543680 (476846080 clusters) (3814768640 blocks)
Cluster groups: 133049 (tail covers 2048 clusters, rest cover 3584 clusters)
Extent allocator size: 488636416 (466 groups)
Journal size: 33554432
Node slots: 4
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 6 block(s)
Formatting Journals: done
Growing extent allocator: done
Formatting slot map: done
Formatting quota files: done
Writing lost+found: done
mkfs.ocfs2 successful

2015/08/19,17:00:41  /usr/bin/sudo -u root /usr/bin/mount -t ocfs2  /dev/sda4 /mnt/shared
2015/08/19,17:00:49  [1] Basic Fucntional Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -f 
ioctl failed:25:Inappropriate ioctl for device
do_reflinks failed
Round 0 test running...
Test 1: Basic reflink test.
  *Use Contiguous Extent = 0.
  *SubTest 1: Prepare file.
  *SubTest 2: Do 100 reflinks.
renzhengeek commented 8 years ago
desktop:/opt/ocfs2-test/log/2015-08-21_00:40 # cat single_run.log 
2015-08-21 00:40:38 *** Start Single Node test ***
2015-08-21 00:40:38 run_reflink_test /opt/ocfs2-test/log/2015-08-21_00:40 /dev/sda4 /mnt/shared o2cb hacluster
2015-08-21 00:40:38 reflink_test ordered
desktop:/opt/ocfs2-test/log/2015-08-21_00:40 # cat 2015-08-21-00-40-38-reflink-tests-run.log
=====================Reflink tests start:  Fri Aug 21 00:40:38 CST 2015=====================
<- Running test with 512 bs and 4096 cs ->
[*] Mkfs device /dev/sda4:                                                     [ PASS ]
[*] Mount /dev/sda4 to /mnt/shared:                                            [ PASS ]
[1] Basic Fucntional Test:                                                     [ PASS ]
[2] Random Refcount Test:                                                      [ PASS ]
[3] Mmap Refcount Test:desktop:/opt/ocfs2-test/log/2015-08-21_00:40 # cat 2015-08-21-00-40-38-reflink-tests.log
2015/08/21,00:40:39  =====================Reflink tests start:  Fri Aug 21 00:40:39 CST 2015=====================
2015/08/21,00:40:39  <- Running test with 512 bs and 4096 cs ->
2015/08/21,00:40:39  /usr/bin/sudo -u root /sbin/mkfs.ocfs2 --fs-features=refcount,xattr --cluster-stack=o2cb --cluster-name=hacluster                                          -b 512 -C 4096 -L ocfs2-refcount-tests -N 4   /dev/sda4 
mkfs.ocfs2 1.8.4
Cluster stack: o2cb
Cluster name: hacluster
Stack Flags: 0x0
NOTE: Feature extended slot map may be enabled
Overwriting existing ocfs2 partition.
Proceed (y/N): Label: ocfs2-refcount-tests
Features: sparse extended-slotmap backup-super unwritten inline-data strict-journal-super xattr indexed-dirs refcount discontig-bg
Block size: 512 (9 bits)
Cluster size: 4096 (12 bits)
Volume size: 1953161543680 (476846080 clusters) (3814768640 blocks)
Cluster groups: 133049 (tail covers 2048 clusters, rest cover 3584 clusters)
Extent allocator size: 488636416 (466 groups)
Journal size: 33554432
Node slots: 4
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 6 block(s)
Formatting Journals: done
Growing extent allocator: done
Formatting slot map: done
Formatting quota files: done
Writing lost+found: done
mkfs.ocfs2 successful

2015/08/21,01:02:24  /usr/bin/sudo -u root /usr/bin/mount -t ocfs2  /dev/sda4 /mnt/shared
2015/08/21,01:02:33  [1] Basic Fucntional Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -f 
Round 0 test running...
Test 1: Basic reflink test.
  *Use Contiguous Extent = 0.
  *SubTest 1: Prepare file.
  *SubTest 2: Do 100 reflinks.
  *SubTest 3: Read 100 reflinks.
  *SubTest 4: Do CoW on 100 reflinks.
  *SubTest 5: Do CoW on 512 interval.
  *SubTest 6: Verify Original inode.
  *SubTest 7: Do CoW on 4096 interval.
  *SubTest 8: Verify Original inode.
  *SubTest 9: Do CoW on 1048576 interval.
  *SubTest 9: Verify Original inode.
  *SubTest 10: Read 100 reflinks.
  *SubTest 11: Unlink 100 reflinks.
  *SubTest 12: Verify Original inode.
  *SubTest 13: Do 100 reflinks.
  *SubTest 14: Do CoW on truncate with 100 reflinks.
  *SubTest 15: Verify Original inode.
  *SubTest 16: Unlink 100 reflinks.
  *SubTest 17: Verify Original inode.
  *SubTest 18: Do 100 reflinks.
  *SubTest 19: Do CoW on append with 100 reflinks.
  *SubTest 20: Unlink 100 reflinks.
 *SubTest 21: Unlink original file.
  *Use Contiguous Extent = 1.
  *SubTest 22: Prepare file.
  *SubTest 23: Do 100 reflinks.
  *SubTest 24: Read 100 reflinks.
  *SubTest 25: Do CoW on 100 reflinks.
  *SubTest 26: Do CoW on 512 interval.
  *SubTest 27: Verify Original inode.
  *SubTest 28: Do CoW on 4096 interval.
  *SubTest 29: Verify Original inode.
  *SubTest 30: Do CoW on 1048576 interval.
  *SubTest 30: Verify Original inode.
  *SubTest 31: Read 100 reflinks.
  *SubTest 32: Unlink 100 reflinks.
  *SubTest 33: Verify Original inode.
  *SubTest 34: Do 100 reflinks.
  *SubTest 35: Do CoW on truncate with 100 reflinks.
  *SubTest 36: Verify Original inode.
  *SubTest 37: Unlink 100 reflinks.
  *SubTest 38: Verify Original inode.
  *SubTest 39: Do 100 reflinks.
  *SubTest 40: Do CoW on append with 100 reflinks.
  *SubTest 41: Unlink 100 reflinks.
 *SubTest 42: Unlink original file.
2015/08/21,01:30:26  Cleanup working place
2015/08/21,01:30:27  [2] Random Refcount Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -f -r 
Round 0 test running...
Test 1: Basic reflink test.
  *Use Contiguous Extent = 0.
  *SubTest 1: Prepare file.
  *SubTest 2: Do 100 reflinks.
  *SubTest 3: Read 100 reflinks.
  *SubTest 4: Do CoW on 100 reflinks.
  *SubTest 5: Read 100 reflinks.
  *SubTest 6: Unlink 100 reflinks.
  *SubTest 7: Verify Original inode.
  *SubTest 8: Do 100 reflinks.
  *SubTest 9: Do CoW on truncate with 100 reflinks.
  *SubTest 10: Verify Original inode.
  *SubTest 11: Unlink 100 reflinks.
  *SubTest 12: Verify Original inode.
  *SubTest 13: Do 100 reflinks.
  *SubTest 14: Do CoW on append with 100 reflinks.
  *SubTest 15: Unlink 100 reflinks.
 *SubTest 16: Unlink original file.
  *Use Contiguous Extent = 1.
  *SubTest 17: Prepare file.
  *SubTest 18: Do 100 reflinks.
  *SubTest 19: Read 100 reflinks.
  *SubTest 20: Do CoW on 100 reflinks.
  *SubTest 21: Read 100 reflinks.
  *SubTest 22: Unlink 100 reflinks.
  *SubTest 23: Verify Original inode.
  *SubTest 24: Do 100 reflinks.
  *SubTest 25: Do CoW on truncate with 100 reflinks.
  *SubTest 26: Verify Original inode.
  *SubTest 27: Unlink 100 reflinks.
  *SubTest 28: Verify Original inode.
  *SubTest 29: Do 100 reflinks.
  *SubTest 30: Do CoW on append with 100 reflinks.
  *SubTest 31: Unlink 100 reflinks.
 *SubTest 32: Unlink original file.
2015/08/21,01:50:43  Cleanup working place
2015/08/21,01:50:43  [3] Mmap Refcount Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -m
renzhengeek commented 8 years ago
desktop:/opt/ocfs2-test/log/2015-08-21_14:14 # cat single_run.log
2015-08-21 14:14:19 *** Start Single Node test ***
2015-08-21 14:14:19 run_reflink_test /opt/ocfs2-test/log/2015-08-21_14:14 /dev/sda4 /mnt/shared o2cb hacluster
2015-08-21 14:14:19 reflink_test ordered
desktop:/opt/ocfs2-test/log/2015-08-21_14:14 # cat 2015-08-21-14-14-19-reflink-tests-run.log
=====================Reflink tests start:  Fri Aug 21 14:14:19 CST 2015=====================
<- Running test with 512 bs and 4096 cs ->
[*] Mkfs device /dev/sda4:                                                     [ PASS ]
[*] Mount /dev/sda4 to /mnt/shared:                                            [ PASS ]
[1] Basic Fucntional Test:                                                     [ PASS ]
[2] Random Refcount Test:                                                      [ PASS ]
[3] Mmap Refcount Test:                                                        [ PASS ]
[4] Boundary Refcount Test:                                                    [ PASS ]
[5] Concurrent Refcount Test:                                                  [ PASS ]
[6] O_DIRECT Refcount Test:desktop:/opt/ocfs2-test/log/2015-08-21_14:14 # cat 2015-08-21-14-14-19-reflink-tests.log
2015/08/21,14:14:19  =====================Reflink tests start:  Fri Aug 21 14:14:19 CST 2015=====================
2015/08/21,14:14:19  <- Running test with 512 bs and 4096 cs ->
2015/08/21,14:14:19  /usr/bin/sudo -u root /sbin/mkfs.ocfs2 --fs-features=refcount,xattr --cluster-stack=o2cb --cluster-name=hacluster                                          -b 512 -C 4096 -L ocfs2-refcount-tests -N 4   /dev/sda4 
mkfs.ocfs2 1.8.4
Cluster stack: o2cb
Cluster name: hacluster
Stack Flags: 0x0
NOTE: Feature extended slot map may be enabled
Overwriting existing ocfs2 partition.
Proceed (y/N): Label: ocfs2-refcount-tests
Features: sparse extended-slotmap backup-super unwritten inline-data strict-journal-super xattr indexed-dirs refcount discontig-bg
Block size: 512 (9 bits)
Cluster size: 4096 (12 bits)
Volume size: 1953161543680 (476846080 clusters) (3814768640 blocks)
Cluster groups: 133049 (tail covers 2048 clusters, rest cover 3584 clusters)
Extent allocator size: 488636416 (466 groups)
Journal size: 33554432
Node slots: 4
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 6 block(s)
Formatting Journals: done
Growing extent allocator: done
Formatting slot map: done
Formatting quota files: done
Writing lost+found: done
mkfs.ocfs2 successful

2015/08/21,14:36:00  /usr/bin/sudo -u root /usr/bin/mount -t ocfs2  /dev/sda4 /mnt/shared
2015/08/21,14:36:09  [1] Basic Fucntional Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -f 
Round 0 test running...
Test 1: Basic reflink test.
  *Use Contiguous Extent = 0.
  *SubTest 1: Prepare file.
  *SubTest 2: Do 100 reflinks.
  *SubTest 3: Read 100 reflinks.
  *SubTest 4: Do CoW on 100 reflinks.
  *SubTest 5: Do CoW on 512 interval.
  *SubTest 6: Verify Original inode.
  *SubTest 7: Do CoW on 4096 interval.
  *SubTest 8: Verify Original inode.
  *SubTest 9: Do CoW on 1048576 interval.
  *SubTest 9: Verify Original inode.
  *SubTest 10: Read 100 reflinks.
  *SubTest 11: Unlink 100 reflinks.
  *SubTest 12: Verify Original inode.
  *SubTest 13: Do 100 reflinks.
  *SubTest 14: Do CoW on truncate with 100 reflinks.
  *SubTest 15: Verify Original inode.
  *SubTest 16: Unlink 100 reflinks.
  *SubTest 17: Verify Original inode.
  *SubTest 18: Do 100 reflinks.
  *SubTest 19: Do CoW on append with 100 reflinks.
  *SubTest 20: Unlink 100 reflinks.
 *SubTest 21: Unlink original file.
  *Use Contiguous Extent = 1.
  *SubTest 22: Prepare file.
  *SubTest 23: Do 100 reflinks.
  *SubTest 24: Read 100 reflinks.
  *SubTest 25: Do CoW on 100 reflinks.
  *SubTest 26: Do CoW on 512 interval.
  *SubTest 27: Verify Original inode.
  *SubTest 28: Do CoW on 4096 interval.
  *SubTest 29: Verify Original inode.
  *SubTest 30: Do CoW on 1048576 interval.
  *SubTest 30: Verify Original inode.
  *SubTest 31: Read 100 reflinks.
  *SubTest 32: Unlink 100 reflinks.
  *SubTest 33: Verify Original inode.
  *SubTest 34: Do 100 reflinks.
  *SubTest 35: Do CoW on truncate with 100 reflinks.
  *SubTest 36: Verify Original inode.
  *SubTest 37: Unlink 100 reflinks.
  *SubTest 38: Verify Original inode.
  *SubTest 39: Do 100 reflinks.
  *SubTest 40: Do CoW on append with 100 reflinks.
  *SubTest 41: Unlink 100 reflinks.
 *SubTest 42: Unlink original file.
2015/08/21,15:04:55  Cleanup working place
2015/08/21,15:04:57  [2] Random Refcount Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -f -r 
Round 0 test running...
Test 1: Basic reflink test.
  *Use Contiguous Extent = 0.
  *SubTest 1: Prepare file.
  *SubTest 2: Do 100 reflinks.
  *SubTest 3: Read 100 reflinks.
  *SubTest 4: Do CoW on 100 reflinks.
  *SubTest 5: Read 100 reflinks.
  *SubTest 6: Unlink 100 reflinks.
  *SubTest 7: Verify Original inode.
  *SubTest 8: Do 100 reflinks.
  *SubTest 9: Do CoW on truncate with 100 reflinks.
  *SubTest 10: Verify Original inode.
  *SubTest 11: Unlink 100 reflinks.
  *SubTest 12: Verify Original inode.
  *SubTest 13: Do 100 reflinks.
  *SubTest 14: Do CoW on append with 100 reflinks.
  *SubTest 15: Unlink 100 reflinks.
 *SubTest 16: Unlink original file.
  *Use Contiguous Extent = 1.
  *SubTest 17: Prepare file.
  *SubTest 18: Do 100 reflinks.
  *SubTest 19: Read 100 reflinks.
  *SubTest 20: Do CoW on 100 reflinks.
  *SubTest 21: Read 100 reflinks.
  *SubTest 22: Unlink 100 reflinks.
  *SubTest 23: Verify Original inode.
  *SubTest 24: Do 100 reflinks.
  *SubTest 25: Do CoW on truncate with 100 reflinks.
  *SubTest 26: Verify Original inode.
  *SubTest 27: Unlink 100 reflinks.
  *SubTest 28: Verify Original inode.
  *SubTest 29: Do 100 reflinks.
  *SubTest 30: Do CoW on append with 100 reflinks.
  *SubTest 31: Unlink 100 reflinks.
 *SubTest 32: Unlink original file.
2015/08/21,15:26:09  Cleanup working place
2015/08/21,15:26:11  [3] Mmap Refcount Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -m
Round 0 test running...
Test 1: Basic reflink test.
  *Use Contiguous Extent = 0.
  *SubTest 1: Prepare file.
  *SubTest 2: Do 100 reflinks.
  *SubTest 3: Read 100 reflinks.
  *SubTest 4: Do CoW on 100 reflinks.
  *SubTest 5: Do CoW on 512 interval.
  *SubTest 6: Verify Original inode.
  *SubTest 7: Do CoW on 4096 interval.
  *SubTest 8: Verify Original inode.
  *SubTest 9: Do CoW on 1048576 interval.
  *SubTest 9: Verify Original inode.
  *SubTest 10: Read 100 reflinks.
  *SubTest 11: Unlink 100 reflinks.
  *SubTest 12: Verify Original inode.
  *SubTest 13: Do 100 reflinks.
  *SubTest 14: Do CoW on truncate with 100 reflinks.
  *SubTest 15: Verify Original inode.
  *SubTest 16: Unlink 100 reflinks.
  *SubTest 17: Verify Original inode.
  *SubTest 18: Do 100 reflinks.
  *SubTest 19: Do CoW on append with 100 reflinks.
  *SubTest 20: Unlink 100 reflinks.
 *SubTest 21: Unlink original file.
  *Use Contiguous Extent = 1.
  *SubTest 22: Prepare file.
  *SubTest 23: Do 100 reflinks.
  *SubTest 24: Read 100 reflinks.
  *SubTest 25: Do CoW on 100 reflinks.
  *SubTest 26: Do CoW on 512 interval.
  *SubTest 27: Verify Original inode.
  *SubTest 28: Do CoW on 4096 interval.
  *SubTest 29: Verify Original inode.
  *SubTest 30: Do CoW on 1048576 interval.
  *SubTest 30: Verify Original inode.
  *SubTest 31: Read 100 reflinks.
  *SubTest 32: Unlink 100 reflinks.
  *SubTest 33: Verify Original inode.
  *SubTest 34: Do 100 reflinks.
  *SubTest 35: Do CoW on truncate with 100 reflinks.
  *SubTest 36: Verify Original inode.
  *SubTest 37: Unlink 100 reflinks.
  *SubTest 38: Verify Original inode.
  *SubTest 39: Do 100 reflinks.
  *SubTest 40: Do CoW on append with 100 reflinks.
  *SubTest 41: Unlink 100 reflinks.
 *SubTest 42: Unlink original file.
2015/08/21,16:10:29  Cleanup working place
2015/08/21,16:10:31  [4] Boundary Refcount Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -b
Round 0 test running...
Test 1: Boundary reflink test.
  *SubTest 1: CoW on extent 1 more byte than max_inline_sz.
  *SubTest 2: CoW on extent between max_inline_sz and 1M.
  *SubTest 3: CoW on 1M extent.
  *SubTest 4: CoW on contiguous 1G extent.
  *SubTest 5: CoW on incontiguous 1G extent.
2015/08/21,16:14:03  Cleanup working place
2015/08/21,16:14:03  [5] Concurrent Refcount Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -c 100 
Round 0 test running...
Test 1: Concurrent test.
2015/08/21,16:32:49  Cleanup working place
2015/08/21,16:32:49  [6] O_DIRECT Refcount Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -O 
renzhengeek commented 8 years ago
desktop:/opt/ocfs2-test/log/2015-08-22_15:52 # cat single_run.log
2015-08-22 15:52:31 *** Start Single Node test ***
2015-08-22 15:52:31 run_reflink_test /opt/ocfs2-test/log/2015-08-22_15:52 /dev/sda4 /mnt/shared o2cb hacluster
2015-08-22 15:52:31 reflink_test ordered
desktop:/opt/ocfs2-test/log/2015-08-22_15:52 # cat 2015-08-22-15-52-31-reflink-tests-run.log
=====================Reflink tests start:  Sat Aug 22 15:52:31 CST 2015=====================
<- Running test with 512 bs and 4096 cs ->
[*] Mkfs device /dev/sda4:                                                     [ PASS ]
[*] Mount /dev/sda4 to /mnt/shared:                                            [ PASS ]
[1] Basic Fucntional Test:                                                     [ PASS ]
[2] Random Refcount Test:                                                      [ PASS ]
[3] Mmap Refcount Test:desktop:/opt/ocfs2-test/log/2015-08-22_15:52 # cat 2015-08-22-15-52-31-reflink-tests.log
2015/08/22,15:52:31  =====================Reflink tests start:  Sat Aug 22 15:52:31 CST 2015=====================
2015/08/22,15:52:31  <- Running test with 512 bs and 4096 cs ->
2015/08/22,15:52:31  /usr/bin/sudo -u root /sbin/mkfs.ocfs2 --fs-features=refcount,xattr --cluster-stack=o2cb --cluster-name=hacluster                                          -b 512 -C 4096 -L ocfs2-refcount-tests -N 4   /dev/sda4 
mkfs.ocfs2 1.8.4
Cluster stack: o2cb
Cluster name: hacluster
Stack Flags: 0x0
NOTE: Feature extended slot map may be enabled
Overwriting existing ocfs2 partition.
Proceed (y/N): Label: ocfs2-refcount-tests
Features: sparse extended-slotmap backup-super unwritten inline-data strict-journal-super xattr indexed-dirs refcount discontig-bg
Block size: 512 (9 bits)
Cluster size: 4096 (12 bits)
Volume size: 1953161543680 (476846080 clusters) (3814768640 blocks)
Cluster groups: 133049 (tail covers 2048 clusters, rest cover 3584 clusters)
Extent allocator size: 488636416 (466 groups)
Journal size: 33554432
Node slots: 4
Creating bitmaps: done
Initializing superblock: done
Writing system files: done
Writing superblock: done
Writing backup superblock: 6 block(s)
Formatting Journals: done
Growing extent allocator: done
Formatting slot map: done
Formatting quota files: done
Writing lost+found: done
mkfs.ocfs2 successful

2015/08/22,16:16:34  /usr/bin/sudo -u root /usr/bin/mount -t ocfs2  /dev/sda4 /mnt/shared
2015/08/22,16:16:43  [1] Basic Fucntional Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -f 
Round 0 test running...
Test 1: Basic reflink test.
  *Use Contiguous Extent = 0.
  *SubTest 1: Prepare file.
  *SubTest 2: Do 100 reflinks.
  *SubTest 3: Read 100 reflinks.
  *SubTest 4: Do CoW on 100 reflinks.
  *SubTest 5: Do CoW on 512 interval.
  *SubTest 6: Verify Original inode.
  *SubTest 7: Do CoW on 4096 interval.
  *SubTest 8: Verify Original inode.
  *SubTest 9: Do CoW on 1048576 interval.
  *SubTest 9: Verify Original inode.
  *SubTest 10: Read 100 reflinks.
  *SubTest 11: Unlink 100 reflinks.
  *SubTest 12: Verify Original inode.
  *SubTest 13: Do 100 reflinks.
  *SubTest 14: Do CoW on truncate with 100 reflinks.
  *SubTest 15: Verify Original inode.
  *SubTest 16: Unlink 100 reflinks.
  *SubTest 17: Verify Original inode.
  *SubTest 18: Do 100 reflinks.
  *SubTest 19: Do CoW on append with 100 reflinks.
  *SubTest 20: Unlink 100 reflinks.
 *SubTest 21: Unlink original file.
  *Use Contiguous Extent = 1.
  *SubTest 22: Prepare file.
  *SubTest 23: Do 100 reflinks.
  *SubTest 24: Read 100 reflinks.
  *SubTest 25: Do CoW on 100 reflinks.
  *SubTest 26: Do CoW on 512 interval.
  *SubTest 27: Verify Original inode.
  *SubTest 28: Do CoW on 4096 interval.
  *SubTest 29: Verify Original inode.
  *SubTest 30: Do CoW on 1048576 interval.
  *SubTest 30: Verify Original inode.
  *SubTest 31: Read 100 reflinks.
  *SubTest 32: Unlink 100 reflinks.
  *SubTest 33: Verify Original inode.
  *SubTest 34: Do 100 reflinks.
  *SubTest 35: Do CoW on truncate with 100 reflinks.
  *SubTest 36: Verify Original inode.
  *SubTest 37: Unlink 100 reflinks.
  *SubTest 38: Verify Original inode.
  *SubTest 39: Do 100 reflinks.
  *SubTest 40: Do CoW on append with 100 reflinks.
  *SubTest 41: Unlink 100 reflinks.
 *SubTest 42: Unlink original file.
2015/08/22,16:45:00  Cleanup working place
2015/08/22,16:45:01  [2] Random Refcount Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -f -r 
Round 0 test running...
Test 1: Basic reflink test.
  *Use Contiguous Extent = 0.
  *SubTest 1: Prepare file.
  *SubTest 2: Do 100 reflinks.
  *SubTest 3: Read 100 reflinks.
  *SubTest 4: Do CoW on 100 reflinks.
  *SubTest 5: Read 100 reflinks.
  *SubTest 6: Unlink 100 reflinks.
  *SubTest 7: Verify Original inode.
  *SubTest 8: Do 100 reflinks.
  *SubTest 9: Do CoW on truncate with 100 reflinks.
  *SubTest 10: Verify Original inode.
  *SubTest 11: Unlink 100 reflinks.
  *SubTest 12: Verify Original inode.
  *SubTest 13: Do 100 reflinks.
  *SubTest 14: Do CoW on append with 100 reflinks.
  *SubTest 15: Unlink 100 reflinks.
 *SubTest 16: Unlink original file.
  *Use Contiguous Extent = 1.
  *SubTest 17: Prepare file.
  *SubTest 18: Do 100 reflinks.
  *SubTest 19: Read 100 reflinks.
  *SubTest 20: Do CoW on 100 reflinks.
  *SubTest 21: Read 100 reflinks.
  *SubTest 22: Unlink 100 reflinks.
  *SubTest 23: Verify Original inode.
  *SubTest 24: Do 100 reflinks.
  *SubTest 25: Do CoW on truncate with 100 reflinks.
  *SubTest 26: Verify Original inode.
  *SubTest 27: Unlink 100 reflinks.
  *SubTest 28: Verify Original inode.
  *SubTest 29: Do 100 reflinks.
  *SubTest 30: Do CoW on append with 100 reflinks.
  *SubTest 31: Unlink 100 reflinks.
 *SubTest 32: Unlink original file.
2015/08/22,17:05:13  Cleanup working place
2015/08/22,17:05:13  [3] Mmap Refcount Test, CMD:/usr/bin/sudo -u root ./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refcount-tests -m
renzhengeek commented 8 years ago
desktop:/opt/ocfs2-test/log/2015-08-22_15:52 # journalctl --since="2015-08-22 15:52:31" --until="2015-08-22 17:05:13"
-- Logs begin at Tue 2015-08-11 11:19:19 CST, end at Mon 2015-08-24 18:15:02 CST. --
Aug 22 15:52:31 desktop sudo[2736]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/mkdir -p /opt/ocfs2-test/log/2015-08-22_15:52
Aug 22 15:52:31 desktop sudo[2736]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 22 15:52:31 desktop sudo[2736]: pam_unix(sudo:session): session closed for user root
Aug 22 15:52:31 desktop sudo[2738]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/chown -R root /opt/ocfs2-test/log/2015-08-22_15:52
Aug 22 15:52:31 desktop sudo[2738]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 22 15:52:31 desktop sudo[2738]: pam_unix(sudo:session): session closed for user root
Aug 22 15:52:31 desktop sudo[2833]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/sbin/mkfs.ocfs2 --fs-features=refcount,xattr --cluster-stack=o2cb --cluster-na
Aug 22 15:52:31 desktop sudo[2833]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 22 15:52:37 desktop kernel: o2dlm: Joining domain A2656590CBF941BABE63E2C33BAB6F8C ( 0 ) 1 nodes
Aug 22 15:52:41 desktop kernel: o2dlm: Leaving domain A2656590CBF941BABE63E2C33BAB6F8C
Aug 22 16:00:01 desktop cron[2843]: pam_unix(crond:session): session opened for user root by (uid=0)
Aug 22 16:00:01 desktop CRON[2843]: pam_unix(crond:session): session closed for user root
Aug 22 16:15:01 desktop cron[2866]: pam_unix(crond:session): session opened for user root by (uid=0)
Aug 22 16:15:01 desktop CRON[2866]: pam_unix(crond:session): session closed for user root
Aug 22 16:16:34 desktop sudo[2833]: pam_unix(sudo:session): session closed for user root
Aug 22 16:16:34 desktop sudo[2896]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/mount -t ocfs2 /dev/sda4 /mnt/shared
Aug 22 16:16:34 desktop sudo[2896]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 22 16:16:43 desktop kernel: o2dlm: Joining domain 8DB2F816826346C997E3E77243408C12 ( 0 ) 1 nodes
Aug 22 16:16:43 desktop kernel: JBD2: Ignoring recovery information on journal
Aug 22 16:16:43 desktop kernel: ocfs2: Mounting device (8,4) on (node 0, slot 0) with ordered data mode.
Aug 22 16:16:43 desktop ocfs2_hb_ctl[2912]: ocfs2_hb_ctl /sbin/ocfs2_hb_ctl -P -d /dev/sda4
Aug 22 16:16:43 desktop sudo[2896]: pam_unix(sudo:session): session closed for user root
Aug 22 16:16:43 desktop sudo[2914]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/chmod -R 777 /mnt/shared
Aug 22 16:16:43 desktop sudo[2914]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 22 16:16:43 desktop sudo[2914]: pam_unix(sudo:session): session closed for user root
Aug 22 16:16:43 desktop sudo[2916]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/chown -R root:root /mnt/shared
Aug 22 16:16:43 desktop sudo[2916]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 22 16:16:43 desktop sudo[2916]: pam_unix(sudo:session): session closed for user root
Aug 22 16:16:43 desktop sudo[2924]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refco
Aug 22 16:16:43 desktop sudo[2924]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 22 16:22:30 desktop kernel: perf interrupt took too long (2502 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
Aug 22 16:30:02 desktop cron[2926]: pam_unix(crond:session): session opened for user root by (uid=0)
Aug 22 16:30:07 desktop CRON[2926]: pam_unix(crond:session): session closed for user root
Aug 22 16:31:05 desktop kernel: e1000e: em1 NIC Link is Down
Aug 22 16:31:08 desktop kernel: e1000e: em1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx
Aug 22 16:31:09 desktop wickedd-dhcp4[741]: em1: Committed DHCPv4 lease with address 147.2.212.175 (lease time 172800 sec, renew in 86400 sec, rebind in 151200 sec)
Aug 22 16:31:09 desktop wickedd[743]: em1: address 147.2.212.175 covered by a dhcp lease
Aug 22 16:31:10 desktop wickedd[743]: route ipv4 0.0.0.0/0 via 147.2.212.254 dev em1 type unicast table main scope universe protocol dhcp covered by a ipv4:dhcp lease
Aug 22 16:31:10 desktop wickedd[743]: em1: Notified neighbours about IP address 147.2.212.175
Aug 22 16:31:13 desktop kernel: e1000e: em1 NIC Link is Down
Aug 22 16:31:17 desktop kernel: e1000e: em1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx
Aug 22 16:31:17 desktop wickedd-dhcp4[741]: em1: Committed DHCPv4 lease with address 147.2.212.175 (lease time 172791 sec, renew in 86395 sec, rebind in 151192 sec)
Aug 22 16:31:17 desktop wickedd[743]: em1: address 147.2.212.175 covered by a dhcp lease
Aug 22 16:31:17 desktop wickedd[743]: em1: Notified neighbours about IP address 147.2.212.175
Aug 22 16:31:17 desktop wickedd[743]: route ipv4 0.0.0.0/0 via 147.2.212.254 dev em1 type unicast table main scope universe protocol dhcp covered by a ipv4:dhcp lease
Aug 22 16:31:21 desktop kernel: e1000e: em1 NIC Link is Down
Aug 22 16:31:25 desktop kernel: e1000e: em1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx
Aug 22 16:31:30 desktop wickedd-dhcp4[741]: em1: Committed DHCPv4 lease with address 147.2.212.175 (lease time 172778 sec, renew in 86389 sec, rebind in 151180 sec)
Aug 22 16:31:30 desktop wickedd[743]: em1: address 147.2.212.175 covered by a dhcp lease
Aug 22 16:31:30 desktop wickedd[743]: route ipv4 0.0.0.0/0 via 147.2.212.254 dev em1 type unicast table main scope universe protocol dhcp covered by a ipv4:dhcp lease
Aug 22 16:31:30 desktop wickedd[743]: em1: Notified neighbours about IP address 147.2.212.175
Aug 22 16:44:58 desktop sudo[2924]: pam_unix(sudo:session): session closed for user root
Aug 22 16:45:00 desktop sudo[3432]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/chmod -R 777 /mnt/shared
Aug 22 16:45:00 desktop sudo[3432]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 22 16:45:01 desktop sudo[3432]: pam_unix(sudo:session): session closed for user root
Aug 22 16:45:01 desktop sudo[3438]: root : TTY=pts/0 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=./reflink_test -i 1 -n 100 -l 104857600 -d /dev/sda4 -w /mnt/shared/ocfs2-refco
Aug 22 16:45:01 desktop sudo[3438]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 22 16:45:02 desktop cron[3440]: pam_unix(crond:session): session opened for user root by (uid=0)
Aug 22 16:45:02 desktop CRON[3440]: pam_unix(crond:session): session closed for user root
Aug 22 17:00:02 desktop cron[3475]: pam_unix(crond:session): session opened for user root by (uid=0)
Aug 22 17:00:06 desktop CRON[3475]: pam_unix(crond:session): session closed for user root
Aug 22 17:05:11 desktop sudo[3438]: pam_unix(sudo:session): session closed for user root