Comments (6)
# /root/.env
ENV_TYPE=mainnet
DISK_MOUNTPOINT=/dev/dm-0
ENDPOINT=http://XXX:8545
IMA_ENDPOINT=http://XXX:8545
MONITORING_CONTAINERS=True
SGX_SERVER_URL=https://XXX:1026
SGX_URL=$SGX_SERVER_URL
SKALE_NODE_CLI_VERSION=1.2.1
DOCKER_LVMPY_STREAM=1.0.2-stable.0
CONTAINER_CONFIGS_STREAM=2.1.16
FILEBEAT_HOST=filebeat.mainnet.skalenodes.com:5000
DISABLE_IMA=False
IMA_CONTRACTS_ABI_URL=https://raw.githubusercontent.com/skalenetwork/skale-network/master/releases/mainnet/IMA/1.3.2/mainnet/abi.json
MANAGER_CONTRACTS_ABI_URL=https://raw.githubusercontent.com/skalenetwork/skale-network/master/releases/mainnet/skale-manager/1.9.2/skale-manager-1.9.2-mainnet-abi.json
from node-cli.
root@a04:~# pvs
PV VG Fmt Attr PSize PFree
/dev/md5 skale lvm2 a-- 2.48t 0
/dev/skale/skale schains lvm2 a-- 2.48t 1.52t
root@a04:~# vgs
VG #PV #LV #SN Attr VSize VFree
schains 1 5 0 wz--n- 2.48t 1.52t
skale 1 1 0 wz--n- 2.48t 0
root@a04:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
adorable-quaint-bellatrix schains -wi-ao---- <196.42g
curly-red-alterf schains -wi-ao---- <196.42g
haunting-devoted-deneb schains -wi-ao---- <196.42g
portly-passionate-sirius schains -wi-ao---- <196.42g
shared-space schains -wi-ao---- <198.19g
skale skale -wi-ao---- 2.48t
from node-cli.
Commands are from various machines, but problem is exactly the same on all of them.
from node-cli.
root@c03:~# vgremove schains -y
Logical volume schains/shared-space in use.
root@c03:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
elated-tan-skat schains -wi-a----- <196.42g
gargantuan-wealthy-zosma schains -wi-a----- <196.42g
light-vast-diphda schains -wi-a----- <196.42g
plain-rotanev schains -wi-a----- <196.42g
shared-space schains -wi-ao---- <198.19g
skale skale -wi-ao---- 2.48t
root@c03:~# grep -F shared-space /proc/mounts
/dev/mapper/schains-shared--space /mnt/schains-shared-space btrfs rw,relatime,ssd,space_cache,subvolid=5,subvol=/ 0 0
root@c03:~# fuser -m /mnt/schains-shared-space 2>/dev/null | wc -l
0
root@c03:~# find /mnt/schains-shared-space -ls
256 16 drwxr-xr-x 1 root root 8 Apr 13 08:46 /mnt/schains-shared-space
1756 0 drwxr-xr-x 1 root root 0 Apr 13 08:46 /mnt/schains-shared-space/data
Solution is to by hand umount problematic lvm device:
root@c03:~# umount /mnt/schains-shared-space
root@c03:~# echo $?
0
from node-cli.
root@c03:~# vgremove schains -y
Logical volume "shared-space" successfully removed
Logical volume "plain-rotanev" successfully removed
Logical volume "elated-tan-skat" successfully removed
Logical volume "gargantuan-wealthy-zosma" successfully removed
Logical volume "light-vast-diphda" successfully removed
Volume group "schains" successfully removed
from node-cli.
Side comment, node cli doesn't respect error exit codes:
# skale node update --yes /root/.env
...
File "socket.py", line 706, in readinto
File "ssl.py", line 1278, in recv_into
File "ssl.py", line 1134, in read
TimeoutError: The read operation timed out
# echo $?
0
from node-cli.
Related Issues (20)
- Introduce codecoverage and push data to codecov
- Introduce termcolor module to print meaningful information
- raise SystemExit() instead of sys.exit()
- Make a formula for node-cli in homebrew HOT 1
- urllib3, chardet, charset_normalizer dependency issue HOT 1
- Upgrade to use python 3.11
- Ubuntu 20.04 support HOT 1
- Add the OS version check for Watchdog API HOT 3
- No logs printed in node-cli log files HOT 2
- Failing skale node-sync command (cannot find docker/lvmpy.json) HOT 5
- Downgrade checks to a warning and not a hard fail
- Upgrade node-cli sync node version with 2.3.0 changes HOT 2
- Add repair option for sync-node-cli
- Node-cli don't pull changes in skale-node after unsuccessful node update
- Node-cli don't pull image kubernetes/pause
- Update OS version info during the execution of "skale node turn-on" command
- Allow to change block device name
- Can't sync and start chaos (staging-fast-active-bellatrix) HOT 2
- Broadcasts aren't sent after node restore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-cli.