[lustre-discuss] OST not being used

Alastair Basden a.g.basden at durham.ac.uk
Mon Jun 21 07:43:06 PDT 2021


Hi,

I'm trying to specify a particular OST to be used with:
lfs setstripe --stripe-index 7 myfile.dat

However, a lfs getstripe reveals that it hasn't managed to use this OST:
myfile.dat
lmm_stripe_count:  1
lmm_stripe_size:   1048576
lmm_pattern:       raid0
lmm_layout_gen:    0
lmm_stripe_offset: 8
 	obdidx		 objid		 objid		 group
 	     8	          7503	       0x1d4f	             0

So, I assume the OST has been marked as unusable for some reason - how do 
I find out why, and set it back to usable?

A:
lctl get_param osc.fsname-*.active
gives 1 for all OSTs.

Likewise:
lctl get_param osp.fsname-OST*.max_create_count
gives 20000 for all OSTs.

What else should I check?

Thanks,
Alastair.





More information about the lustre-discuss mailing list