Displaying 2 results from an estimated 2 matches for "virfilewaitfordevices".
2014 Mar 07
3
"connection refused", but server is listening
netstat -lptu
gives me
tcp6 0 0 [::]:16514 [::]:* LISTEN
1314/libvirtd
so the server is correctly listening on interfaces.
My /etc/libvirt/libvirtd settings are defaulted.
My /etc/default/libvirt-bin has "-d -l" options so server is listening.
If I do virsh -c qemu://143.225.229.190/system (that is my ip or an ip
belonging to my network) I
2011 Oct 27
1
delete lvm problem: exited with non-zero status 5 and signal 0
...delete use vol.delete(0).
But it's not often occur, just once in nearly 8.
I know the delete function virStorageBackendLogicalDeleteVol as this:
{
{
const char *cmdargv[] = {
LVREMOVE, "-f",vol->target.path, NULL
};
virCheckFlags(0, -1);
virFileWaitForDevices();
if (virRun(cmdargv, NULL) < 0)
return -1;
return 0;
}
Could I change it like this: ?
if (virRun(cmdargv, NULL) < 0)
const char *changeCmdarg[] = {
LVCHANGE, "-a", "n", vol->target.path, NULL
};
if(virRun(cha...