mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
pre-release (bug fixes only - enhancements excluded)
This commit is contained in:
parent
9ad2ba2a1f
commit
04ed52f6a0
@ -1,18 +1,16 @@
|
|||||||
Version 2.02.36 -
|
Version 2.02.36 - 29th April 2008
|
||||||
=================================
|
=================================
|
||||||
|
Fix fsadm.sh to work with older blockdev, blkid & readlink binaries.
|
||||||
|
Fix lvresize to pass new size to fsadm when extending device.
|
||||||
Remove unused struct in clvmd-openais, and use correct node count.
|
Remove unused struct in clvmd-openais, and use correct node count.
|
||||||
Fix nodes list in clvmd-openais, and allow for broadcast messages.
|
Fix nodes list in clvmd-openais, and allow for broadcast messages.
|
||||||
Exclude VG_GLOBAL from internal concurrent VG lock counter.
|
Exclude VG_GLOBAL from internal concurrent VG lock counter.
|
||||||
Fix vgsplit internal counting of snapshot LVs.
|
Fix vgsplit internal counting of snapshot LVs.
|
||||||
Fix vgmerge snapshot_count when source VG contains snapshots.
|
Fix vgmerge snapshot_count when source VG contains snapshots.
|
||||||
Simplify clvmd-openais by using non-async saLckResourceLock.
|
Simplify clvmd-openais by using non-async saLckResourceLock.
|
||||||
Check lv_count in vg_validate.
|
|
||||||
Fix internal LV counter when a snapshot is removed.
|
Fix internal LV counter when a snapshot is removed.
|
||||||
Fix metadata corruption writing lvm1-formatted metadata with snapshots.
|
Fix metadata corruption writing lvm1-formatted metadata with snapshots.
|
||||||
Add --prefixes to reporting tools for field name prefix output format.
|
|
||||||
Fix lvconvert -m0 allocatable space check.
|
Fix lvconvert -m0 allocatable space check.
|
||||||
Fix fsadm.sh to work with older blockdev,blkid,readlink
|
|
||||||
Fix lvresize - extension was not passing new size to fsadm
|
|
||||||
|
|
||||||
Version 2.02.35 - 15th April 2008
|
Version 2.02.35 - 15th April 2008
|
||||||
=================================
|
=================================
|
||||||
|
@ -1213,11 +1213,10 @@ int vg_validate(struct volume_group *vg)
|
|||||||
|
|
||||||
if ((lv_count = (uint32_t) list_size(&vg->lvs)) !=
|
if ((lv_count = (uint32_t) list_size(&vg->lvs)) !=
|
||||||
vg->lv_count + 2 * vg->snapshot_count) {
|
vg->lv_count + 2 * vg->snapshot_count) {
|
||||||
log_error("Internal error: #internal LVs (%u) != #LVs (%"
|
log_debug("Internal error: #internal LVs (%u) != #LVs (%"
|
||||||
PRIu32 ") + 2 * #snapshots (%" PRIu32 ") in VG %s",
|
PRIu32 ") + 2 * #snapshots (%" PRIu32 ") in VG %s",
|
||||||
list_size(&vg->lvs), vg->lv_count,
|
list_size(&vg->lvs), vg->lv_count,
|
||||||
vg->snapshot_count, vg->name);
|
vg->snapshot_count, vg->name);
|
||||||
r = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
list_iterate_items(lvl, &vg->lvs) {
|
list_iterate_items(lvl, &vg->lvs) {
|
||||||
|
@ -1091,15 +1091,9 @@ void *report_init(struct cmd_context *cmd, const char *format, const char *keys,
|
|||||||
if (headings)
|
if (headings)
|
||||||
report_flags |= DM_REPORT_OUTPUT_HEADINGS;
|
report_flags |= DM_REPORT_OUTPUT_HEADINGS;
|
||||||
|
|
||||||
if (field_prefixes)
|
|
||||||
report_flags |= DM_REPORT_OUTPUT_FIELD_NAME_PREFIX;
|
|
||||||
|
|
||||||
rh = dm_report_init(report_type, _report_types, _fields, format,
|
rh = dm_report_init(report_type, _report_types, _fields, format,
|
||||||
separator, report_flags, keys, cmd);
|
separator, report_flags, keys, cmd);
|
||||||
|
|
||||||
if (field_prefixes)
|
|
||||||
dm_report_set_output_field_name_prefix(rh, "lvm2_");
|
|
||||||
|
|
||||||
return rh;
|
return rh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ detect_fs() {
|
|||||||
VOLUME=$($READLINK $READLINK_E -n "/dev/$VOLUME") || error "Cannot get readlink $1"
|
VOLUME=$($READLINK $READLINK_E -n "/dev/$VOLUME") || error "Cannot get readlink $1"
|
||||||
# use /dev/null as cache file to be sure about the result
|
# use /dev/null as cache file to be sure about the result
|
||||||
# use 'cut' to be compatible with older version of blkid that does not provide option '-o value'
|
# use 'cut' to be compatible with older version of blkid that does not provide option '-o value'
|
||||||
FSTYPE=$($BLKID -c /dev/null -s TYPE "$VOLUME" | cut -d \" -f 2) || error "Cannot get FSTYPE of \"$VOLUME\""
|
FSTYPE=$($BLKID -c /dev/null -s TYPE "$VOLUME" | $CUT -d \" -f 2) || error "Cannot get FSTYPE of \"$VOLUME\""
|
||||||
verbose "\"$FSTYPE\" filesystem found on \"$VOLUME\""
|
verbose "\"$FSTYPE\" filesystem found on \"$VOLUME\""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -368,7 +368,6 @@ xx(lvs,
|
|||||||
"\t[-o|--options [+]Field[,Field]]\n"
|
"\t[-o|--options [+]Field[,Field]]\n"
|
||||||
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
||||||
"\t[-P|--partial] " "\n"
|
"\t[-P|--partial] " "\n"
|
||||||
"\t[--prefixes]\n"
|
|
||||||
"\t[--segments]\n"
|
"\t[--segments]\n"
|
||||||
"\t[--separator Separator]\n"
|
"\t[--separator Separator]\n"
|
||||||
"\t[--trustcache]\n"
|
"\t[--trustcache]\n"
|
||||||
@ -379,7 +378,7 @@ xx(lvs,
|
|||||||
"\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
|
"\t[LogicalVolume[Path] [LogicalVolume[Path]...]]\n",
|
||||||
|
|
||||||
aligned_ARG, all_ARG, ignorelockingfailure_ARG, noheadings_ARG,
|
aligned_ARG, all_ARG, ignorelockingfailure_ARG, noheadings_ARG,
|
||||||
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG, prefixes_ARG,
|
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
|
||||||
segments_ARG, separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG,
|
segments_ARG, separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG,
|
||||||
units_ARG)
|
units_ARG)
|
||||||
|
|
||||||
@ -577,7 +576,6 @@ xx(pvs,
|
|||||||
"\t[-o|--options [+]Field[,Field]]\n"
|
"\t[-o|--options [+]Field[,Field]]\n"
|
||||||
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
||||||
"\t[-P|--partial] " "\n"
|
"\t[-P|--partial] " "\n"
|
||||||
"\t[--prefixes]\n"
|
|
||||||
"\t[--segments]\n"
|
"\t[--segments]\n"
|
||||||
"\t[--separator Separator]\n"
|
"\t[--separator Separator]\n"
|
||||||
"\t[--trustcache]\n"
|
"\t[--trustcache]\n"
|
||||||
@ -588,7 +586,7 @@ xx(pvs,
|
|||||||
"\t[PhysicalVolume [PhysicalVolume...]]\n",
|
"\t[PhysicalVolume [PhysicalVolume...]]\n",
|
||||||
|
|
||||||
aligned_ARG, all_ARG, ignorelockingfailure_ARG, noheadings_ARG,
|
aligned_ARG, all_ARG, ignorelockingfailure_ARG, noheadings_ARG,
|
||||||
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG, prefixes_ARG,
|
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
|
||||||
segments_ARG, separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG,
|
segments_ARG, separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG,
|
||||||
units_ARG)
|
units_ARG)
|
||||||
|
|
||||||
@ -894,7 +892,6 @@ xx(vgs,
|
|||||||
"\t[-o|--options [+]Field[,Field]]\n"
|
"\t[-o|--options [+]Field[,Field]]\n"
|
||||||
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
"\t[-O|--sort [+|-]key1[,[+|-]key2[,...]]]\n"
|
||||||
"\t[-P|--partial] " "\n"
|
"\t[-P|--partial] " "\n"
|
||||||
"\t[--prefixes]\n"
|
|
||||||
"\t[--separator Separator]\n"
|
"\t[--separator Separator]\n"
|
||||||
"\t[--trustcache]\n"
|
"\t[--trustcache]\n"
|
||||||
"\t[--unbuffered]\n"
|
"\t[--unbuffered]\n"
|
||||||
@ -904,7 +901,7 @@ xx(vgs,
|
|||||||
"\t[VolumeGroupName [VolumeGroupName...]]\n",
|
"\t[VolumeGroupName [VolumeGroupName...]]\n",
|
||||||
|
|
||||||
aligned_ARG, all_ARG, ignorelockingfailure_ARG, noheadings_ARG,
|
aligned_ARG, all_ARG, ignorelockingfailure_ARG, noheadings_ARG,
|
||||||
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG, prefixes_ARG,
|
nolocking_ARG, nosuffix_ARG, options_ARG, partial_ARG,
|
||||||
separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG)
|
separator_ARG, sort_ARG, trustcache_ARG, unbuffered_ARG, units_ARG)
|
||||||
|
|
||||||
xx(vgscan,
|
xx(vgscan,
|
||||||
|
Loading…
Reference in New Issue
Block a user