Revision a1f2fb58

b/doc/design-monitoring-agent.rst
391 391
  this field. This can provide an easy measure of both I/O completion time
392 392
  and the backlog that may be accumulating.
393 393

  
394
Logical Volume collector
395
************************
396

  
397
This data collector will gather information about the attributes of logical
398
volumes present in the system.
399

  
400
Its ``kind`` in the report will be ``0`` (`Performance reporting collectors`_).
401

  
402
Its ``category`` field in the report will contain the value ``storage``.
403

  
404
The ``data`` section of the report of this collector will be a list of items,
405
each representing one logical volume and providing the following fields:
406

  
407
``uuid``
408
  The UUID of the logical volume.
409

  
410
``name``
411
  The name of the logical volume.
412

  
413
``attr``
414
  The attributes of the logical volume.
415

  
416
``major``
417
  Persistent major number or -1 if not persistent.
418

  
419
``minor``
420
  Persistent minor number or -1 if not persistent.
421

  
422
``kernel_major``
423
  Currently assigned major number or -1 if LV is not active.
424

  
425
``kernel_minor``
426
  Currently assigned minor number or -1 if LV is not active.
427

  
428
``size``
429
  Size of LV in bytes.
430

  
431
``seg_count``
432
  Number of segments in LV.
433

  
434
``tags``
435
  Tags, if any.
436

  
437
``modules``
438
  Kernel device-mapper modules required for this LV, if any.
439

  
440
``vg_uuid``
441
  Unique identifier of the volume group.
442

  
443
``vg_name``
444
  Name of the volume group.
445

  
446
``segtype``
447
  Type of LV segment.
448

  
449
``seg_start``
450
  Offset within the LVto the start of the segment in bytes.
451

  
452
``seg_start_pe``
453
  Offset within the LV to the start of the segment in physical extents.
454

  
455
``seg_size``
456
  Size of the segment in bytes.
457

  
458
``seg_tags``
459
  Tags for the segment, if any.
460

  
461
``seg_pe_ranges``
462
  Ranges of Physical Extents of underlying devices in lvs command line format.
463

  
464
``devices``
465
  Underlying devices used with starting extent numbers.
466

  
467
``instance``
468
  The name of the instance this LV is used by.
469

  
394 470
DRBD status
395 471
***********
396 472

  

Also available in: Unified diff