You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log info bottom:
1:X 28 Aug 2021 03:40:19.696 # Could not rename tmp config file (Device or resource busy)
1:X 28 Aug 2021 03:40:19.696 # WARNING: Sentinel was not able to save the new configuration on disk!!!: Device or resource busy
restart 3 sentinel server,
use command:
info sentinel
show old master !
The text was updated successfully, but these errors were encountered:
I would guess the problem is that the conf file is mounted directly (by inode) and when redis goes to save/edit it, then that will fail because the "idempotent" way to write a file is to write it to a temporary file and then rename to the real file and that won't work on a bind-mounted file.
Try mounting the directory of the config file instead. May want to make a "conf" sub-directory for it.
sudo docker run -v /home/ghy/redis_master_replica/RedisSentinel1.conf:/redisConfig/RedisSentinel1.conf -v /home/ghy/redis_master_replica/sentinel_data:/sentinel_data --name redis6.2.5_sentinel_26381 --network host -d redis:6.2.5 redis-sentinel /redisConfig/RedisSentinel1.conf
log info bottom:
1:X 28 Aug 2021 03:40:19.696 # Could not rename tmp config file (Device or resource busy)
1:X 28 Aug 2021 03:40:19.696 # WARNING: Sentinel was not able to save the new configuration on disk!!!: Device or resource busy
restart 3 sentinel server,
use command:
info sentinel
show old master !
The text was updated successfully, but these errors were encountered: