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 allan@a.b.c.$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 allan@a.b.c.$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 allan@a.b.c.$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 allan@a.b.c.$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 allan@a.b.c.$i "sudo lsof -i :9000";done
Clone this wiki locally