Displaying 1 result from an estimated 1 matches for "cmdargv".
Did you mean:
cmdargs
2011 Oct 27
1
delete lvm problem: exited with non-zero status 5 and signal 0
...and run the command:
" sudo lvchange -a n /dev/vg.vmms/lvm-v097222.sqa.cm4"
and then the volume could 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...