Posted by Anonymous on Thu 4th Sep 15:23 (modification of post by ghislainocfs2 view diff)
View followups from Anonymous and Anonymous | diff | download | new post
- AQ-00-0001:~# sh ./testfs.sh -vvvxy -D /dev/etherd/e10.1 -F ocfs2 -M /test
- Linux-VServer FS Test [V0.19] Copyright (C) 2005-2008 H.Poetzl
- Linux 2.6.22.19-vs2.2.0.7 x86_64/0.30.216
- VCI: 0002:0200 236 030007b1 (ID24)
- ---
- testing ocfs2 filesystem ...
- mkfs.ocfs2 1.2.1
- Overwriting existing ocfs2 partition.
- Proceed (y/N): Filesystem label=
- Block size=4096 (bits=12)
- Cluster size=65536 (bits=16)
- Volume size=1000204795904 (15261914 clusters) (244190624 blocks)
- 474 cluster groups (tail covers 4826 clusters, rest cover 32256 clusters)
- Journal size=268435456
- Initial number of node slots: 4
- Creating bitmaps: done
- Initializing superblock: done
- Writing system files: done
- Writing superblock: done
- Formatting Journals: done
- Writing lost+found: done
- mkfs.ocfs2 successful
- [000]# succeeded.
- mount -t ocfs2 -o rw /dev/etherd/e10.1 /test 3>&2
- [001]# succeeded.
- mount -o remount,rw,tag /test 3>&2
- mount.ocfs2: Invalid argument while mounting /dev/etherd/e10.1 on /test
- [002]# failed.
- tag related tests ...
- mount -t ocfs2 -o rw,tag /dev/etherd/e10.1 /test 3>&2
- [011]# succeeded.
- do_tag_touch /test 0 1 255 256 666
- touch /test/file_1: 0
- touch /test/file_1
- touch /test/file_2: 1
- vcontext --migrate --xid 1 -- touch /test/file_2
- touch /test/file_3: 255
- vcontext --create --xid 255 -- touch /test/file_3
- New security context is 255
- touch /test/file_4: 256
- vcontext --create --xid 256 -- touch /test/file_4
- New security context is 256
- touch /test/file_5: 666
- vcontext --create --xid 666 -- touch /test/file_5
- New security context is 666
- [012]# succeeded.
- do_tag_verify /test 0 1 255 256 666
- verify /test/file_1: 0 = 0
- verify /test/file_2: 1 = 1
- verify /test/file_3: 255 = 255
- verify /test/file_4: 256 = 256
- verify /test/file_5: 666 = 666
- [014]# succeeded.
- do_tag_read /test 0 .... 1 ..^. 255 ..^.
- cat: /test/file_2: Permission non accord?e
- cat: /test/file_3: Permission non accord?e
- [015]# succeeded.
- umount /dev/etherd/e10.1 3>&2
- [019]# succeeded.
- do_tag_verify /test 0 1 255 256 666
- verify /test/file_1: 0 = 0
- verify /test/file_2: 1 = 1
- verify /test/file_3: 255 = 255
- verify /test/file_4: 256 = 256
- verify /test/file_5: 666 = 666
- [020]# succeeded.
- mount -o remount,rw,tag /test 3>&2
- [021]# succeeded.
- do_tag_verify /test 0 1 255 256 666
- verify /test/file_1: 0 = 0
- verify /test/file_2: 1 = 1
- verify /test/file_3: 255 = 255
- verify /test/file_4: 256 = 256
- verify /test/file_5: 666 = 666
- [022]# succeeded.
- mount -o remount,rw /test 3>&2
- [023]# succeeded.
- do_tag_verify /test 0 1 255 256 666
- verify /test/file_1: 0 = 0
- verify /test/file_2: 1 = 1
- verify /test/file_3: 255 = 255
- verify /test/file_4: 256 = 256
- verify /test/file_5: 666 = 666
- [024]# succeeded.
- do_tag_read /test 0 .... 1 ..^. 255 ..^.
- cat: /test/file_2: Permission non accord?e
- cat: /test/file_3: Permission non accord?e
- [025]# succeeded.
- do_tag_verify /test 0 1 255 256 666
- verify /test/file_1: 0 = 0
- verify /test/file_2: 1 = 1
- verify /test/file_3: 255 = 255
- verify /test/file_4: 256 = 256
- verify /test/file_5: 666 = 666
- [026]# succeeded.
- do_tag_write /test 0 .... 1 ..^. 255 ..^.
- tee: /test/file_2: Permission non accord?e
- tee: /test/file_3: Permission non accord?e
- [027]# succeeded.
- do_tag_verify /test 0 1 255 256 666
- verify /test/file_1: 0 = 0
- verify /test/file_2: 1 = 1
- verify /test/file_3: 255 = 255
- verify /test/file_4: 256 = 256
- verify /test/file_5: 666 = 666
- [028]# succeeded.
- do_tag_change /test 200 201 256 254 777
- change /test/file_1: 200
- change /test/file_2: 201
- change /test/file_3: 256
- change /test/file_4: 254
- change /test/file_5: 777
- [033]# succeeded.
- do_tag_verify /test 200 201 256 254 777
- verify /test/file_1: 200 = 200
- verify /test/file_2: 201 = 201
- verify /test/file_3: 256 = 256
- verify /test/file_4: 254 = 254
- verify /test/file_5: 777 = 777
- [034]# succeeded.
- do_tag_read /test 200 ..^.
- cat: /test/file_1: Permission non accord?e
- [035]# succeeded.
- do_tag_write /test 200 ..^. 201 ..^.
- tee: /test/file_1: Permission non accord?e
- tee: /test/file_2: Permission non accord?e
- [037]# succeeded.
- do_tag_read /test 200 ....
- [045]# succeeded.
- do_tag_write /test 200 .... 201 ....
- [047]# succeeded.
- xattr related tests ...
- mount -t ocfs2 -o rw /dev/etherd/e10.1 /test 3>&2
- [101]# succeeded.
- setattr --barrier /test/dir_3806
- [102]# succeeded.
- do_xattr_verify /test showattr /test/dir_3806 ---Bui-
- verify /test/dir_3806: ---Bui- = ----Bui-
- verify /test/dir_3806: ---Bui- ~ ----Bui-
- [103]# failed.
- do_xattr_verify /test lsattr /test/dir_3806 -+(-)?(A)+(-)
- verify /test/dir_3806: -+(-)?(A)+(-) = -------A----------
- [104]# succeeded.
- go_xid 2 chattr =i /test/dir_3806
- vcontext --create --xid 2 -- chattr =i /test/dir_3806
- New security context is 2
- /test/dir_3806: Permission non accord?e
- [105]# succeeded.
- do_xattr_barrier /test /test/dir_3806 .^^
- chmod +x /test/dir_3806
- vcontext --migrate --xid 1 -- chmod +x /test/dir_3806
- chmod: modification des permissions de `/test/dir_3806': Op?ration non permise
- vcontext --create --xid 2 -- chmod +x /test/dir_3806
- New security context is 2
- chmod: modification des permissions de `/test/dir_3806': Op?ration non permise
- [106]# succeeded.
- setattr --~barrier /test/dir_3806
- [108]# succeeded.
- do_xattr_verify /test showattr /test/dir_3806 ---bui-
- verify /test/dir_3806: ---bui- = ----bui-
- verify /test/dir_3806: ---bui- ~ ----bui-
- [109]# failed.
- setattr --iunlink /test/file_3806
- [112]# succeeded.
- do_xattr_verify /test showattr /test/file_3806 ----UI-
- verify /test/file_3806: ----UI- = -----UI-
- verify /test/file_3806: ----UI- ~ -----UI-
- [113]# failed.
- do_xattr_verify /test lsattr /test/file_3806 -+(-)-i-+(-)?([AE])+(-)
- verify /test/file_3806: -+(-)-i-+(-)?([AE])+(-) = ----i--A----------
- [114]# succeeded.
- ln /test/file_3806 /test/file_3806.y
- [115]# succeeded.
- go_xid 2 rm -f /test/file_3806
- vcontext --create --xid 2 -- rm -f /test/file_3806
- New security context is 2
- [117]# succeeded.
- setattr --~iunlink /test/file_3806.x
- [118]# succeeded.
- do_xattr_verify /test showattr /test/file_3806.x ----ui-
- verify /test/file_3806.x: ----ui- = -----ui-
- verify /test/file_3806.x: ----ui- ~ -----ui-
- [119]# failed.
- do_xattr_verify /test showattr /test/dir_3806 ---Bui-
- verify /test/dir_3806: ---Bui- = ----Bui-
- verify /test/dir_3806: ---Bui- ~ ----Bui-
- [121]# failed.
- do_xattr_verify /test lsattr /test/dir_3806 -+(-)?(A)+(-)
- verify /test/dir_3806: -+(-)?(A)+(-) = -------A----------
- [122]# succeeded.
- do_xattr_verify /test showattr /test/file_3806 ----UI-
- verify /test/file_3806: ----UI- = -----UI-
- verify /test/file_3806: ----UI- ~ -----UI-
- [123]# failed.
- do_xattr_verify /test lsattr /test/file_3806 -+(-)-i-+(-)?([AE])+(-)
- verify /test/file_3806: -+(-)-i-+(-)?([AE])+(-) = ----i--A----------
- [124]# succeeded.
- do_xattr_cowbreak /test /test/file_3806 ...
- chmod +x /test/file_3806.0
- vcontext --migrate --xid 1 -- chmod +x /test/file_3806.1
- vcontext --create --xid 2 -- chmod +x /test/file_3806.2
- New security context is 2
- [125]# succeeded.
- umount /dev/etherd/e10.1 3>&2
- [128]# succeeded.
- do_fsck ocfs2 /dev/etherd/e10.1 3>&2
- fsck.ocfs2: invalid option -- a
- Usage: fsck.ocfs2 [ -fGnuvVy ] [ -b superblock block ]
- [ -B block size ] device
- Critical flags for emergency repair:
- -n Check but don't change the file system
- -y Answer 'yes' to all repair questions
- -f Force checking even if file system is clean
- -F Ignore cluster locking (dangerous!)
- Less critical flags:
- -b superblock Treat given block as the super block
- -B blocksize Force the given block size
- -G Ask to fix mismatched inode generations
- -u Access the device with buffering
- -V Output fsck.ocfs2's version
- -v Provide verbose debugging output
- [129]# failed.
- umount /dev/etherd/e10.1 3>&2
- [138]# succeeded.
- do_fsck ocfs2 /dev/etherd/e10.1 3>&2
- fsck.ocfs2: invalid option -- a
- Usage: fsck.ocfs2 [ -fGnuvVy ] [ -b superblock block ]
- [ -B block size ] device
- Critical flags for emergency repair:
- -n Check but don't change the file system
- -y Answer 'yes' to all repair questions
- -f Force checking even if file system is clean
- -F Ignore cluster locking (dangerous!)
- Less critical flags:
- -b superblock Treat given block as the super block
- -B blocksize Force the given block size
- -G Ask to fix mismatched inode generations
- -u Access the device with buffering
- -V Output fsck.ocfs2's version
- -v Provide verbose debugging output
- [139]# failed.
- do_fsck ocfs2 /dev/etherd/e10.1 3>&2
- fsck.ocfs2: invalid option -- a
- Usage: fsck.ocfs2 [ -fGnuvVy ] [ -b superblock block ]
- [ -B block size ] device
- Critical flags for emergency repair:
- -n Check but don't change the file system
- -y Answer 'yes' to all repair questions
- -f Force checking even if file system is clean
- -F Ignore cluster locking (dangerous!)
- Less critical flags:
- -b superblock Treat given block as the super block
- -B blocksize Force the given block size
- -G Ask to fix mismatched inode generations
- -u Access the device with buffering
- -V Output fsck.ocfs2's version
- -v Provide verbose debugging output
- [999]# failed.
- AQ-00-0001:~#
Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
