From 10e80a212f5cd38ae7b3cf4a1633c94a5f73b8b4 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 25 Jan 2012 11:32:41 +0000 Subject: [PATCH] Update verbose lvs to print metadata_percent info Update lvs -o fields in WHATS_NEW. --- WHATS_NEW | 5 +++++ lib/config/defaults.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index a455dfce0..4176b7a1e 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,10 @@ Version 2.02.89 - ================================== + Thin pools have segment fields thin_count, zero, transaction_id. + Each new created LV volume has creation lv_time and lv_host. + Print data_percent and metadata_percent for verbose lvs. + Thin pool support lvs data_percent, metadata_percent, data/metadata_lv. + Thin volumes support lvs options data_percent, pool_lv. Update lv_info to use -real layer for origin_only LVs. Add lv_thin_pool_transaction_id to read the transaction_id value. Use suspend|resume_origin_only when up-converting RAID, as mirrors do. diff --git a/lib/config/defaults.h b/lib/config/defaults.h index 13d8c31cf..7d8f666a9 100644 --- a/lib/config/defaults.h +++ b/lib/config/defaults.h @@ -155,7 +155,7 @@ #define DEFAULT_SEGS_COLS "lv_name,vg_name,lv_attr,stripes,segtype,seg_size" #define DEFAULT_PVSEGS_COLS "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free,pvseg_start,pvseg_size" -#define DEFAULT_LVS_COLS_VERB "lv_name,vg_name,seg_count,lv_attr,lv_size,lv_major,lv_minor,lv_kernel_major,lv_kernel_minor,pool_lv,origin,data_percent,move_pv,copy_percent,mirror_log,convert_lv,lv_uuid" +#define DEFAULT_LVS_COLS_VERB "lv_name,vg_name,seg_count,lv_attr,lv_size,lv_major,lv_minor,lv_kernel_major,lv_kernel_minor,pool_lv,origin,data_percent,metadata_percent,move_pv,copy_percent,mirror_log,convert_lv,lv_uuid" #define DEFAULT_VGS_COLS_VERB "vg_name,vg_attr,vg_extent_size,pv_count,lv_count,snap_count,vg_size,vg_free,vg_uuid" #define DEFAULT_PVS_COLS_VERB "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free,dev_size,pv_uuid" #define DEFAULT_SEGS_COLS_VERB "lv_name,vg_name,lv_attr,seg_start,seg_size,stripes,segtype,stripesize,chunksize"