Add files via upload

This commit is contained in:
kneutron 2024-04-16 21:11:22 -06:00 committed by GitHub
parent 2ba5dd01eb
commit d4b8c21a6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,15 @@
#!/bin/bash
#exit;
meta=127M # increase by 10% of new GB
cursize=207 # GB # lvs |grep data |awk '{print $4}'
sizeup=127 # GB
let newsize=$cursize+$sizeup
# Use webmin to add PV, then
lvresize --poolmetadatasize +$meta /dev/mapper/pve-data
set -x
time lvresize -L${newsize}G pve/data -r -vvv #--type thin-pool
lvs