因此,我正在尝试运行lvdisplay等命令,但出现此错误:
# lvdisplay
/run/lvm/lvmetad.socket: connect failed: Connection refused
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
WARNING: Locking disabled. Be careful! This could corrupt your metadata.
现在,我的lvmetad服务和套接字运行正常:
# systemctl status lvm2-lvmetad.socket
lvm2-lvmetad.socket - LVM2 metadata daemon socket
Loaded: loaded (/usr/lib/systemd/system/lvm2-lvmetad.socket; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-07-05 11:08:05 EDT; 1 day 14h ago
Docs: man:lvmetad(8)
Listen: /run/lvm/lvmetad.socket (Stream)
Jul 07 01:51:27 xx.xx.xx.xx systemd[1]: Listening on LVM2 metadata daemon socket.
# systemctl status lvm2-lvmetad.service
lvm2-lvmetad.service - LVM2 metadata daemon
Loaded: loaded (/usr/lib/systemd/system/lvm2-lvmetad.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2018-07-05 11:13:25 EDT; 1 day 14h ago
Docs: man:lvmetad(8)
Main PID: 6848 (lvmetad)
CGroup: /system.slice/lvm2-lvmetad.service
└─6848 /sbin/lvmetad -f
Jul 05 11:13:25 node1 systemd[1]: Started LVM2 metadata daemon.
Jul 07 01:51:20 xx.xx.xx.xx systemd[1]: Started LVM2 metadata daemon.
有什么主意在这里吗?如果所有服务都在运行,为什么我无法连接到它们?
TIA。