Article 5H68C Can't find this anywhere thus far? LVS column meanings?

Can't find this anywhere thus far? LVS column meanings?

by
jmgibson1981
from LinuxQuestions.org on (#5H68C)
Some of them are obvious. LSize, VG, LV and a few others. I can't seem to find anything on the rest, or I just don't know what to search for?

Code:sudo lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root main -wi-ao---- 25.00g
swap main -wi-ao---- 2.00g
vm main owi-aos--- 300.00g
vmsnap main swi-a-s--- 10.00g vm 0.28
backups seagate2tb -wi-ao---- 500.00gI'm running my Windows in a vm again with a passed through gpu. Working great. Decided to do snapshots to backup the vm on a script. I'm just wondering if my snap size is enough. I'm not sure what that Data column means. I'm assuming it's percentage of the volume used? 1/4 of a percent thus far?

I'm just not getting that I guess. Not obvious to me at least.

Script for reference

Code:#!/bin/sh
# tadaen sylvermane | jason gibson
# lvm snapshot auto backup

if lvs | grep "$1" ; then
[ -d /mnt/vmsnapshot"$2" ] || mkdir -p /mnt/vmsnapshot"$2"
lvcreate -s -n "$1"snap -L 10g main/"$1"
wait
mount /dev/mapper/main-"$1"snap /mnt/vmsnapshot"$2"
rsync -auv --progress /mnt/vmsnapshot"$2"/* /mnt/vmbackups"$2"/
wait
umount /mnt/vmsnapshot"$2"
lvremove --yes main/"$1"snap
filatest?d=yIl2AUoC8zA latest?i=j8urkCrvvW8:JbAhdmC71FM:F7zBnMy latest?i=j8urkCrvvW8:JbAhdmC71FM:V_sGLiP latest?d=qj6IDK7rITs latest?i=j8urkCrvvW8:JbAhdmC71FM:gIN9vFwj8urkCrvvW8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments