Comment récupérer le module kvm retiré accidentellement


0

Je l’ai fait accidentellement modprobe -r kvmmais j’ai été incapable de remettre KVM au travail. essayé de le réinstaller par yum install kvmqemu-system-x86.x86_64 2: 2.0.0-1.el7.6 installé.

mais ça ne marche toujours pas.

[root@centos ~]# lsmod  | grep kvm
kvm                   525409  0 

statut libvirtd:

● libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2016-11-01 19:27:40 IST; 2s ago
     Docs: man:libvirtd(8)
           http://libvirt.org
 Main PID: 24959 (libvirtd)
   CGroup: /system.slice/libvirtd.service
           ├─ 3670 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
           ├─ 3671 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
           └─24959 /usr/sbin/libvirtd

Nov 01 19:27:41 centos.chn.com dnsmasq[3670]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Nov 01 19:27:41 centos.chn.com dnsmasq-dhcp[3670]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Nov 01 19:27:41 centos.chn.com libvirtd[24959]: libvirt version: 1.2.17, package: 13.el7_2.5 (CentOS BuildSystem <http://bugs.centos.org>,...tos.org)
Nov 01 19:27:41 centos.chn.com libvirtd[24959]: File /run/media/mukesh/Local Disk SSD/ova/OVA/LabIPA-small/Labipa_2.0_3s-disk1.vmdk matche...dhat.com
Nov 01 19:27:41 centos.chn.com libvirtd[24959]: File /home/mukesh/Downloads/OVA/server2/server2_2.0_5-disk1.vmdk matches vmdk magic, but v...dhat.com
Nov 01 19:27:41 centos.chn.com libvirtd[24959]: File /home/mukesh/Downloads/OVA/server2/server2_2.0_5-disk2.vmdk matches vmdk magic, but v...dhat.com
Nov 01 19:27:41 centos.chn.com libvirtd[24959]: File /home/mukesh/Downloads/OVA/LabIPA-small/Labipa_2.0_3s-disk1.vmdk matches vmdk magic, ...dhat.com
Nov 01 19:27:41 centos.chn.com libvirtd[24959]: File /home/mukesh/Downloads/OVA/IE10.Win7.For.Windows.VMware/IE10_-_Win7-disk1.vmdk matche...dhat.com
Nov 01 19:27:41 centos.chn.com libvirtd[24959]: cannot open path '/home/mukesh/Downloads/LabIPA-small': No such file or directory
Nov 01 19:27:41 centos.chn.com libvirtd[24959]: Failed to autostart storage pool 'LabIPA-small-1': cannot open path '/home/mukesh/Download...irectory
Hint: Some lines were ellipsized, use -l to show in full.

Réponses:


1

L'opposé de modprobe -r kvmest modprobe kvm, cependant, votre lsmodsortie indique que le module kvm kermel est déjà chargé.

Votre problème provient probablement de la deuxième sortie que vous avez incluse, à savoir:

cannot open path '/home/mukesh/Downloads/LabIPA-small': No such file or directory

Ok je ne sais pas ce qui est arrivé il semble fonctionner now.thanks
Munish
En utilisant notre site, vous reconnaissez avoir lu et compris notre politique liée aux cookies et notre politique de confidentialité.
Licensed under cc by-sa 3.0 with attribution required.