Lustre: Using lfs to change strip size
Jump to navigation
Jump to search
Get/Set Strip Size
You can use lfs on client to getstripe size on files:
[root@comp16 ~]$ lfs getstripe /mnt/lustre/
/mnt/lustre/
stripe_count: 1 stripe_size: 1048576 stripe_offset: -1
/mnt/lustre/iorfile.00000001
lmm_stripe_count: 1
lmm_stripe_size: 1048576
lmm_stripe_offset: 0
obdidx objid objid group
0 19 0x13 0Set the stripe size and stripe count
# Stripe count of 1 and stripe size of 1M
lfs setstripe /mnt/lustre/ -c 2 -s 1M
# Stripe count of 2 and stripe size of 4M
lfs setstripe /mnt/lustre/ -c 2 -s 4M