Re: testing a crush rule against an out osd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 Sep 2015, Dan van der Ster wrote:
> On Wed, Sep 2, 2015 at 4:11 PM, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> > On Wed, 2 Sep 2015, Dan van der Ster wrote:
> >> ...
> >> Normally I use crushtool --test --show-mappings to test rules, but
> >> AFAICT it doesn't let you simulate an out osd, i.e. with reweight = 0.
> >> Any ideas how to test this situation without uploading a crushmap to a
> >> running cluster?
> >
> > crushtool --test --weight <osdid> 0 ...
> >
> 
> Oh thanks :)
> 
> I can't reproduce my real life issue with crushtool though. Still looking ...

osdmaptool has a --test-map-pg option that may be easier...

sage
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux