GNU/Linux >> Linux Esercitazione >  >> Cent OS

Come disabilitare "lvm2-lvmetad.socket/service" su CentOS/RHEL 7

La disabilitazione di lvm2-lvmetad.socket/service sul sistema CentOS/RHEL 7 funziona mentre il sistema è in esecuzione, ma dopo un riavvio si ripresenta. Questo post ti mostrerà come evitare che ciò accada.

1. Modificare /etc/lvm/lvm.conf file con il tuo editor di file preferito, come vi o nano, e cambia il valore di "use_lvmetad = ” da 1 a 0.

# vi /etc/lvm/lvm.conf
use_lvmetad = 0

2. Arresta, disabilita e maschera il servizio/socket lvm2-lvmetad.

# systemctl stop lvm2-lvmetad.service lvm2-lvmetad.socket
# systemctl disable lvm2-lvmetad.service lvm2-lvmetad.socket
# systemctl mask lvm2-lvmetad.service lvm2-lvmetad.socket

3. Verificare se le modifiche sono attive. È possibile riavviare il sistema e ora il servizio/socket non verrà ripristinato. Per annullare le modifiche devi smascherare, avviare e abilitare il servizio/socket.

# systemctl unmask lvm2-lvmetad.service lvm2-lvmetad.socket
# systemctl start lvm2-lvmetad.service lvm2-lvmetad.socket
# systemctl enable lvm2-lvmetad.service lvm2-lvmetad.socket


Cent OS
  1. Come riavviare il servizio di rete su CentOS 8 o RHEL 8

  2. Come disabilitare NetworkManager su CentOS / RHEL 7

  3. CentOS / RHEL 6,7:Come abilitare o disabilitare il servizio XDMCP (GDM)

  4. Come disabilitare IPv6 su CentOS / RHEL 5

  5. Come disabilitare il servizio avahi-daemon in CentOS/RHEL

Come disabilitare IPv6 su CentOS 7 / RHEL 7

Come disabilitare IPv6 su CentOS 8 / RHEL 8

Come disabilitare la modalità FIPS su CentOS/RHEL 7

Come disabilitare il servizio rpc.quotad in CentOS/RHEL 6 e 7

Come disabilitare il servizio rpc.quotad in CentOS/RHEL

CentOS / RHEL 5, 6:come disabilitare NetworkManager