[vserver] result for my 3.18.10-vs2.3.7.4: test

From: Ghislain <gadnet_at_aqueos.com>
Date: Mon 30 Mar 2015 - 18:09:23 BST
Message-ID: <55198343.3000103@aqueos.com>

hi,

  here is the test for 3.18.10-vs2.3.7.4:

i have no jfs and reiser on this system
------------------------------------------------------------------------------------------------------
/root%(root)> id
uid=0(root) gid=0(root) groups=0(root)

/root%(root)> bash testfs.sh -vvvvvvvvvv -D /dev/vserverpool/testcq -M
/mnt -x -y -z
Linux-VServer FS Test [V0.23] Copyright (C) 2005-2009 H.Poetzl
Linux 3.18.10-vs2.3.7.4 x86_64/0.30.216
VCI: 0002:0308 236 13013f11 (ID24)

---
testing ext2 filesystem ...
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 524288 blocks
26214 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
         32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
[000]# succeeded.
         mount -t ext2 -o rw /dev/vserverpool/testcq /mnt 3>&2
[001]# succeeded.
         mount -o remount,rw,tag /mnt 3>&2
mount: /mnt not mounted or bad option
[002]# succeeded.
tag related tests ...
         mount -t ext2 -o rw,tag /dev/vserverpool/testcq /mnt 3>&2
[011]# succeeded.
         do_tag_touch /mnt 0 1 255 256 666
         touch /mnt/file_1: 0
         vtag --migrate --tag 0 -- touch /mnt/file_1
         touch /mnt/file_2: 1
         vtag --migrate --tag 1 -- touch /mnt/file_2
         touch /mnt/file_3: 255
         vtag --migrate --tag 255 -- touch /mnt/file_3
         touch /mnt/file_4: 256
         vtag --migrate --tag 256 -- touch /mnt/file_4
         touch /mnt/file_5: 666
         vtag --migrate --tag 666 -- touch /mnt/file_5
[012]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[014]# succeeded.
         do_tag_read /mnt 0 .... 1 ..^. 255 ..^.
cat: /mnt/file_2: Permission denied
cat: /mnt/file_3: Permission denied
[015]# succeeded.
         umount /dev/vserverpool/testcq 3>&2
[019]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[020]# succeeded.
         mount -o remount,rw,tag /mnt 3>&2
[021]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[022]# succeeded.
         mount -o remount,rw /mnt 3>&2
[023]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[024]# succeeded.
         do_tag_read /mnt 0 .... 1 ..^. 255 ..^.
cat: /mnt/file_2: Permission denied
cat: /mnt/file_3: Permission denied
[025]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[026]# succeeded.
         do_tag_write /mnt 0 .... 1 ..^. 255 ..^.
tee: /mnt/file_2: Permission denied
tee: /mnt/file_3: Permission denied
[027]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[028]# succeeded.
         do_tag_change /mnt 200 201 256 254 777
         change /mnt/file_1: 200
         change /mnt/file_2: 201
         change /mnt/file_3: 256
         change /mnt/file_4: 254
         change /mnt/file_5: 777
[033]# succeeded.
         do_tag_verify /mnt 200 201 256 254 777
         verify /mnt/file_1: 200 = 200
         verify /mnt/file_2: 201 = 201
         verify /mnt/file_3: 256 = 256
         verify /mnt/file_4: 254 = 254
         verify /mnt/file_5: 777 = 777
[034]# succeeded.
         do_tag_read /mnt 200 ..^.
cat: /mnt/file_1: Permission denied
[035]# succeeded.
         do_tag_write /mnt 200 ..^. 201 ..^.
tee: /mnt/file_1: Permission denied
tee: /mnt/file_2: Permission denied
[037]# succeeded.
         do_tag_read /mnt 200 ....
[045]# succeeded.
         do_tag_write /mnt 200 .... 201 ....
[047]# succeeded.
xattr related tests ...
         mount -t ext2 -o rw /dev/vserverpool/testcq /mnt 3>&2
[101]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)?(b)ui?([c-])-
         verify /mnt/dir_12544: -+(-)?(b)ui?([c-])- = ----buic-
[103]# succeeded.
         do_xattr_barrier /mnt /mnt/dir_12544 ...
         chmod +x /mnt/dir_12544
         vcontext --migrate --xid 1 -- chmod +x /mnt/dir_12544
         vcontext --create --xid 2 -- chmod +x /mnt/dir_12544
New security context is 2
[104]# succeeded.
         vcontext --create --xid 2 -- chattr +i /mnt/dir_12544
New security context is 2
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)?(b)uI?([c-])-
         verify /mnt/dir_12544: -+(-)?(b)uI?([c-])- = ----buIc-
[106]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/dir_12544 -+(-)-i-+(-)?([AEe])+(-)
         verify /mnt/dir_12544: -+(-)-i-+(-)?([AEe])+(-) = ----i-----------
[107]# succeeded.
         vcontext --create --xid 2 -- chattr -i /mnt/dir_12544
New security context is 2
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)?(b)ui?([c-])-
         verify /mnt/dir_12544: -+(-)?(b)ui?([c-])- = ----buic-
[109]# succeeded.
         setattr --barrier /mnt/dir_12544
[112]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-Bui?([c-])-
         verify /mnt/dir_12544: -+(-)-Bui?([c-])- = ----Buic-
[113]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/dir_12544 -+(-)?([Ae])+(-)
         verify /mnt/dir_12544: -+(-)?([Ae])+(-) = ----------------
[114]# succeeded.
         vcontext --create --xid 2 -- chattr =i /mnt/dir_12544
New security context is 2
chattr: Permission denied while reading flags on /mnt/dir_12544
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-Bui?([c-])-
         verify /mnt/dir_12544: -+(-)-Bui?([c-])- = ----Buic-
[115]# succeeded.
         do_xattr_barrier /mnt /mnt/dir_12544 ..^
         chmod +x /mnt/dir_12544
         vcontext --migrate --xid 1 -- chmod +x /mnt/dir_12544
         vcontext --create --xid 2 -- chmod +x /mnt/dir_12544
New security context is 2
chmod: changing permissions of `/mnt/dir_12544': Permission denied
[116]# succeeded.
         setattr --~barrier /mnt/dir_12544
[118]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-bui?([c-])-
         verify /mnt/dir_12544: -+(-)-bui?([c-])- = ----buic-
[119]# succeeded.
         setattr --iunlink /mnt/file_12544
[122]# succeeded.
         do_xattr_verify /mnt showattr /mnt/file_12544 -+(-)--UI?([C-])-
         verify /mnt/file_12544: -+(-)--UI?([C-])- = -----UIC-
[123]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/file_12544 
-+(-)-i-+(-)?([AEe])+(-)
         verify /mnt/file_12544: -+(-)-i-+(-)?([AEe])+(-) = ----i-----------
[124]# succeeded.
         ln /mnt/file_12544 /mnt/file_12544.y
[125]# succeeded.
         go_xid 2 rm -f /mnt/file_12544
         vcontext --create --xid 2 -- rm -f /mnt/file_12544
New security context is 2
[127]# succeeded.
         setattr --~iunlink /mnt/file_12544.x
[128]# succeeded.
         do_xattr_verify /mnt showattr /mnt/file_12544.x -+(-)--ui?([c-])-
         verify /mnt/file_12544.x: -+(-)--ui?([c-])- = -----uic-
[129]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-Bui?([c-])-
         verify /mnt/dir_12544: -+(-)-Bui?([c-])- = ----Buic-
[131]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/dir_12544 -+(-)?([Ae])+(-)
         verify /mnt/dir_12544: -+(-)?([Ae])+(-) = ----------------
[132]# succeeded.
         do_xattr_verify /mnt showattr /mnt/file_12544 -+(-)--UI?([C-])-
         verify /mnt/file_12544: -+(-)--UI?([C-])- = -----UIC-
[133]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/file_12544 
-+(-)-i-+(-)?([AEe])+(-)
         verify /mnt/file_12544: -+(-)-i-+(-)?([AEe])+(-) = ----i-----------
[134]# succeeded.
         do_xattr_cowbreak /mnt /mnt/file_12544 ...
         chmod +x /mnt/file_12544.0
         vcontext --migrate --xid 1 -- chmod +x /mnt/file_12544.1
         vcontext --create --xid 2 -- chmod +x /mnt/file_12544.2
New security context is 2
[135]# succeeded.
         umount /dev/vserverpool/testcq 3>&2
[138]# succeeded.
         do_fsck ext2 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 18/131072 files (0.0% non-contiguous), 
9009/524288 blocks
[139]# succeeded.
         umount /dev/vserverpool/testcq 3>&2
[148]# succeeded.
         do_fsck ext2 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 18/131072 files (0.0% non-contiguous), 
9009/524288 blocks
[149]# succeeded.
disk limit related tests ...
         do_dlimit_add /mnt 32 5 300 301 600 900
[201]# succeeded.
         do_dlimit_space /mnt 16 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/space-300*
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/space-300 
bs=1k count=16
16+0 records in
16+0 records out
16384 bytes (16 kB) copied, 0.000405565 s, 40.4 MB/s
[202]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = 16
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ 16
         verify 300: inode 1 = 5
         verify 300: 1 ~ 5
[203]# failed.
         do_dlimit_inodes /mnt 3 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/inodes-300*
         vtag --migrate --tag 300 -- touch /mnt/inodes-300-1
touch: cannot touch `/mnt/inodes-300-1': No space left on device
[204]# failed.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = 0
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ 0
         verify 300: inode 0 = 0
[205]# failed.
         do_dlimit_space /mnt 33 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/space-300
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/space-300 
bs=1k count=33
dd: writing `/mnt/space-300': Disk quota exceeded
1+0 records in
0+0 records out
0 bytes (0 B) copied, 8.894e-05 s, 0.0 kB/s
[206]# succeeded.
         do_dlimit_inodes /mnt 6 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/inodes-300*
         vtag --migrate --tag 300 -- touch /mnt/inodes-300-1
touch: cannot touch `/mnt/inodes-300-1': No space left on device
[207]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -16
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -16
         verify 300: inode 0 = 1
         verify 300: 0 ~ 1
[208]# failed.
         do_dlimit_add /mnt 128 10 300 301 600 900
[211]# succeeded.
         do_dlimit_cowtest /mnt 5 9 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/cow-300*
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/cow-300 
bs=1k count=5
5+0 records in
5+0 records out
5120 bytes (5.1 kB) copied, 2.8045e-05 s, 183 MB/s
         vtag --migrate --tag 300 -- ln /mnt/cow-300 /mnt/cow-300-0
         vtag --migrate --tag 300 -- touch /mnt/cow-300-0
         vtag --migrate --tag 300 -- ln /mnt/cow-300 /mnt/cow-300-1
         vtag --migrate --tag 300 -- touch /mnt/cow-300-1
         vtag --migrate --tag 300 -- ln /mnt/cow-300 /mnt/cow-300-2
         vtag --migrate --tag 300 -- touch /mnt/cow-300-2
touch: cannot touch `/mnt/cow-300-2': Disk quota exceeded
[212]# failed.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = 24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ 24
         verify 300: inode 3 = 10
         verify 300: 3 ~ 10
[213]# failed.
         do_dlimit_cowtest /mnt 43 3 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/cow-300 /mnt/cow-300-0 
/mnt/cow-300-1 /mnt/cow-300-2
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/cow-300 
bs=1k count=43
dd: writing `/mnt/cow-300': Disk quota exceeded
9+0 records in
8+0 records out
8192 bytes (8.2 kB) copied, 0.00010924 s, 75.0 MB/s
[222]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -16
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -16
         verify 300: inode -2 = 1
         verify 300: -2 ~ 1
[223]# failed.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -24
         verify 300: inode -3 = 0
         verify 300: -3 ~ 0
[231]# failed.
         do_dlimit_cowtest /mnt 3 43 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/cow-300*
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/cow-300 
bs=1k count=3
dd: opening `/mnt/cow-300': No space left on device
[232]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -24
         verify 300: inode -3 = 0
         verify 300: -3 ~ 0
[233]# failed.
         do_fsck ext2 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 19/131072 files (0.0% non-contiguous), 
9009/524288 blocks
[239]# succeeded.
         do_fsck ext2 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 19/131072 files (0.0% non-contiguous), 
9009/524288 blocks
[999]# succeeded.
---
testing ext3 filesystem ...
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 524288 blocks
26214 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
         32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
[000]# succeeded.
         mount -t ext3 -o rw /dev/vserverpool/testcq /mnt 3>&2
[001]# succeeded.
         mount -o remount,rw,tag /mnt 3>&2
mount: /mnt not mounted or bad option
[002]# succeeded.
tag related tests ...
         mount -t ext3 -o rw,tag /dev/vserverpool/testcq /mnt 3>&2
[011]# succeeded.
         do_tag_touch /mnt 0 1 255 256 666
         touch /mnt/file_1: 0
         vtag --migrate --tag 0 -- touch /mnt/file_1
         touch /mnt/file_2: 1
         vtag --migrate --tag 1 -- touch /mnt/file_2
         touch /mnt/file_3: 255
         vtag --migrate --tag 255 -- touch /mnt/file_3
         touch /mnt/file_4: 256
         vtag --migrate --tag 256 -- touch /mnt/file_4
         touch /mnt/file_5: 666
         vtag --migrate --tag 666 -- touch /mnt/file_5
[012]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[014]# succeeded.
         do_tag_read /mnt 0 .... 1 ..^. 255 ..^.
cat: /mnt/file_2: Permission denied
cat: /mnt/file_3: Permission denied
[015]# succeeded.
         umount /dev/vserverpool/testcq 3>&2
[019]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[020]# succeeded.
         mount -o remount,rw,tag /mnt 3>&2
[021]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[022]# succeeded.
         mount -o remount,rw /mnt 3>&2
[023]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[024]# succeeded.
         do_tag_read /mnt 0 .... 1 ..^. 255 ..^.
cat: /mnt/file_2: Permission denied
cat: /mnt/file_3: Permission denied
[025]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[026]# succeeded.
         do_tag_write /mnt 0 .... 1 ..^. 255 ..^.
tee: /mnt/file_2: Permission denied
tee: /mnt/file_3: Permission denied
[027]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[028]# succeeded.
         do_tag_change /mnt 200 201 256 254 777
         change /mnt/file_1: 200
         change /mnt/file_2: 201
         change /mnt/file_3: 256
         change /mnt/file_4: 254
         change /mnt/file_5: 777
[033]# succeeded.
         do_tag_verify /mnt 200 201 256 254 777
         verify /mnt/file_1: 200 = 200
         verify /mnt/file_2: 201 = 201
         verify /mnt/file_3: 256 = 256
         verify /mnt/file_4: 254 = 254
         verify /mnt/file_5: 777 = 777
[034]# succeeded.
         do_tag_read /mnt 200 ..^.
cat: /mnt/file_1: Permission denied
[035]# succeeded.
         do_tag_write /mnt 200 ..^. 201 ..^.
tee: /mnt/file_1: Permission denied
tee: /mnt/file_2: Permission denied
[037]# succeeded.
         do_tag_read /mnt 200 ....
[045]# succeeded.
         do_tag_write /mnt 200 .... 201 ....
[047]# succeeded.
xattr related tests ...
         mount -t ext3 -o rw /dev/vserverpool/testcq /mnt 3>&2
[101]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)?(b)ui?([c-])-
         verify /mnt/dir_12544: -+(-)?(b)ui?([c-])- = ----buic-
[103]# succeeded.
         do_xattr_barrier /mnt /mnt/dir_12544 ...
         chmod +x /mnt/dir_12544
         vcontext --migrate --xid 1 -- chmod +x /mnt/dir_12544
         vcontext --create --xid 2 -- chmod +x /mnt/dir_12544
New security context is 2
[104]# succeeded.
         vcontext --create --xid 2 -- chattr +i /mnt/dir_12544
New security context is 2
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)?(b)uI?([c-])-
         verify /mnt/dir_12544: -+(-)?(b)uI?([c-])- = ----buIc-
[106]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/dir_12544 -+(-)-i-+(-)?([AEe])+(-)
         verify /mnt/dir_12544: -+(-)-i-+(-)?([AEe])+(-) = ----i-----------
[107]# succeeded.
         vcontext --create --xid 2 -- chattr -i /mnt/dir_12544
New security context is 2
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)?(b)ui?([c-])-
         verify /mnt/dir_12544: -+(-)?(b)ui?([c-])- = ----buic-
[109]# succeeded.
         setattr --barrier /mnt/dir_12544
[112]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-Bui?([c-])-
         verify /mnt/dir_12544: -+(-)-Bui?([c-])- = ----Buic-
[113]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/dir_12544 -+(-)?([Ae])+(-)
         verify /mnt/dir_12544: -+(-)?([Ae])+(-) = ----------------
[114]# succeeded.
         vcontext --create --xid 2 -- chattr =i /mnt/dir_12544
New security context is 2
chattr: Permission denied while reading flags on /mnt/dir_12544
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-Bui?([c-])-
         verify /mnt/dir_12544: -+(-)-Bui?([c-])- = ----Buic-
[115]# succeeded.
         do_xattr_barrier /mnt /mnt/dir_12544 ..^
         chmod +x /mnt/dir_12544
         vcontext --migrate --xid 1 -- chmod +x /mnt/dir_12544
         vcontext --create --xid 2 -- chmod +x /mnt/dir_12544
New security context is 2
chmod: changing permissions of `/mnt/dir_12544': Permission denied
[116]# succeeded.
         setattr --~barrier /mnt/dir_12544
[118]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-bui?([c-])-
         verify /mnt/dir_12544: -+(-)-bui?([c-])- = ----buic-
[119]# succeeded.
         setattr --iunlink /mnt/file_12544
[122]# succeeded.
         do_xattr_verify /mnt showattr /mnt/file_12544 -+(-)--UI?([C-])-
         verify /mnt/file_12544: -+(-)--UI?([C-])- = -----UIC-
[123]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/file_12544 
-+(-)-i-+(-)?([AEe])+(-)
         verify /mnt/file_12544: -+(-)-i-+(-)?([AEe])+(-) = ----i-----------
[124]# succeeded.
         ln /mnt/file_12544 /mnt/file_12544.y
[125]# succeeded.
         go_xid 2 rm -f /mnt/file_12544
         vcontext --create --xid 2 -- rm -f /mnt/file_12544
New security context is 2
[127]# succeeded.
         setattr --~iunlink /mnt/file_12544.x
[128]# succeeded.
         do_xattr_verify /mnt showattr /mnt/file_12544.x -+(-)--ui?([c-])-
         verify /mnt/file_12544.x: -+(-)--ui?([c-])- = -----uic-
[129]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-Bui?([c-])-
         verify /mnt/dir_12544: -+(-)-Bui?([c-])- = ----Buic-
[131]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/dir_12544 -+(-)?([Ae])+(-)
         verify /mnt/dir_12544: -+(-)?([Ae])+(-) = ----------------
[132]# succeeded.
         do_xattr_verify /mnt showattr /mnt/file_12544 -+(-)--UI?([C-])-
         verify /mnt/file_12544: -+(-)--UI?([C-])- = -----UIC-
[133]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/file_12544 
-+(-)-i-+(-)?([AEe])+(-)
         verify /mnt/file_12544: -+(-)-i-+(-)?([AEe])+(-) = ----i-----------
[134]# succeeded.
         do_xattr_cowbreak /mnt /mnt/file_12544 ...
         chmod +x /mnt/file_12544.0
         vcontext --migrate --xid 1 -- chmod +x /mnt/file_12544.1
         vcontext --create --xid 2 -- chmod +x /mnt/file_12544.2
New security context is 2
[135]# succeeded.
         umount /dev/vserverpool/testcq 3>&2
[138]# succeeded.
         do_fsck ext3 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 18/131072 files (0.0% non-contiguous), 
25410/524288 blocks
[139]# succeeded.
         umount /dev/vserverpool/testcq 3>&2
[148]# succeeded.
         do_fsck ext3 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 18/131072 files (0.0% non-contiguous), 
25410/524288 blocks
[149]# succeeded.
disk limit related tests ...
         do_dlimit_add /mnt 32 5 300 301 600 900
[201]# succeeded.
         do_dlimit_space /mnt 16 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/space-300*
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/space-300 
bs=1k count=16
16+0 records in
16+0 records out
16384 bytes (16 kB) copied, 0.00049718 s, 33.0 MB/s
[202]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = 16
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ 16
         verify 300: inode 1 = 5
         verify 300: 1 ~ 5
[203]# failed.
         do_dlimit_inodes /mnt 3 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/inodes-300*
         vtag --migrate --tag 300 -- touch /mnt/inodes-300-1
touch: cannot touch `/mnt/inodes-300-1': No space left on device
[204]# failed.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = 0
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ 0
         verify 300: inode 0 = 0
[205]# failed.
         do_dlimit_space /mnt 33 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/space-300
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/space-300 
bs=1k count=33
dd: writing `/mnt/space-300': Disk quota exceeded
1+0 records in
0+0 records out
0 bytes (0 B) copied, 9.3875e-05 s, 0.0 kB/s
[206]# succeeded.
         do_dlimit_inodes /mnt 6 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/inodes-300*
         vtag --migrate --tag 300 -- touch /mnt/inodes-300-1
touch: cannot touch `/mnt/inodes-300-1': No space left on device
[207]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -16
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -16
         verify 300: inode 0 = 1
         verify 300: 0 ~ 1
[208]# failed.
         do_dlimit_add /mnt 128 10 300 301 600 900
[211]# succeeded.
         do_dlimit_cowtest /mnt 5 9 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/cow-300*
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/cow-300 
bs=1k count=5
5+0 records in
5+0 records out
5120 bytes (5.1 kB) copied, 3.1101e-05 s, 165 MB/s
         vtag --migrate --tag 300 -- ln /mnt/cow-300 /mnt/cow-300-0
         vtag --migrate --tag 300 -- touch /mnt/cow-300-0
         vtag --migrate --tag 300 -- ln /mnt/cow-300 /mnt/cow-300-1
         vtag --migrate --tag 300 -- touch /mnt/cow-300-1
         vtag --migrate --tag 300 -- ln /mnt/cow-300 /mnt/cow-300-2
         vtag --migrate --tag 300 -- touch /mnt/cow-300-2
touch: cannot touch `/mnt/cow-300-2': Disk quota exceeded
[212]# failed.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = 24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ 24
         verify 300: inode 3 = 10
         verify 300: 3 ~ 10
[213]# failed.
         do_dlimit_cowtest /mnt 43 3 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/cow-300 /mnt/cow-300-0 
/mnt/cow-300-1 /mnt/cow-300-2
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/cow-300 
bs=1k count=43
dd: writing `/mnt/cow-300': Disk quota exceeded
9+0 records in
8+0 records out
8192 bytes (8.2 kB) copied, 0.000144628 s, 56.6 MB/s
[222]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -16
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -16
         verify 300: inode -2 = 1
         verify 300: -2 ~ 1
[223]# failed.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -24
         verify 300: inode -3 = 0
         verify 300: -3 ~ 0
[231]# failed.
         do_dlimit_cowtest /mnt 3 43 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/cow-300*
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/cow-300 
bs=1k count=3
dd: opening `/mnt/cow-300': No space left on device
[232]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -24
         verify 300: inode -3 = 0
         verify 300: -3 ~ 0
[233]# failed.
         do_fsck ext3 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 19/131072 files (0.0% non-contiguous), 
25410/524288 blocks
[239]# succeeded.
         do_fsck ext3 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 19/131072 files (0.0% non-contiguous), 
25410/524288 blocks
[999]# succeeded.
---
testing ext4 filesystem ...
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 524288 blocks
26214 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
         32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
[000]# succeeded.
         mount -t ext4 -o rw /dev/vserverpool/testcq /mnt 3>&2
[001]# succeeded.
         mount -o remount,rw,tag /mnt 3>&2
mount: /mnt not mounted or bad option
[002]# succeeded.
tag related tests ...
         mount -t ext4 -o rw,tag /dev/vserverpool/testcq /mnt 3>&2
[011]# succeeded.
         do_tag_touch /mnt 0 1 255 256 666
         touch /mnt/file_1: 0
         vtag --migrate --tag 0 -- touch /mnt/file_1
         touch /mnt/file_2: 1
         vtag --migrate --tag 1 -- touch /mnt/file_2
         touch /mnt/file_3: 255
         vtag --migrate --tag 255 -- touch /mnt/file_3
         touch /mnt/file_4: 256
         vtag --migrate --tag 256 -- touch /mnt/file_4
         touch /mnt/file_5: 666
         vtag --migrate --tag 666 -- touch /mnt/file_5
[012]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[014]# succeeded.
         do_tag_read /mnt 0 .... 1 ..^. 255 ..^.
cat: /mnt/file_2: Permission denied
cat: /mnt/file_3: Permission denied
[015]# succeeded.
         umount /dev/vserverpool/testcq 3>&2
[019]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[020]# succeeded.
         mount -o remount,rw,tag /mnt 3>&2
[021]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[022]# succeeded.
         mount -o remount,rw /mnt 3>&2
[023]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[024]# succeeded.
         do_tag_read /mnt 0 .... 1 ..^. 255 ..^.
cat: /mnt/file_2: Permission denied
cat: /mnt/file_3: Permission denied
[025]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[026]# succeeded.
         do_tag_write /mnt 0 .... 1 ..^. 255 ..^.
tee: /mnt/file_2: Permission denied
tee: /mnt/file_3: Permission denied
[027]# succeeded.
         do_tag_verify /mnt 0 1 255 256 666
         verify /mnt/file_1: 0 = 0
         verify /mnt/file_2: 1 = 1
         verify /mnt/file_3: 255 = 255
         verify /mnt/file_4: 256 = 256
         verify /mnt/file_5: 666 = 666
[028]# succeeded.
         do_tag_change /mnt 200 201 256 254 777
         change /mnt/file_1: 200
         change /mnt/file_2: 201
         change /mnt/file_3: 256
         change /mnt/file_4: 254
         change /mnt/file_5: 777
[033]# succeeded.
         do_tag_verify /mnt 200 201 256 254 777
         verify /mnt/file_1: 200 = 200
         verify /mnt/file_2: 201 = 201
         verify /mnt/file_3: 256 = 256
         verify /mnt/file_4: 254 = 254
         verify /mnt/file_5: 777 = 777
[034]# succeeded.
         do_tag_read /mnt 200 ..^.
cat: /mnt/file_1: Permission denied
[035]# succeeded.
         do_tag_write /mnt 200 ..^. 201 ..^.
tee: /mnt/file_1: Permission denied
tee: /mnt/file_2: Permission denied
[037]# succeeded.
         do_tag_read /mnt 200 ....
[045]# succeeded.
         do_tag_write /mnt 200 .... 201 ....
[047]# succeeded.
xattr related tests ...
         mount -t ext4 -o rw /dev/vserverpool/testcq /mnt 3>&2
[101]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)?(b)ui?([c-])-
         verify /mnt/dir_12544: -+(-)?(b)ui?([c-])- = ----buic-
[103]# succeeded.
         do_xattr_barrier /mnt /mnt/dir_12544 ...
         chmod +x /mnt/dir_12544
         vcontext --migrate --xid 1 -- chmod +x /mnt/dir_12544
         vcontext --create --xid 2 -- chmod +x /mnt/dir_12544
New security context is 2
[104]# succeeded.
         vcontext --create --xid 2 -- chattr +i /mnt/dir_12544
New security context is 2
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)?(b)uI?([c-])-
         verify /mnt/dir_12544: -+(-)?(b)uI?([c-])- = ----buIc-
[106]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/dir_12544 -+(-)-i-+(-)?([AEe])+(-)
         verify /mnt/dir_12544: -+(-)-i-+(-)?([AEe])+(-) = ----i--------e--
[107]# succeeded.
         vcontext --create --xid 2 -- chattr -i /mnt/dir_12544
New security context is 2
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)?(b)ui?([c-])-
         verify /mnt/dir_12544: -+(-)?(b)ui?([c-])- = ----buic-
[109]# succeeded.
         setattr --barrier /mnt/dir_12544
[112]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-Bui?([c-])-
         verify /mnt/dir_12544: -+(-)-Bui?([c-])- = ----Buic-
[113]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/dir_12544 -+(-)?([Ae])+(-)
         verify /mnt/dir_12544: -+(-)?([Ae])+(-) = -------------e--
[114]# succeeded.
         vcontext --create --xid 2 -- chattr =i /mnt/dir_12544
New security context is 2
chattr: Permission denied while reading flags on /mnt/dir_12544
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-Bui?([c-])-
         verify /mnt/dir_12544: -+(-)-Bui?([c-])- = ----Buic-
[115]# succeeded.
         do_xattr_barrier /mnt /mnt/dir_12544 ..^
         chmod +x /mnt/dir_12544
         vcontext --migrate --xid 1 -- chmod +x /mnt/dir_12544
         vcontext --create --xid 2 -- chmod +x /mnt/dir_12544
New security context is 2
chmod: changing permissions of `/mnt/dir_12544': Permission denied
[116]# succeeded.
         setattr --~barrier /mnt/dir_12544
[118]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-bui?([c-])-
         verify /mnt/dir_12544: -+(-)-bui?([c-])- = ----buic-
[119]# succeeded.
         setattr --iunlink /mnt/file_12544
[122]# succeeded.
         do_xattr_verify /mnt showattr /mnt/file_12544 -+(-)--UI?([C-])-
         verify /mnt/file_12544: -+(-)--UI?([C-])- = -----UIC-
[123]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/file_12544 
-+(-)-i-+(-)?([AEe])+(-)
         verify /mnt/file_12544: -+(-)-i-+(-)?([AEe])+(-) = ----i--------e--
[124]# succeeded.
         ln /mnt/file_12544 /mnt/file_12544.y
[125]# succeeded.
         go_xid 2 rm -f /mnt/file_12544
         vcontext --create --xid 2 -- rm -f /mnt/file_12544
New security context is 2
[127]# succeeded.
         setattr --~iunlink /mnt/file_12544.x
[128]# succeeded.
         do_xattr_verify /mnt showattr /mnt/file_12544.x -+(-)--ui?([c-])-
         verify /mnt/file_12544.x: -+(-)--ui?([c-])- = -----uic-
[129]# succeeded.
         do_xattr_verify /mnt showattr /mnt/dir_12544 -+(-)-Bui?([c-])-
         verify /mnt/dir_12544: -+(-)-Bui?([c-])- = ----Buic-
[131]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/dir_12544 -+(-)?([Ae])+(-)
         verify /mnt/dir_12544: -+(-)?([Ae])+(-) = -------------e--
[132]# succeeded.
         do_xattr_verify /mnt showattr /mnt/file_12544 -+(-)--UI?([C-])-
         verify /mnt/file_12544: -+(-)--UI?([C-])- = -----UIC-
[133]# succeeded.
         do_xattr_verify /mnt lsattr /mnt/file_12544 
-+(-)-i-+(-)?([AEe])+(-)
         verify /mnt/file_12544: -+(-)-i-+(-)?([AEe])+(-) = ----i--------e--
[134]# succeeded.
         do_xattr_cowbreak /mnt /mnt/file_12544 ...
         chmod +x /mnt/file_12544.0
         vcontext --migrate --xid 1 -- chmod +x /mnt/file_12544.1
         vcontext --create --xid 2 -- chmod +x /mnt/file_12544.2
New security context is 2
[135]# succeeded.
         umount /dev/vserverpool/testcq 3>&2
[138]# succeeded.
         do_fsck ext4 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 18/131072 files (0.0% non-contiguous), 
25393/524288 blocks
[139]# succeeded.
         umount /dev/vserverpool/testcq 3>&2
[148]# succeeded.
         do_fsck ext4 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 18/131072 files (0.0% non-contiguous), 
25393/524288 blocks
[149]# succeeded.
disk limit related tests ...
         do_dlimit_add /mnt 32 5 300 301 600 900
[201]# succeeded.
         do_dlimit_space /mnt 16 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/space-300*
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/space-300 
bs=1k count=16
16+0 records in
16+0 records out
16384 bytes (16 kB) copied, 5.2511e-05 s, 312 MB/s
[202]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = 16
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ 16
         verify 300: inode 1 = 5
         verify 300: 1 ~ 5
[203]# failed.
         do_dlimit_inodes /mnt 3 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/inodes-300*
         vtag --migrate --tag 300 -- touch /mnt/inodes-300-1
touch: cannot touch `/mnt/inodes-300-1': No space left on device
[204]# failed.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = 0
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ 0
         verify 300: inode 0 = 0
[205]# failed.
         do_dlimit_space /mnt 33 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/space-300
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/space-300 
bs=1k count=33
dd: writing `/mnt/space-300': No space left on device
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0750128 s, 0.0 kB/s
[206]# succeeded.
         do_dlimit_inodes /mnt 6 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/inodes-300*
         vtag --migrate --tag 300 -- touch /mnt/inodes-300-1
touch: cannot touch `/mnt/inodes-300-1': No space left on device
[207]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -16
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -16
         verify 300: inode 0 = 5
         verify 300: 0 ~ 5
[208]# failed.
         do_dlimit_add /mnt 128 10 300 301 600 900
[211]# succeeded.
         do_dlimit_cowtest /mnt 5 9 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/cow-300*
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/cow-300 
bs=1k count=5
5+0 records in
5+0 records out
5120 bytes (5.1 kB) copied, 2.3823e-05 s, 215 MB/s
         vtag --migrate --tag 300 -- ln /mnt/cow-300 /mnt/cow-300-0
         vtag --migrate --tag 300 -- touch /mnt/cow-300-0
         vtag --migrate --tag 300 -- ln /mnt/cow-300 /mnt/cow-300-1
         vtag --migrate --tag 300 -- touch /mnt/cow-300-1
         vtag --migrate --tag 300 -- ln /mnt/cow-300 /mnt/cow-300-2
         vtag --migrate --tag 300 -- touch /mnt/cow-300-2
touch: cannot touch `/mnt/cow-300-2': No space left on device
[212]# failed.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = 24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ 24
         verify 300: inode 3 = 14
         verify 300: 3 ~ 14
[213]# failed.
         do_dlimit_cowtest /mnt 43 3 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/cow-300 /mnt/cow-300-0 
/mnt/cow-300-1 /mnt/cow-300-2
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/cow-300 
bs=1k count=43
dd: opening `/mnt/cow-300': No space left on device
[222]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -24
         verify 300: inode -3 = -3
[223]# failed.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -24
         verify 300: inode -3 = -3
[231]# failed.
         do_dlimit_cowtest /mnt 3 43 300 301 600 900
         vtag --migrate --tag 300 -- rm -f /mnt/cow-300*
         vtag --migrate --tag 300 -- dd if=/dev/zero of=/mnt/cow-300 
bs=1k count=3
dd: opening `/mnt/cow-300': No space left on device
[232]# succeeded.
         do_dlimit_verify /mnt 300 301 600 900
         verify 300: space - = -24
testfs.sh: line 313: [: -: integer expression expected
         verify 300: - ~ -24
         verify 300: inode -3 = -3
[233]# failed.
         do_fsck ext4 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 19/131072 files (0.0% non-contiguous), 
25393/524288 blocks
[239]# succeeded.
         do_fsck ext4 /dev/vserverpool/testcq 3>&2
/dev/vserverpool/testcq: 19/131072 files (0.0% non-contiguous), 
25393/524288 blocks
[999]# succeeded.
---
testing xfs filesystem ...
meta-data=/dev/vserverpool/testcq isize=256    agcount=8, agsize=65536 blks
          =                       sectsz=512   attr=2, projid32bit=0
data     =                       bsize=4096   blocks=524288, imaxpct=25
          =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=4096   blocks=2560, version=2
          =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
[000]# succeeded.
         mount -t xfs -o rw /dev/vserverpool/testcq /mnt 3>&2
[001]# succeeded.
         mount -o remount,rw,tag /mnt 3>&2
[002]# failed.
testfs.sh: line 27: return: -3: invalid option
return: usage: return [n]
testfs.sh: line 56: return: -3: invalid option
return: usage: return [n]
tag related tests ...
         mount -t xfs -o rw,tag /dev/vserverpool/testcq /mnt 3>&2
mount: wrong fs type, bad option, bad superblock on 
/dev/mapper/vserverpool-testcq,
        missing codepage or helper program, or other error
        In some cases useful info is found in syslog - try
        dmesg | tail  or so
[011]# failed.
---
------------------------------------------------------------------------------------------------------------------------------------------
/root%(root)> bash testme.sh
Linux-VServer Test [V0.17] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
Linux 3.18.10-vs2.3.7.4 #1 SMP Mon Mar 30 17:39:15 CEST 2015 x86_64
Ea 0.30.216 236/glibc (DSa) <compat,v11,fscompat,v13,net,v21,v22,v23,netv2>
VCI: 0002:0308 236 13013f11 (TbsPWD)
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.
regards,
Ghislain.
Received on Mon Mar 30 18:09:37 2015
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 30 Mar 2015 - 18:09:37 BST by hypermail 2.1.8