Commit 6f0856ae authored by Vitaly Lipatov's avatar Vitaly Lipatov

update lvm_cache.shs

parent 9579d7eb
...@@ -29,15 +29,20 @@ lv_disable() ...@@ -29,15 +29,20 @@ lv_disable()
{ {
local LV="$1" local LV="$1"
lvremove $VOL/${LV}_cache lvremove $VOL/${LV}_cache
lvremove $VOL/${LV}_cache_meta
} }
pvscan | grep "PV $CSSDDEV" || vgextend $VOL $SSDDEV
#lv_disable vz
#lv_disable ipfs2 #lv_disable ipfs2
#lv_create ipfs2 20G writeback #lv_create ipfs2 20G writeback
#exit #exit
pvscan | grep "PV $CSSDDEV" || vgextend $VOL $SSDDEV
lv_check ipfs2 || lv_create ipfs2 20G lv_check ipfs2 || lv_create ipfs2 20G
lv_check vz || lv_create vz 20G #lv_check vz || lv_create vz 25G
lv_check gitlab || lv_create gitlab 20G
lv_check influxdb || lv_create influxdb 5G
lv_check stog || lv_create stog 20G lv_check stog || lv_create stog 20G
lv_check mysql || lv_create mysql 3G lv_check mysql || lv_create mysql 5G
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment