[root@localhost redis]# /usr/local/redis/bin/redis-sentinel /usr/local/redis/sentinel.conf 7984:X 24 Jun 202415:59:36.245 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo7984:X 24 Jun 202415:59:36.245 # Redis version=7.0.10, bits=64, commit=00000000, modified=0, pid=7984, just started7984:X 24 Jun 202415:59:36.245 # Configuration loaded7984:X 24 Jun 202415:59:36.245 * Increased maximum number of open files to 10032(it was originally set to 1024).
7984:X 24 Jun 202415:59:36.245 * monotonic clock: POSIX clock_gettime
_._
_.-``__ ''-._
_.-```.`_. ''-._ Redis 7.0.10 (00000000/0)64 bit
.-`` .-```.```\/ _.,_ ''-._
( ' , .-`|`, ) Running in sentinel mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 26379
| `-._ `._ / _.-'| PID: 7984`-._ `-._ `-./ _.-' _.-'|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | https://redis.io
`-._ `-._`-.__.-'_.-' _.-'|`-._`-._ `-.__.-' _.-'_.-'||`-._`-._ _.-'_.-'|`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
7984:X 24 Jun 202415:59:36.246 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.7984:X 24 Jun 202415:59:36.264 * Sentinel new configuration saved on disk
7984:X 24 Jun 202415:59:36.264 # Sentinel ID is 5d1670addf29afbffc1cf278f58a91b672f6b96c7984:X 24 Jun 202415:59:36.264 # +monitor master mymaster 192.168.74.148 6379 quorum 17984:X 24 Jun 202415:59:36.265 * +slave slave 192.168.74.148:6380 192.168.74.148 6380 @ mymaster 192.168.74.148 63797984:X 24 Jun 202415:59:36.267 * Sentinel new configuration saved on disk
7984:X 24 Jun 202415:59:36.267 * +slave slave 192.168.74.148:6381 192.168.74.148 6381 @ mymaster 192.168.74.148 63797984:X 24 Jun 202415:59:36.271 * Sentinel new configuration saved on disk
Linux 磁盘挂载与分区 vda1: 其中vd表示虚拟磁盘,a表示第一块磁盘,b表示第二块磁盘,1表示第一块磁盘的第一分区(显然两块磁盘都只有一个分区)图中可以看到,vda1磁盘只有一个分区,且全部挂载到根…