1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00
lvm2/lib
Peter Rajnoha aec4d0c939 report: also display "mirror" keyword in lv_layout for mirrored mirror log and "cache" keyword in lv_layout for cached cache pool
$ lvs -a -o name,vg_name,attr,layout,type
  LV                    VG     Attr       Layout     Type
  lvol0                 vg     mwi-a-m--- mirror     mirror
  [lvol0_mimage_0]      vg     iwi-aom--- linear     image,mirror
  [lvol0_mimage_1]      vg     iwi-aom--- linear     image,mirror
  [lvol0_mlog]          vg     mwi-aom--- mirror     log,mirror
  [lvol0_mlog_mimage_0] vg     iwi-aom--- linear     image,mirror
  [lvol0_mlog_mimage_1] vg     iwi-aom--- linear     image,mirror

(lvol0_mlog properly displayed as "mirror" layout for mirrored mirror log)

$ lvs -a -o name,vg_name,attr,layout,type
  LV                  VG     Attr       Layout     Type
  lvol0               vg     Cwi---C--- cache,pool cache,pool
  [lvol0_cdata]       vg     Cwi------- linear     cache,data,pool
  [lvol0_cmeta]       vg     ewi------- linear     cache,metadata,pool
  [lvol1_pmspare]     vg     ewi------- linear     metadata,pool,spare
  lvol2               vg     Cwi---C--- cache,pool cache,pool
  [lvol2_cdata]       vg     Cwi---C--- cache      cache,data,pool
  [lvol2_cdata_corig] vg     owi---C--- linear     cache,origin
  [lvol2_cmeta]       vg     ewi------- linear     cache,metadata,pool

(lvol2_cdata properly displayed as cached cache pool data)
2014-08-19 13:58:32 +02:00
..
activate activation: Fix upgrades using uuid suffixes. 2014-07-30 21:55:11 +01:00
cache cleanup: just safely copy string 2014-07-04 12:31:17 +02:00
cache_segtype cache: use get_cache_mode for validation 2014-07-17 16:16:45 +02:00
commands conf: add report/list_item_separator lvm.conf option 2014-07-10 16:18:45 +02:00
config thin and cache: unify pool common code 2014-07-22 22:41:38 +02:00
datastruct Add lv_layout_and_type fn, lv_layout and lv_type reporting fields. 2014-08-15 14:50:38 +02:00
device dev-type: print aborting log_error 2014-07-04 12:31:17 +02:00
display prompt: display 'n' for EOF 2014-07-11 12:47:41 +02:00
error cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
filters cleanup: quite gcc warn 2014-08-15 15:06:45 +02:00
format1 metadata: fix ALLOCATABLE_PV for lvm1 format 2014-07-11 12:24:15 +02:00
format_pool pvscan: use format feature flags in lvmetad code 2014-01-08 02:13:13 +00:00
format_text metadata: Reinstate system info in metadata. 2014-07-21 15:54:20 +01:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label cleanup: remove unneeded header files 2014-02-11 19:00:06 +01:00
locking locking: fix cluster locking 2014-06-20 16:38:48 +01:00
log report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
metadata report: also display "mirror" keyword in lv_layout for mirrored mirror log and "cache" keyword in lv_layout for cached cache pool 2014-08-19 13:58:32 +02:00
mirror report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
misc activation: Fix upgrades using uuid suffixes. 2014-07-30 21:55:11 +01:00
mm memlock: skip more entries 2014-06-20 11:13:41 +02:00
properties report: add separate fields for PV/VG/LV attributes 2014-07-04 15:40:17 +02:00
raid refactor: add defines for raid segtypes 2014-08-15 13:28:43 +02:00
replicator compilation: fix warnings: build_dm_uuid now accepts whole struct logical_volume, not lvid 2014-06-18 14:43:13 +02:00
report Add lv_layout_and_type fn, lv_layout and lv_type reporting fields. 2014-08-15 14:50:38 +02:00
snapshot report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
striped metadata: use outfc for comments 2014-07-17 16:17:44 +02:00
thin report: select: refactor: move percent handling code to libdm for reuse 2014-06-17 16:27:21 +02:00
unknown unknown: add_target_line is not needed 2014-04-30 10:26:30 +02:00
uuid cleanup: drop unused define 2014-03-12 19:12:34 +01:00
zero cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
Makefile.in locking: Separate out flock and signal code. 2014-05-01 17:37:14 +01:00