X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Flvm.c;h=18d6519fa45678f083b6e076e97912109771f6d8;hb=58d1f3c0306d2cd9de8cf16071732f88a36c06c1;hp=e44f4c26754923a51196ba6c054784fa5e32b354;hpb=2bec01ba1fcceb4880aa991e599920be9b68996a;p=libguestfs.git diff --git a/daemon/lvm.c b/daemon/lvm.c index e44f4c2..18d6519 100644 --- a/daemon/lvm.c +++ b/daemon/lvm.c @@ -267,7 +267,7 @@ do_lvresize (const char *logvol, int mbytes) r = command (NULL, &err, "lvm", "lvresize", - "-L", size, logvol, NULL); + "--force", "-L", size, logvol, NULL); if (r == -1) { reply_with_error ("%s", err); free (err);