* LVM2 ./WHATS_NEW lib/config/defaults.h
@ 2008-01-10 19:25 agk
2008-01-10 21:48 ` Jun'ichi Nomura
0 siblings, 1 reply; 4+ messages in thread
From: agk @ 2008-01-10 19:25 UTC (permalink / raw)
To: lvm-devel
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2008-01-10 19:25:07
Modified files:
. : WHATS_NEW
lib/config : defaults.h
Log message:
Add lv_convert field to default lvs output.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.755&r2=1.756
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/defaults.h.diff?cvsroot=lvm2&r1=1.35&r2=1.36
--- LVM2/WHATS_NEW 2008/01/09 15:55:44 1.755
+++ LVM2/WHATS_NEW 2008/01/10 19:25:07 1.756
@@ -1,5 +1,6 @@
Version 2.02.30 -
===================================
+ Add new lv_convert field to lvs output.
Print warning when lvm tools are running as non-root.
Add snapshot dmeventd library (enables dmeventd snapshot monitoring).
Prevent pvcreate from overwriting MDA-less PVs belonging to active VGs.
--- LVM2/lib/config/defaults.h 2007/12/14 21:53:01 1.35
+++ LVM2/lib/config/defaults.h 2008/01/10 19:25:07 1.36
@@ -103,13 +103,13 @@
#define DEFAULT_REP_HEADINGS 1
#define DEFAULT_REP_SEPARATOR " "
-#define DEFAULT_LVS_COLS "lv_name,vg_name,lv_attr,lv_size,origin,snap_percent,move_pv,mirror_log,copy_percent"
+#define DEFAULT_LVS_COLS "lv_name,vg_name,lv_attr,lv_size,origin,snap_percent,move_pv,mirror_log,copy_percent,lv_convert"
#define DEFAULT_VGS_COLS "vg_name,pv_count,lv_count,snap_count,vg_attr,vg_size,vg_free"
#define DEFAULT_PVS_COLS "pv_name,vg_name,pv_fmt,pv_attr,pv_size,pv_free"
#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,origin,snap_percent,move_pv,copy_percent,mirror_log,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,origin,snap_percent,move_pv,copy_percent,mirror_log,lv_convert,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"
^ permalink raw reply [flat|nested] 4+ messages in thread
* LVM2 ./WHATS_NEW lib/config/defaults.h
2008-01-10 19:25 agk
@ 2008-01-10 21:48 ` Jun'ichi Nomura
0 siblings, 0 replies; 4+ messages in thread
From: Jun'ichi Nomura @ 2008-01-10 21:48 UTC (permalink / raw)
To: lvm-devel
agk at sourceware.org wrote:
> Log message:
> Add lv_convert field to default lvs output.
..
>> -#define DEFAULT_LVS_COLS "lv_name,vg_name,lv_attr,lv_size,origin,snap_percent,move_pv,mirror_log,copy_percent"
>> +#define DEFAULT_LVS_COLS "lv_name,vg_name,lv_attr,lv_size,origin,snap_percent,move_pv,mirror_log,copy_percent,lv_convert"
# lvs -a
..
Unrecognised field: lv_convert
The field name is 'convert_lv'.
Thanks,
--
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-convert_lv-field.patch
Type: text/x-patch
Size: 1586 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20080110/657bf632/attachment.bin>
^ permalink raw reply [flat|nested] 4+ messages in thread
* LVM2 ./WHATS_NEW lib/config/defaults.h
@ 2011-08-02 10:49 prajnoha
0 siblings, 0 replies; 4+ messages in thread
From: prajnoha @ 2011-08-02 10:49 UTC (permalink / raw)
To: lvm-devel
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2011-08-02 10:49:57
Modified files:
. : WHATS_NEW
lib/config : defaults.h
Log message:
Change DEFAULT_UDEV_SYNC to 1 so udev_sync is used even without any config.
This should be set by default! Normally we have "activation/udev_sync = 1"
in lvm.conf (example.conf.in). But if we use lvm2 without any config file
(or without a definition within '--config' option) the DEFAULT_UDEV_SYNC
is used instead. Together with verify_udev_operations=0 (when we rely on
udev fully), this can cause races as the node could be missing when needed.
(See also https://bugzilla.redhat.com/show_bug.cgi?id=723144)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2044&r2=1.2045
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/defaults.h.diff?cvsroot=lvm2&r1=1.78&r2=1.79
--- LVM2/WHATS_NEW 2011/07/28 12:57:26 1.2044
+++ LVM2/WHATS_NEW 2011/08/02 10:49:57 1.2045
@@ -1,5 +1,6 @@
Version 2.02.87 -
===============================
+ Change DEFAULT_UDEV_SYNC to 1 so udev_sync is used even without any config.
Add systemd unit file to provide lvm2 monitoring.
Compare also file size to detect changed config file.
--- LVM2/lib/config/defaults.h 2011/07/01 14:09:20 1.78
+++ LVM2/lib/config/defaults.h 2011/08/02 10:49:57 1.79
@@ -77,7 +77,7 @@
#define DEFAULT_LABELSECTOR UINT64_C(1)
#define DEFAULT_READ_AHEAD "auto"
#define DEFAULT_UDEV_RULES 1
-#define DEFAULT_UDEV_SYNC 0
+#define DEFAULT_UDEV_SYNC 1
#define DEFAULT_VERIFY_UDEV_OPERATIONS 0
#define DEFAULT_ACTIVATION_CHECKS 0
#define DEFAULT_EXTENT_SIZE 4096 /* In KB */
^ permalink raw reply [flat|nested] 4+ messages in thread
* LVM2 ./WHATS_NEW lib/config/defaults.h
@ 2012-01-25 11:32 zkabelac
0 siblings, 0 replies; 4+ messages in thread
From: zkabelac @ 2012-01-25 11:32 UTC (permalink / raw)
To: lvm-devel
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-01-25 11:32:42
Modified files:
. : WHATS_NEW
lib/config : defaults.h
Log message:
Update verbose lvs to print metadata_percent info
Update lvs -o fields in WHATS_NEW.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2238&r2=1.2239
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/defaults.h.diff?cvsroot=lvm2&r1=1.94&r2=1.95
--- LVM2/WHATS_NEW 2012/01/25 09:00:57 1.2238
+++ LVM2/WHATS_NEW 2012/01/25 11:32:41 1.2239
@@ -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.
--- LVM2/lib/config/defaults.h 2012/01/20 16:59:59 1.94
+++ LVM2/lib/config/defaults.h 2012/01/25 11:32:41 1.95
@@ -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"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-25 11:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25 11:32 LVM2 ./WHATS_NEW lib/config/defaults.h zkabelac
-- strict thread matches above, loose matches on Subject: below --
2011-08-02 10:49 prajnoha
2008-01-10 19:25 agk
2008-01-10 21:48 ` Jun'ichi Nomura
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.