search for: do_part_add

Displaying 10 results from an estimated 10 matches for "do_part_add".

2011 Apr 10
1
Error with part-add with bsd partition
Hello,I receive strange error ><fs> part-init /dev/vda bsd ><fs> part-add /dev/vda primary 64 -1 libguestfs: error: part_add: do_part_add: parted: /dev/vda: parted: invalid token: primary Error: Expecting a file system type. but ><fs> part-init /dev/vda msdos ><fs> part-add /dev/vda primary 64 -1 runs ok Log attached. -- Nikita A Menkovich http://libc6.org/ JID: menkovich at gmail.com -------------- next part -...
2012 Feb 06
2
[PATCH 1/2] Revert "daemon: Run udev_settle after pwrite-device finishes."
From: "Richard W.M. Jones" <rjones at redhat.com> This reverts commit a9c8123c72db47bcab8dd738e8d5256a9ae87f11. --- daemon/file.c | 18 +++--------------- daemon/parted.c | 3 +-- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/daemon/file.c b/daemon/file.c index 057e15d..91746e0 100644 --- a/daemon/file.c +++ b/daemon/file.c @@ -525,7 +525,7 @@
2010 Sep 12
1
virt-resize: ntfsresize: location outside device
...G.img created -rw-------. 1 root root 21474836480 Sep 12 13:17 XP-new-20G.img But: virt-resize --expand /dev/sda1 XP.img XP-new-20G.img Summary of changes: /dev/sda1: partition will be resized from 14.6G to 20.0G /dev/sda1: content will be expanded using the 'ntfsresize' method part_add: do_part_add: parted: /dev/vdb: Error: The location 41938815s is outside of the device /dev/vdb. at /usr/bin/virt-resize line 1092. Do I use guestfs to do this? BTW, I originally formatted the new vm as qcow2, but virt-resize doesn't recognize it can expand a qcow2 vm: virt-resize --expand /dev/sda1 XP....
2014 Sep 22
1
Re: [PATCH v3 5/7] resize: add function mbr_part_type
On Mon, Sep 22, 2014 at 03:47:38PM +0800, Hu Tao wrote: > Function mbr_part_type returns one of "primary", "extended" and > "logical". The type is used by parted when adding partitions. > > Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> > --- > resize/resize.ml | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...;-s", "--", device, "mklabel", parttype, NULL); + str_parted, "-s", "--", device, "mklabel", parttype, NULL); if (r == -1) { reply_with_error ("parted: %s: %s", device, err); free (err); @@ -137,7 +140,7 @@ do_part_add (const char *device, const char *prlogex, * this as a bug in the parted mkpart command. */ r = commandf (NULL, &err, COMMAND_FLAG_FOLD_STDOUT_ON_STDERR, - "parted", "-s", "--", + str_parted, "-s", "--",...
2012 Aug 30
1
[PATCH] collect list of called external commands
...;-s", "--", device, "mklabel", parttype, NULL); + str_parted, "-s", "--", device, "mklabel", parttype, NULL); if (r == -1) { reply_with_error ("parted: %s: %s", device, err); free (err); @@ -137,7 +140,7 @@ do_part_add (const char *device, const char *prlogex, * this as a bug in the parted mkpart command. */ r = commandf (NULL, &err, COMMAND_FLAG_FOLD_STDOUT_ON_STDERR, - "parted", "-s", "--", + str_parted, "-s", "--",...
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
...t;, "--", device, "mklabel", parttype, NULL); + "parted", "-s", "--", device, "mklabel", parttype, NULL); if (r == -1) { reply_with_error ("parted: %s: %s", device, err); return -1; @@ -141,7 +137,7 @@ do_part_add (const char *device, const char *prlogex, * this as a bug in the parted mkpart command. */ r = commandf (NULL, &err, COMMAND_FLAG_FOLD_STDOUT_ON_STDERR, - str_parted, "-s", "--", + "parted", "-s", "--",...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...t;, "--", device, "mklabel", parttype, NULL); + "parted", "-s", "--", device, "mklabel", parttype, NULL); if (r == -1) { reply_with_error ("parted: %s: %s", device, err); return -1; @@ -141,7 +139,7 @@ do_part_add (const char *device, const char *prlogex, * this as a bug in the parted mkpart command. */ r = commandf (NULL, &err, COMMAND_FLAG_FOLD_STDOUT_ON_STDERR, - str_parted, "-s", "--", + "parted", "-s", "--",...
2017 Jul 27
3
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
This is a simpler patch that removes GUESTFSD_EXT_CMD completely.
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option ‘./guestfsd --print-external-commands’