Hello!

   In our service,  we use lustre for a huge storage. we don't need high
performance,
but we need easy storage expansibility. In current lustre version(1.5.97) ,
wo noticed
that if OSTs have different capacity, or OSTs were added to system in
different time
(e.g when some OSTs used rate up to 90%, we add some new OSTs), in these
condition,
lustre  may  prompt storage is full, but actually some OSTs still have free
capacity while
some OSTs if full.
   We hope that if an OST's used rate up to 90% or 95%, it can be marked
FULL, and
avoid to use this OST. we plan to add a state FULL in structure
lov_tgt_desc, when the
OST  used  rate up to  90% or 95%, set its state to FULL, and when create
new object,
don't use these FULL OST.
   We want to know how to calculate used rate of a  OST,  is it like this:
       used rate = lov->lov_tgts[i]->ltd_exp->exp_obd->obd_osfs.os_bavail /
ov->lov_tgts[i]->ltd_exp->exp_obd->obd_osfs.os_blocks  ??

Thanks!
_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to