X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=blobdiff_plain;f=README.config-sections;h=4f1a4dc6df7a3ae9c24545f971d3104d6f84302a;hp=4d60272be0d410e71cec2922c76ddee618dfc599;hb=175bb55960ba9d7e70138fb24b27024011c9c3c1;hpb=f8e4f532f18d7517430d9849bfc042305d7f7f4d diff --git a/README.config-sections b/README.config-sections index 4d60272b..4f1a4dc6 100644 --- a/README.config-sections +++ b/README.config-sections @@ -36,6 +36,14 @@ For every section xfstests will run with specified options and will produce separate results in the '$RESULT_BASE/$section_name' directory. +Different mount options +----------------------- + +Specifying different mount options in difference config sections is allowed. +When TEST_FS_MOUNT_OPTS differs in the following section TEST_DEV will be +remounted with new TEST_FS_MOUNT_OPTS automatically before running the test. + + Multiple file systems --------------------- @@ -43,12 +51,42 @@ Having different file systems in different config sections is allowed. When FSTYP differs in the following section the FSTYP file system will be created automatically before running the test. -Note that if MOUNT_OPTIONS, MKFS_OPTIONS, or FSCK_OPTIONS are not directly -specified in the section it will be reset to the default for a given file -system. +Note that if TEST_FS_MOUNT_OPTS, MOUNT_OPTIONS, MKFS_OPTIONS, or FSCK_OPTIONS +are not directly specified in the section it will be reset to the default for a +given file system. You can also force the file system recreation by specifying RECREATE_TEST_DEV. +Run specified section only +-------------------------- + +Specifying '-s' argument with section name will run only the section +specified. The '-s' argument can be specified multiple times to allow multiple +sections to be run. + +The options are still carried between section, that includes the sections +which are not going to be run. So you can do something like + +[ext4] +TEST_DEV=/dev/sda1 +TEST_DIR=/mnt/test +SCRATCH_DEV=/dev/sdb1 +SCRATCH_MNT=/mnt/test1 +FSTYP=ext4 + +[xfs] +FSTYP=xfs + +[btrfs] +FSTYP=btrfs + + +and run + +./check -s xfs -s btrfs + +to check xfs and btrfs only. All the devices and mounts are still going to +be parsed from the section [ext4]. Example ------- @@ -77,3 +115,16 @@ FSTYP=xfs [ext3_filesystem] FSTYP=ext3 MOUNT_OPTIONS="-o noatime" + +[cephfs] +TEST_DIR=/mnt/test +TEST_DEV=192.168.14.1:6789:/ +TEST_FS_MOUNT_OPTS="-o name=admin,secret=AQDuEBtYKEYRINGSECRETriSC8YJGDZsQHcr7g==" +FSTYP="ceph" + +[glusterfs] +FSTYP=glusterfs +TEST_DIR=/mnt/gluster/test +TEST_DEV=192.168.1.1:testvol +SCRATCH_MNT=/mnt/gluster/scratch +SCRATCH_DEV=192.168.1.1:scratchvol