mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
Add files via upload
This commit is contained in:
parent
2ba5dd01eb
commit
d4b8c21a6b
15
proxmox/resize-lvm-thin-pool.sh
Normal file
15
proxmox/resize-lvm-thin-pool.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user