Skip to content

Debug issues on all nodes servers

Allan Roger Reid edited this page May 16, 2024 · 1 revision

e.g. for error Waiting for all other servers to be online to format the drives

Check NTP

for i in {0..3};do [email protected].$i "journalctl -xeu minio.service --since \"1 hour ago\" -q" > journalctl-minio-allan-$i.log;done

Check env file

for i in {0..3};do ssh [email protected].$i "date;shasum -a 256 /etc/default/minio-allan; grep MINIO_VOL /etc/default/minio | sha256sum";done

Check permissions; considering data drive name /home/allan/disk$j

for i in {0..3};do echo a.b.c.$i; ssh [email protected].$i "ls -ltrah /home/allan/disk*/";done

Check mounts; considering data drive name /home/allan/disk$j

for i in {0..3};do echo a.b.c.$i; ssh [email protected].$i "for j in {0..1}; do mount | grep /home/allan/disk$j;done";done

Check port available

for i in {0..3};do echo a.b.c.$i; ssh [email protected].$i "sudo lsof -i :9000";done
Clone this wiki locally