Re: ceph osd crush add - uknown command crush
On Thursday, June 21, 2012 at 11:12 AM, Barry Pederson wrote: On Jun 20, 2012, at 4:59 PM, Gregory Farnum wrote: On Wed, Jun 20, 2012 at 2:53 PM, Travis Rhoden trho...@gmail.com (mailto:trho...@gmail.com) wrote: This incorrect syntax is still published in the docs at http://ceph.com/docs/master/ops/manage/crush/#adjusting-crush Are the docs that end up on that page in GitHub? I'd be happy to start making fixes and issuing pull-request. I've run into a few gotchas when following the commands on those pages. Yes, they are in git! All the docs are generated from the sources in doc/ under the same hierarchy as on the website. The page you're interested in is at {ceph_root}/doc/ops/manage/crush.rst. I'm playing with ceph, and just now adding a 2nd node to an existing cluster, and unfortunately still see the old commands on that webpage. Can somebody give be a quick hint what the new equivalent to ceph osd crush add 123 osd.123 1.0 pool=default rack=rackbar host=hostfoo You're looking for ceph osd crush set…. The docs have been updated now, thanks to a pull request from Travis. :) -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: ceph osd crush add - uknown command crush
On Wed, Jun 20, 2012 at 2:53 PM, Travis Rhoden trho...@gmail.com wrote: This incorrect syntax is still published in the docs at http://ceph.com/docs/master/ops/manage/crush/#adjusting-crush Are the docs that end up on that page in GitHub? I'd be happy to start making fixes and issuing pull-request. I've run into a few gotchas when following the commands on those pages. Yes, they are in git! All the docs are generated from the sources in doc/ under the same hierarchy as on the website. The page you're interested in is at {ceph_root}/doc/ops/manage/crush.rst. - Travis On Tue, May 22, 2012 at 4:27 PM, Greg Farnum g...@inktank.com wrote: On Tuesday, May 22, 2012 at 1:15 PM, Sławomir Skowron wrote: /usr/bin/ceph -v ceph version 0.47.1 (commit:f5a9404445e2ed5ec2ee828aa53d73d4a002f7a5) root@obs-10-177-66-4:/# /usr/bin/ceph osd crush add 1 osd.1 1.0 pool=default rack=unknownrack host=obs-10-177-66-4 root@obs-10-177-66-4:/# unknown command crush Something has changed (there is no change in doc) or it's bug ?? Gah, something changed. Use ceph osd crush set... -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: ceph osd crush add - uknown command crush
On Tuesday, May 22, 2012 at 1:15 PM, Sławomir Skowron wrote: /usr/bin/ceph -v ceph version 0.47.1 (commit:f5a9404445e2ed5ec2ee828aa53d73d4a002f7a5) root@obs-10-177-66-4:/# /usr/bin/ceph osd crush add 1 osd.1 1.0 pool=default rack=unknownrack host=obs-10-177-66-4 root@obs-10-177-66-4:/# unknown command crush Something has changed (there is no change in doc) or it's bug ?? Gah, something changed. Use ceph osd crush set… -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html