Closed renzhengeek closed 8 years ago
desktop:/opt/ocfs2-test/log/2015-08-19_16:16 # cat single_run.log 2015-08-19 16:16:17 * Start Single Node test * 2015-08-19 16:16:17 run_backup_super /opt/ocfs2-test/log/2015-08-19_16:16 /dev/sda4 /mnt/shared o2cb hacluster 2015-08-19 16:16:17 backup_super_test 2015-08-19 16:19:02 FAILED (165 secs) 2015-08-19 16:19:02 run_reflink_test /opt/ocfs2-test/log/2015-08-19_16:16 /dev/sda4 /mnt/shared o2cb hacluster 2015-08-19 16:19:02 reflink_test ordered 2015-08-19 16:19:02 FAILED (0 secs) 2015-08-19 16:19:02 reflink_test writeback 2015-08-19 16:19:03 FAILED (1 secs) 2015-08-19 16:19:03 Total Runtime 166 seconds 2015-08-19 16:19:03 * End Single Node test *
desktop:/opt/ocfs2-test/log/2015-08-19_19:06 # cat single_run.log
2015-08-19 19:06:46 *** Start Single Node test ***
2015-08-19 19:06:46 run_mkfs /opt/ocfs2-test/log/2015-08-19_19:06 /dev/sda4 /mnt/ocfs2 o2cb hacluster
2015-08-19 19:06:46 mkfs_test
2015-08-19 19:13:10 PASSED (384 secs)
2015-08-19 19:13:10 run_tunefs /opt/ocfs2-test/log/2015-08-19_19:06 /dev/sda4 /mnt/ocfs2 o2cb hacluster
2015-08-19 19:13:10 tunefs_test
2015-08-19 20:30:20 PASSED (4630 secs)
2015-08-19 20:30:20 run_backup_super /opt/ocfs2-test/log/2015-08-19_19:06 /dev/sda4 /mnt/ocfs2 o2cb hacluster
2015-08-19 20:30:20 backup_super_test
2015-08-19 23:11:34 FAILED (9674 secs)
2015-08-19 23:11:34 run_reflink_test /opt/ocfs2-test/log/2015-08-19_19:06 /dev/sda4 /mnt/ocfs2 o2cb hacluster
2015-08-19 23:11:34 reflink_test ordered
desktop:/opt/ocfs2-test/log/2015-08-19_19:06 # cat 2015-08-19-20-30-20-backup_super_test_output.log
vol_size = 1073741824, blocksize = 512, clustersize = 4096
testing mkfs.ocfs2...
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 1 is ok.
testing fsck.ocfs2...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -y -r 1 /dev/sda4 is ok
test tunefs resize...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 -S /dev/sda4 2097160 is ok
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 1 is ok.
test tunefs and backup...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 --backup-super /dev/sda4 is ok
test tunefs refresh...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -fy -r 1 /dev/sda4 is ok
vol_size = 4294967296, blocksize = 512, clustersize = 4096
testing mkfs.ocfs2...
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 1 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 2 is ok.
testing fsck.ocfs2...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -y -r 2 /dev/sda4 is ok
test tunefs resize...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 -S /dev/sda4 8388616 is ok
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 2 is ok.
test tunefs and backup...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 --backup-super /dev/sda4 is ok
test tunefs refresh...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -fy -r 2 /dev/sda4 is ok
vol_size = 17179869184, blocksize = 512, clustersize = 4096
testing mkfs.ocfs2...
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 1 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 2 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 3 is ok.
testing fsck.ocfs2...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -y -r 3 /dev/sda4 is ok
test tunefs resize...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 -S /dev/sda4 33554440 is ok
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 3 is ok.
test tunefs and backup...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 --backup-super /dev/sda4 is ok
test tunefs refresh...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -fy -r 3 /dev/sda4 is ok
vol_size = 68719476736, blocksize = 512, clustersize = 4096
testing mkfs.ocfs2...
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 1 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 2 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 3 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 4 is ok.
testing fsck.ocfs2...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -y -r 4 /dev/sda4 is ok
test tunefs resize...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 -S /dev/sda4 134217736 is ok
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 4 is ok.
test tunefs and backup...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 --backup-super /dev/sda4 is ok
test tunefs refresh...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -fy -r 4 /dev/sda4 is ok
vol_size = 274877906944, blocksize = 512, clustersize = 4096
testing mkfs.ocfs2...
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 1 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 2 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 3 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 4 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 5 is ok.
testing fsck.ocfs2...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -y -r 5 /dev/sda4 is ok
test tunefs resize...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 -S /dev/sda4 536870920 is ok
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 5 is ok.
test tunefs and backup...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 --backup-super /dev/sda4 is ok
test tunefs refresh...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -fy -r 5 /dev/sda4 is ok
vol_size = 1099511627776, blocksize = 512, clustersize = 4096
testing mkfs.ocfs2...
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 1 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 2 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 3 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 4 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 5 is ok.
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 6 is ok.
testing fsck.ocfs2...
/usr/bin/sudo -u root /sbin/fsck.ocfs2 -y -r 6 /dev/sda4 is ok
test tunefs resize...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 -S /dev/sda4 2147483656 is ok
/usr/bin/sudo -u root /usr/sbin/debugfs.ocfs2 /dev/sda4 -s 6 is ok.
test tunefs and backup...
/usr/bin/sudo -u root /sbin/tunefs.ocfs2 --backup-super /dev/sda4 is ok
test_backup_super.sh: 0 tunefs.ocfs2 308
Aug 19 22:19:21 desktop kernel: o2dlm: Joining domain 1380F623E0814A8E8B7874796A9CDFC0 ( 0 ) 1 nodes
Aug 19 22:19:21 desktop kernel: JBD2: Ignoring recovery information on journal
Aug 19 22:19:21 desktop kernel: ocfs2: Mounting device (8,4) on (node 0, slot 0) with ordered data mode.
Aug 19 22:19:21 desktop ocfs2_hb_ctl[754]: ocfs2_hb_ctl /sbin/ocfs2_hb_ctl -P -d /dev/sda4
Aug 19 22:19:21 desktop sudo[742]: pam_unix(sudo:session): session closed for user root
Aug 19 22:19:21 desktop sudo[758]: root : TTY=pts/3 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/sbin/tunefs.ocfs2 -S /dev/sda4 2147483656
Aug 19 22:19:21 desktop sudo[758]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 19 22:19:21 desktop sudo[758]: pam_unix(sudo:session): session closed for user root
Aug 19 22:19:21 desktop sudo[764]: root : TTY=pts/3 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/sbin/debugfs.ocfs2 /dev/sda4 -s 6
Aug 19 22:19:21 desktop sudo[764]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 19 22:19:21 desktop sudo[764]: pam_unix(sudo:session): session closed for user root
Aug 19 22:19:21 desktop sudo[770]: root : TTY=pts/3 ; PWD=/opt/ocfs2-test/bin ; USER=root ; COMMAND=/usr/bin/umount /mnt/ocfs2
Aug 19 22:19:21 desktop sudo[770]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Aug 19 22:19:25 desktop kernel: o2dlm: Leaving domain 1380F623E0814A8E8B7874796A9CDFC0
Aug 19 22:19:25 desktop ocfs2_hb_ctl[773]: ocfs2_hb_ctl /sbin/ocfs2_hb_ctl -K -u 1380F623E0814A8E8B7874796A9CDFC0
Aug 19 22:19:26 desktop kernel: ocfs2: Unmounting device (8,4) on (node 0)
IIRC, already has a fix upstream about sb backup.