mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmdump: include major and minor numbers for pvs and lvs reports
Including major and minor numbers in pvs and lvs output when calling lvmdump -a makes it a bit easier to match these items with possible system log/journal.
This commit is contained in:
parent
4e1bf7acd3
commit
07be2b864f
@ -142,10 +142,10 @@ if (( $advanced )); then
|
||||
log "\"$LVM\" pvscan -v >> \"$dir/pvscan\" 2>> \"$log\""
|
||||
|
||||
myecho " lvs..."
|
||||
log "\"$LVM\" lvs -a -H -o +devices >> \"$dir/lvs\" 2>> \"$log\""
|
||||
log "\"$LVM\" lvs -a -H -o +devices,kernel_major,kernel_minor >> \"$dir/lvs\" 2>> \"$log\""
|
||||
|
||||
myecho " pvs..."
|
||||
log "\"$LVM\" pvs -a -v >> \"$dir/pvs\" 2>> \"$log\""
|
||||
log "\"$LVM\" pvs -a -o +major,minor -v >> \"$dir/pvs\" 2>> \"$log\""
|
||||
|
||||
myecho " vgs..."
|
||||
log "\"$LVM\" vgs -v >> \"$dir/vgs\" 2>> \"$log\""
|
||||
|
Loading…
Reference in New Issue
Block a user