On 04/25/2014 08:15 AM, Peter Serocka wrote:
> sysctl efs.bam.disk_pool_db
OK. I've got some difficulties to understand what I'm seeing.
There is the notion of "PHYSICAL POOLS". When I look at the drives/drivemap
entrie of each section, it seems that PHYSICAL POOLS designate subset of drive
among all nodes of a given class (NL, X or S).
For example :
...
{
id=5
name=x400_96tb_1.6tb-ssd_24gb-ram:5
parent=x400_96tb_1.6tb-ssd_24gb-ram
drivemap={
2 => { 13, 14, 15, 32, 33 },
3 => { 13, 14, 15, 32, 33 },
4 => { 13, 14, 15, 32, 33 },
5 => { 13, 14, 15, 32, 33 },
20 => { 13, 14, 15, 32, 33 },
}
...
2, 3, 4, 5, 20 correspond to the device ID of my 5 X nodes. I don't see how to
extract the information I want. Maybe there was a misunderstanding here. By pool
I meant the set of X nodes, NL nodes or S nodes. From what I can't see, I could
reconstruct this information by parsing.
Maybe I should have used "Node pools" instead of "Disks pools", sorry about that.
The "POOL GROUPS" section could have been what I'm looking for, but there is no
usage report.
By the way, what kind of format is this ? It's not json. How do you parse it
efficiently ?
> Disk pools are not "containers" like LUNs,
> but rather sign posts that only direct the
> placement of new data and restripes
> at the time of writing. This is why
> they can be changed on the fly without
> affecting access to present data ;-)
> But this also makes disk pools just kind of
> "second class citizens" in computer science speak.
> Which might explain why they don't appear on
> their on rights in too many places (SNMP, API) yet(?).
OK, thank you for this heads up.