search for: ntfsresiz

Displaying 20 results from an estimated 181 matches for "ntfsresiz".

Did you mean: ntfsresize
2014 Jul 01
2
Re: libguestfs on proxmox
OK, that seam to work however it is not exactly the correct solution for me since I need to make it one command to be able to call it from an API I have no name!@(none):/# ntfsresize /dev/sda1 ntfsresize v2012.1.15AR.5 (libntfs-3g) ERROR: Volume is scheduled for check. Run chkdsk /f and please try again, or see option -f. I have no name!@(none):/# chkdsk /f bash: chkdsk: command not found I have no name!@(none):/# I have no name!@(none):/# ntfsresize -f /dev/sda1 ntfsresize v...
2014 Jul 01
3
Re: libguestfs on proxmox
...▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒⟧ 00:00 >> libguestfs: trace: launch = 0 >> Expanding /dev/sda1 using the 'ntfsresize' method ... >> libguestfs: trace: ntfsresize "/dev/sda1" "force:false" >> libguestfs: trace: ntfsresize = -1 (error) >> Fatal error: exception Guestfs.Error("ntfsresize: /dev/sda1: ") > > The `ntfsresize' tool is broken somehow, or it...
2014 Jul 01
3
libguestfs on proxmox
...00% ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 00:00 libguestfs: trace: launch = 0 Expanding /dev/sda1 using the 'ntfsresize' method ... libguestfs: trace: ntfsresize "/dev/sda1" "force:false" libguestfs: trace: ntfsresize = -1 (error) Fatal error: exception Guestfs.Error("ntfsresize: /dev/sda1: ") libguestfs: trace: close libguestfs: trace: internal_autosync libguestfs: trace: internal...
2011 Nov 21
2
Virt-resize error (ntfs) : Fatal error: exception Guestfs.Error("ntfsresize_opts: /dev/vda2)
Hi. Libguestfs 1.14 Ubuntu 11.10 I am trying use virt-resize on NTFS partitions. I have installed Windows 2008 in an LVM partition (in order to use RAW) - I am trying to resize to a larger LVM partition. I have ntfsresize installed on the server - the windows partition is not encrypted. root at kvm1:~# ntfsresize -v ntfsresize v2011.4.12AR.4 (libntfs-3g) The attempt ends with an error Fatal error: exception Guestfs.Error("ntfsresize_opts: /dev/vda2) I have attached a txt file of the results where I have u...
2014 Nov 24
1
[PATCH] ntfsresize: Capture errors sent to stdout (RHBZ#1166618).
ntfsresize sends error messages to stdout. Capture those error messages. --- daemon/ntfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/ntfs.c b/daemon/ntfs.c index aef45a2..762ca88 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -94,7 +94,7 @@ do_ntfsresize (const char *dev...
2011 Jul 12
0
[PATCH] Document that ntfsresize cannot be used multiple times (RHBZ#685009).
...gging, etc. http://et.redhat.com/~rjones/virt-top -------------- next part -------------- >From 8cff35784c2227fa6ee114eaa49c30ef33882586 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" <rjones at redhat.com> Date: Tue, 12 Jul 2011 14:13:57 +0100 Subject: [PATCH] Document that ntfsresize cannot be used multiple times (RHBZ#685009). --- generator/generator_actions.ml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index aedbeda..6b53c34 100644 --- a/generator/generator_actions.ml +++...
2010 Sep 12
1
virt-resize: ntfsresize: location outside device
...XP-new-20G.img 20G Vol XP-new-20G.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:...
2015 Oct 16
2
[PATCH] New API: ntfsresize_info
Get minimum size of NTFS filesystem in bytes. This is used primarily for shrinking images. In case of a full images ntfsresize returns error code and does not print minimum size. So we calculate it manually by rounding 'volume size' up to 'cluster size'. --- daemon/ntfs.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 17 +++++++++++++ src/MAX_PROC_NR | 2 +...
2018 Apr 12
0
[PATCH v2 2/2] resize: expand f2fs partitions
...| 10 ++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/resize/resize.ml b/resize/resize.ml index 1a21e4dff..8e4bb1b16 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -136,7 +136,7 @@ let debug_logvol lv = type expand_content_method = | PVResize | Resize2fs | NTFSResize | BtrfsFilesystemResize | XFSGrowFS - | Mkswap + | Mkswap | ResizeF2fs let string_of_expand_content_method = function | PVResize -> s_"pvresize" @@ -145,6 +145,7 @@ let string_of_expand_content_method = function | BtrfsFilesystemResize -> s_"btrfs-filesystem-resize&...
2009 Jan 15
8
Can you convert Windows LVM domU to sparse img file?
I have a Windows 2000 domU running in an LVM partition. I need to move it to another host, but none of my other xen servers have lvm or free space to create an lvm. So I''d like to convert it to a sparse img file. The file system in the domU is ntfs. Can anyone suggest how to do this? Thanks, James _______________________________________________ Xen-users mailing list
2016 Nov 25
3
[PATCH 1/2] daemon: allow to change the labels of swap partitions
--- daemon/daemon.h | 1 + daemon/labels.c | 3 +++ daemon/swap.c | 21 +++++++++++++++++++++ generator/actions.ml | 4 ++++ 4 files changed, 29 insertions(+) diff --git a/daemon/daemon.h b/daemon/daemon.h index 79a5288..2379e31 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -254,6 +254,7 @@ extern int64_t ntfs_minimum_size (const char *device); /*-- in swap.c --*/
2016 Nov 25
0
[PATCH 2/2] resize: shrink/expand swap partitions
...-> "extended partition" + | ContentSwap -> "swap" (* Data structure describing LVs on the source disk. This is only * used if the user gave the --lv-expand option. @@ -130,6 +133,7 @@ let debug_logvol lv = type expand_content_method = | PVResize | Resize2fs | NTFSResize | BtrfsFilesystemResize | XFSGrowFS + | Mkswap let string_of_expand_content_method = function | PVResize -> s_"pvresize" @@ -137,6 +141,7 @@ let string_of_expand_content_method = function | NTFSResize -> s_"ntfsresize" | BtrfsFilesystemResize -> s_"bt...
2018 Apr 12
4
[PATCH 0/2] Support for expanding f2fs partitions
Hi, this small patch series exposes one of the utility in f2fs-tools, and use it to expand f2fs partitions in virt-resize. Thanks, Pino Toscano (2): New API: f2fs_expand resize: expand f2fs partitions daemon/Makefile.am | 1 + daemon/f2fs.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++ generator/actions_core.ml | 9 +++++++++ generator/proc_nr.ml | 1 +
2015 Sep 17
1
Wrong deficit calculation in virt-resize.
...I wanted to shrink the last partition by 1MB (for test, yeah). I shrank the filesystem by 1MB but virt-resize refused to resize to 4095MB image requesting ~2MB more (the numbers you can see in log attached). So I had to shrink the filesystem by 4MB from original: ><fs> debug sh 'ntfsresize -f --info /dev/sdc2' ... Cluster size : 4096 bytes Current volume size: 2097213952 bytes (2098 MB) Current device size: 2101411840 bytes (2102 MB) ... ===============AFTER================== Now virt-resize succeeded. But the deficit miscalculation gave its result. ><fs> bloc...
2015 Oct 19
5
Re: [PATCH 1/2] New API: vfs_min_size
...ion might better explicitly mention that unsupported filesystems will give ENOTSUP as errno on failure. > + > + return r; > +} > diff --git a/daemon/ntfs.c b/daemon/ntfs.c > index 1ead159..b9a645a 100644 > --- a/daemon/ntfs.c > +++ b/daemon/ntfs.c > @@ -153,6 +153,81 @@ do_ntfsresize_size (const char *device, int64_t size) > return do_ntfsresize (device, size, 0); > } > > +int64_t > +ntfs_min_size (const char *device) > +{ > + CLEANUP_FREE char *err = NULL, *out = NULL; > + CLEANUP_FREE_STRING_LIST char **lines = NULL; > + int r; > + size...
2015 Oct 19
5
[PATCHv2 0/2] Introduce vfs_min_size API to get minimum filesystem size.
Tried to make it in accordance with your comments. Difference to v1: Added reply_with_error where necessary. Changed name get_min_size -> vfs_min_size. Maxim Perevedentsev (2): New API: vfs_min_size Include resize2fs_P into vfs_min_size. daemon/Makefile.am | 1 + daemon/daemon.h | 2 ++ daemon/ext2.c | 45 ++++++++++++++++++++++++++----- daemon/fs-min-size.c | 49
2015 Oct 27
1
[PATCHv2] Added xfs support to vfs_minimum_size.
...]; shortdesc = "get minimum filesystem size"; longdesc = "\ @@ -12774,7 +12778,7 @@ This is the minimum possible size for filesystem shrinking. If getting minimum size of specified filesystem is not supported, this will fail and set errno as ENOTSUP. -See also L<ntfsresize(8)>, L<resize2fs(8)>, L<btrfs(8)>." }; +See also L<ntfsresize(8)>, L<resize2fs(8)>, L<btrfs(8)>, L<xfs_info(8)>." }; ] -- 1.8.3.1
2007 Jun 23
6
Resizing Windows LVM makes it unbootable
Hi, I have a working windows lvm of 1.62GB size. I just do an lvextend +1Gb on it, and then the Guest gets stuck at ''booting from harddisk'' the initial stage. Is there something more I should do? I had tried getting it working with parted etc, but it doesn''t seem to work. Is there some documentation on manipulating windows image files and the partitions inside them?
2010 May 21
4
[PATCH 0/4] Allow shrinking of ext2, PVs and NTFS
This patch series allows you to shrink various objects, as requested in the following bugs: https://bugzilla.redhat.com/show_bug.cgi?id=585221 # resize2fs https://bugzilla.redhat.com/show_bug.cgi?id=585222 # pvresize https://bugzilla.redhat.com/show_bug.cgi?id=585223 # ntfsresize The first patch provides a consistent way to specify numbers with suffixes to guestfish, eg: truncate-size /foo 1G It also unifies the number parsing code used by 'alloc' and 'sparse' commands to use the same Gnulib function. Patches 2-4 implement the resizing. With all four...
2015 Oct 20
4
[PATCHv3 0/2] Introduce vfs_min_size API to get minimum filesystem size.
Tried to make it in accordance with your comments. Difference to v1: Added reply_with_error where necessary. Changed name get_min_size -> vfs_min_size. Difference to v2: Changed name to vfs_minimum_size. Changed parsing to xstrtol + STR* macros where possible. Maxim Perevedentsev (2): New API: vfs_min_size Include resize2fs_P into vfs_min_size. daemon/Makefile.am | 1 +