Inspect LVM history using metadata archives. Inspect LVM history on a regular Ubuntu instance. $ sudo bash -c "cat /etc/lvm/archive/*" | \ awk -F= '$0 ~ /^creation_time =|^description =/ { print $2 }' | \ awk 'NR%2==1 {sub(/Created \*before\* /,"",$0);line1=$0;state=1} NR%2==0 {line2=$0;state=0} {if(state==0) {print line2 " -" line1}}' | \ sort -n -k 1 | […]
↧