LVM2 Makefile.in WHATS_NEW
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2010-11-22 21:39:47
Modified files:
. : Makefile.in WHATS_NEW
Log message:
Fix default /etc/lvm permissions to be 0755. (2.02.66)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/Makefile.in.diff?cvsroot=lvm2&r1=1.62&r2=1.63
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1800&r2=1.1801
Makefile.in +1 -1
@@ -81,7 +81,7 @@ $(MAKE) -C test $(@) install_system_dirs: - $(INSTALL_ROOT_DIR) $(DESTDIR)$(DEFAULT_SYS_DIR) + $(INSTALL_DIR) $(DESTDIR)$(DEFAULT_SYS_DIR) $(INSTALL_ROOT_DIR) $(DESTDIR)$(DEFAULT_ARCHIVE_DIR) $(INSTALL_ROOT_DIR) $(DESTDIR)$(DEFAULT_BACKUP_DIR) $(INSTALL_ROOT_DIR) $(DESTDIR)$(DEFAULT_CACHE_DIR)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.78 - ==================================== + Fix default /etc/lvm permissions to be 0755. (2.02.66) Version 2.02.77 - 22nd November 2010 ====================================
wishlist: Two lvm2app pv and lv properties still needed
When using lvm2app function calls to retrieve physical volume segment properties there seems to be no way the get the "lv_name" to tie each segment of the pv to an lv. For instance like this:
pvs --segments -o+lv_name
PV VG Fmt Attr PSize PFree Start SSize LV /dev/sdh1 local lvm2 a- 768.00m 512.00m 0 1 /dev/sdh1 local lvm2 a- 768.00m 512.00m 1 1 lvol1 /dev/sdh1 local lvm2 a- 768.00m 512.00m 2 1 /dev/sdi1 local lvm2 a- 768.00m 0 0 3 lvol2
The same seems to apply to getting lv segments properties and their
asscociated devices. Like this:
lvs -o+devices
LV VG Attr LSize Devices lvol1 local -wi-a- 256.00m /dev/sdh1(1) lvol2 local -wi-a- 768.00m /dev/sdi1(0)
It would be great if those two things, esp. the second one could be implemented.
Thank you
ben <[email protected]>
wishlist: Two lvm2app pv and lv properties still needed
Quoted 11 lines · ben
When using lvm2app function calls to retrieve physical volume segment properties there seems to be no way the get the "
lv_name" to tie each segment of the pv to an lv. For instance like this:pvs --segments -o+lv_name
PV VG Fmt Attr PSize PFree Start SSize LV /dev/sdh1 local lvm2 a- 768.00m 512.00m 0 1 /dev/sdh1 local lvm2 a- 768.00m 512.00m 1 1 lvol1 /dev/sdh1 local lvm2 a- 768.00m 512.00m 2 1 /dev/sdi1 local lvm2 a- 768.00m 0 0 3 lvol2
Right - lvm2app currently doesn't cover every combination of fields exactly like the reporting commands. However, you should be able to get the info in another way (see below).
Also, we may need some futher function "helpers" to enumerate certain lvm objects from other objects (as the recent patches I submitted to lookup a lv/pv handle from a name or uuid). For instance, we may want to provide a function to lookup an lv from a pv_segment.
Quoted 8 lines
The same seems to apply to getting lv segments properties and their
asscociated devices. Like this:lvs -o+devices
LV VG Attr LSize Devices lvol1 local -wi-a- 256.00m /dev/sdh1(1) lvol2 local -wi-a- 768.00m /dev/sdi1(0)
Patches have been submitted to lvm-devel to cover 'devices' and 'seg_pe_ranges'.