== sanity test 27J: basic ops on file with foreign LOV === 17:19:19 (1713388759) striped dir -i1 -c2 -H all_char /mnt/lustre/d27J.sanity lfs setstripe setstripe: hex flags must be specified with --foreign option 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] lfs setstripe setstripe: invalid hex flags 'foo' 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] lfs setstripe setstripe: invalid hex flags '0xffffffff' 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] lov_foreign_magic: 0x0BD70BD0 lov_xattr_size: 89 lov_foreign_size: 73 lov_foreign_type: 1 lov_foreign_flags: 0x0000DA08 lfm_magic: 0x0BD70BD0 lfm_length: 73 lfm_type: 0x00000000 (none) lfm_flags: 0x0000DA08 lfm_value: '61189eda-8141-432a-be89-0398fba227e1@846b0656-2a2d-4d48-8a90-fabfdfd94559' lfs setstripe: setstripe error for '/mnt/lustre/d27J.sanity/f27J.sanity': stripe already set lfs setstripe: setstripe error for '/mnt/lustre/d27J.sanity/f27J.sanity2': stripe already set cat: /mnt/lustre/d27J.sanity/f27J.sanity: No data available cat: /mnt/lustre/d27J.sanity/f27J.sanity2: No data available cat: write error: Bad file descriptor cat: write error: Bad file descriptor