# create-snapshot.sh vg vol snap size SNAPNAME=${2}-$(date "+%Y%m%dT%H%M%S") lvcreate --snapshot --name $SNAPNAME --size $3 $1/$2