Posted by ghislainocfs2 on Thu 4th Sep 15:19 (modification of post by ghislainocfs2 view diff)
View followups from Anonymous | diff | download | new post
- AQ-00-0001:~# sh ./testfs.sh -vvvx -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.
- 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.
