== sanity test 27f: setstripe with bad stripe size (should return error) ========================================================== 17:06:49 (1713388009) lfs setstripe setstripe: invalid stripe size '100' To create a file with specified striping/composite layout, or create/replace the default layout on an existing directory: usage: setstripe [--component-end|-E COMP_END] [--copy=LUSTRE_SRC] [--extension-size|--ext-size|-z SIZE] [--help|-h] [--layout|-L PATTERN] [--layout|-L PATTERN] [--mirror-count|-N[MIRROR_COUNT]] [--ost|-o OST_INDICES] [--overstripe-count|-C STRIPE_COUNT] [--pool|-p POOL_NAME] [--stripe-count|-c STRIPE_COUNT] [--stripe-index|-i START_OST_IDX] [--stripe-size|-S STRIPE_SIZE] [--yaml|-y YAML_TEMPLATE_FILE] [--mode MODE] or To add component(s) to an existing composite file: usage: setstripe --component-add [--component-end|-E COMP_END] [--copy=LUSTRE_SRC] [--extension-size|--ext-size|-z SIZE] [--help|-h] [--layout|-L PATTERN] [--layout|-L PATTERN] [--mirror-count|-N[MIRROR_COUNT]] [--ost|-o OST_INDICES] [--overstripe-count|-C STRIPE_COUNT] [--pool|-p POOL_NAME] [--stripe-count|-c STRIPE_COUNT] [--stripe-index|-i START_OST_IDX] [--stripe-size|-S STRIPE_SIZE] [--yaml|-y YAML_TEMPLATE_FILE] To totally delete the default striping from an existing directory: usage: setstripe [--delete|-d] or To create a mirrored file or set s default mirror layout on a directory: usage: setstripe {--mirror-count|-N}[MIRROR_COUNT] [SETSTRIPE_OPTIONS] or To delete the last component(s) from an existing composite file (note that this will also delete any data in those components): usage: setstripe --component-del [--component-id|-I COMP_ID] [--component-flags|-F COMP_FLAGS] COMP_ID: Unique component ID to delete COMP_FLAGS: 'init' indicating all instantiated components '^init' indicating all uninstantiated components -I and -F cannot be specified at the same time or To set or clear flags on a specific component (note that this command can only be applied to mirrored files: usage: setstripe --comp-set {-I COMP_ID|--comp-flags=COMP_FLAGS} or To create a file with a foreign (free format) layout: usage: setstripe --foreign[=FOREIGN_TYPE] --xattr|-x LAYOUT_STRING [--flags HEX] [--mode MODE] Can't lstat /mnt/lustre/d27f.sanity/f27f.sanity: No such file or directory 4+0 records in 4+0 records out 16384 bytes (16 kB) copied, 0.00491119 s, 3.3 MB/s /mnt/lustre/d27f.sanity/f27f.sanity lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 obdidx objid objid group 0 100 0x64 0