mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +03:00
bc19a16fc7
State: $ lvs -o lv_name,lv_active_locally,lv_snapshot_invalid,lv_merge_failed vg/lvol0 LV ActLocal SnapInvalid MergeFailed lvol0 active locally unknown unknown Now with using --binary switch. Before this patch (lv_snapshot_invalid and lv_merge_failed not switched into numeric value where -1 represents 'unknown' value) $ lvs -o lv_name,lv_active_locally,lv_snapshot_invalid,lv_merge_failed vg/lvol0 --binary LV ActLocal SnapInvalid MergeFailed lvol0 1 unknown unknown With this patch applied: $ lvs -o lv_name,lv_active_locally,lv_snapshot_invalid,lv_merge_failed vg/lvol0 --binary LV ActLocal SnapInvalid MergeFailed lvol0 1 -1 -1