On 01/31/2013 12:16 PM, Sage Weil wrote:
On Thu, 31 Jan 2013, Stefan Priebe - Profihost AG wrote:
Hi,
great to see that we now have op/s and B/s output in ceph -w / ceph -s.
But is it reading or writing or both? Also if there are not ops the ;
and the rest of the line is missing instead of printing zeros. This
makes parsing harder.
See:
2013-01-31 10:46:42.045874 mon.0 [INF] pgmap v4037097: 8128 pgs: 8128
active+clean; 172 GB data, 366 GB used, 4970 GB / 5336 GB avail; 8086B/s
wr, 1op/s
2013-01-31 10:46:43.056919 mon.0 [INF] pgmap v4037098: 8128 pgs: 8128
active+clean; 172 GB data, 366 GB used, 4970 GB / 5336 GB avail
This output is meant for a human. If you need to parse it, we should be
adding a --format=json option for ceph -s and/or -w so that's not
necessary...
sage
One of the timecheck-related patches on master introduced the
possibility of outputting 'health' and 'status' in json.
'ceph status --format=json' however is only outputting the same info as
its plain counterpart, but with a different entry for each map, sort of
like this:
{
"monmap": "3 mons at
{a=10.0.0.1:6789/0,b=10.0.0.2:6789/0,c=10.0.0.3:6789/0}",
"election_epoch": 2,
"quorum", "0 1 2",
...
}
This could be easily converted into something more useful though.
-Joao
Stefan
Am 31.01.2013 08:43, schrieb Stefan Priebe - Profihost AG:
Hello,
while compiling the bobtail branch i've seen this warning:
mon/PGMap.cc: In member function ?void
PGMap::apply_incremental(CephContext*, const PGMap::Incremental&)?:
mon/PGMap.cc:247: warning: comparison between signed and unsigned
integer expressions
CXX libmon_a-LogMonitor.o
Greets,
Stefan
Am 31.01.2013 00:46, schrieb Sage Weil:
The next bobtail point release is ready, and it's looking pretty good.
This is an important update for the 0.56.x backport series that fixes a
number of bugs and several performance issues. All v0.56.x users are
encouraged to upgrade.
Notable changes since v0.56.1:
* osd: snapshot trimming fixes
* osd: scrub snapshot metadata
* osd: fix osdmap trimming
* osd: misc peering fixes
* osd: stop heartbeating with peers if internal threads are stuck/hung
* osd: PG removal is friendlier to other workloads
* osd: fix recovery start delay (was causing very slow recovery)
* osd: fix scheduling of explicitly requested scrubs
* osd: fix scrub interval config options
* osd: improve recovery vs client io tuning
* osd: improve 'slow request' warning detail for better diagnosis
* osd: default CRUSH map now distributes across hosts, not OSDs
* osd: fix crash on 32-bit hosts triggered by librbd clients
* librbd: fix error handling when talking to older OSDs
* mon: fix a few rare crashes
* ceph command: ability to easily adjust CRUSH tunables
* radosgw: object copy does not copy source ACLs
* rados command: fix omap command usage
* sysvinit script: set ulimit -n properly on remote hosts
* msgr: fix narrow race with message queuing
* fixed compilation on some old distros (e.g., RHEL 5.x)
There are a small number of interface changes related to the default CRUSH
rule and scrub interval configuration options. Please see the full release
notes.
You can get v0.56.2 in the usual fashion:
* Git at git://github.com/ceph/ceph.git
* Tarball at http://ceph.com/download/ceph-0.56.2.tar.gz
* For Debian/Ubuntu packages, see http://ceph.com/docs/master/install/debian
* For RPMs, see http://ceph.com/docs/master/install/rpm
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html