search for: perevedentsev

Displaying 20 results from an estimated 88 matches for "perevedentsev".

2015 Dec 10
3
Re: Bug: windows server 2012R2 fails to start after virt-resize
On 12/10/2015 02:55 PM, Pino Toscano wrote: > On Thursday 10 December 2015 13:55:26 Maxim Perevedentsev wrote: >> Hello everyone! >> >> After I ran virt-resize (v1.31.28) on my disk with win2012R2 >> (partition table [GPT]: VFAT (100M), unknown (128M), NTFS (64G)) >> My VM fails to boot: black screen informing that >> >> Windows failed to start... >> St...
2015 Oct 19
5
Re: [PATCH 1/2] New API: vfs_min_size
On Monday 19 October 2015 17:05:02 Maxim Perevedentsev wrote: > This call provides the way to get minimum size of filesystem. > This is needed for shrinking. The return units are bytes. > > --- > daemon/Makefile.am | 1 + > daemon/daemon.h | 1 + > daemon/fs-min-size.c | 46 ++++++++++++++++++++++++++++++++ > daemon/n...
2015 Nov 24
2
Re: guestunmount issues
On 11/23/2015 07:59 PM, Pino Toscano wrote: > Hi, > > On Monday 23 November 2015 18:29:50 Maxim Perevedentsev wrote: >> 1) guestunmount never returns 3 (not mounted) - i guess it's a bug at >> guestunmount.c:223 > Indeed, thanks for the notice -- just send a patch for it. > >> 2) I don't know whether it's a bug in guestunmount or fusermount, but on >> my machine wh...
2015 Sep 15
4
Question: running appliance commands over guest fs (resize2fs -P).
...The questions are: 1) How to get minimal partition size (equal to resize2fs -P)? 2) More general, how to execute commands from appliance but make them run over image (which may not have anything but filesystem) - I saw something like that in source. Thanks in advance! -- Your sincerely, Maxim Perevedentsev
2015 Oct 20
2
Re: [PATCHv4 1/2] New API: vfs_minimum_size
On Tuesday 20 October 2015 18:45:55 Maxim Perevedentsev wrote: > +int64_t > +do_vfs_minimum_size (const mountable_t *mountable) > +{ > + int64_t r; > + > + /* How we set the label depends on the filesystem type. */ Just noticed now: this comment should be really fitting more the new function... :) -- Pino Toscano
2015 Oct 27
3
libguestfs-winsupport
...fs-winsupport, the appliance uses v2015). I found on ~rjones/ libguestfs-winsupport-7.2.1 (without ntfs-3g inside, as I understood) and it causes no conflicts at first glance. It it ready for production, can I use it in my 7.1-based distro with ntfs-3g-2015 from epel? -- Your sincerely, Maxim Perevedentsev
2015 Oct 20
2
Re: [PATCHv4 0/2] Introduce vfs_minimum_size API to get minimum filesystem size.
On Tue, Oct 20, 2015 at 08:56:25PM +0300, Maxim Perevedentsev wrote: > I have an issue with btrfs: > > There's an API > > btrfs inspect-internal min-dev-size /sysroot/ > > But this API is available only in btrfs-progs >= 4.2. > Before this, there's no reliable way to get minimum size (I could > parse "btrfs filesys...
2015 Sep 15
1
Re: Question: running appliance commands over guest fs (resize2fs -P).
On 09/15/2015 04:57 PM, Richard W.M. Jones wrote: > On Tue, Sep 15, 2015 at 04:31:46PM +0300, Maxim Perevedentsev wrote: >> Hello everyone! >> >> I am working on resizing qcow2 images using virt-resize+liguestfs. > If you're shrinking, I believe a better way to do this is to sparsify > the image. And how would it help? If I shrink, a want a VM to occupy less maximum space. virt-spa...
2015 Oct 20
1
[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 + daemon/daemon.h | 2 ++ daemon/ext2.c | 62 ++++++++++++++++++++++++++++++++----- daemon/fs-min-size.c | 49 +++++++++++++++++++++++++++++ daemon/ntfs.c | 87 ++++++++++++++++++++...
2015 Dec 16
0
Re: Bug: windows server 2012R2 fails to start after virt-resize
Just to remind: I am waiting for reaction on this issue. I will create a patch for part_get/set_disk_guid, if you agree this feature is useful. Thanks! On 12/10/2015 04:34 PM, Maxim Perevedentsev wrote: > On 12/10/2015 02:55 PM, Pino Toscano wrote: >> On Thursday 10 December 2015 13:55:26 Maxim Perevedentsev wrote: >>> Hello everyone! >>> >>> After I ran virt-resize (v1.31.28) on my disk with win2012R2 >>> (partition table [GPT]: VFAT (100M), unk...
2015 Sep 15
1
Re: Question: running appliance commands over guest fs (resize2fs -P).
On 09/15/2015 05:37 PM, Richard W.M. Jones wrote: > On Tue, Sep 15, 2015 at 05:17:16PM +0300, Maxim Perevedentsev wrote: >> On 09/15/2015 04:57 PM, Richard W.M. Jones wrote: >>>> 2) More general, how to execute commands from appliance but make >>>> them run over image (which may not have anything but filesystem) - I >>>> saw something like that in source. >>>...
2015 Oct 20
8
[PATCHv4 0/2] Introduce vfs_minimum_size API to get minimum filesystem size.
...ccordance 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. Difference to v3: Decapitalize error messages. Maxim Perevedentsev (2): New API: vfs_minimum_size Include resize2fs_P into vfs_minimum_size. daemon/Makefile.am | 1 + daemon/daemon.h | 2 ++ daemon/ext2.c | 62 ++++++++++++++++++++++++++++++++----- daemon/fs-min-size.c | 49 +++++++++++++++++++++++++++++ daemon/ntfs.c | 87 ++++++++++++...
2015 Nov 23
2
guestunmount issues
...matters. I'd like someone to compare results with mine, and, possibly, give me some explanations about why it's going like this and how to distinguish non-mounted mountpoints from busy ones (I guess I'll have to parse umount {} output). Thanks in advance! -- Your sincerely, Maxim Perevedentsev
2015 Nov 06
2
Hierarchical local mount
...t-local mnt/ : mount-local-run" kill -TERM `pidof guestfish` guestunmount mnt/ Is any of these options safe enough/preferred? Or, maybe, other options? I'd like to avoid guestfs API, threading and so on, and confine myself to command-line. Thanks in advance! -- Your sincerely, Maxim Perevedentsev
2015 Oct 14
2
Re: [PATCH] New API: resize2fs_P
...rfs, xfs). I think we should preserve original command's behavior (well-documented, obviously!) and leave the conversion between blocks, megabytes, etc to user. Maybe (later) we could implement aggregated call (getMinFsSizeInBytes()) to perform all this conversions. -- Your sincerely, Maxim Perevedentsev
2015 Dec 10
2
Bug: windows server 2012R2 fails to start after virt-resize
...I suggest adding get/set disk GUID to API and to virt-resize as well. Otherwise it is impossible to resize disks with this particular OS (not only this one, possibly). And yeah, libguestfs strips partition names, but windows seems to ignore that. Waiting for comments. -- Your sincerely, Maxim Perevedentsev
2016 Jul 07
7
[PATCH 0/3] fix btrfs subvolume procession in tools
...sify. Here we have a common functionality: is_btrfs_subvolume. Doesn't it make sense to turn it into guestfs API? Also I found an issue. In 'virt-sysprep fs-uuids', the uuids for ALL filesystems are regenerated as many times as many roots are in guest. Is it done intentionally? Maxim Perevedentsev (3): mllib: add checking for btrfs subvolume sparsify: fix btrfs subvolume processing in is_read_only_lv sysprep: fix btrfs subvolume processing in fs-uuids mllib/common_utils.ml | 10 ++++++++++ mllib/common_utils.mli | 3 +++ sparsify/utils.ml...
2015 Nov 10
1
Re: Hierarchical local mount
On 11/06/2015 05:08 PM, Richard W.M. Jones wrote: > On Fri, Nov 06, 2015 at 04:16:21PM +0300, Maxim Perevedentsev wrote: >> Hello everyone! >> >> I have to implement the functionality of mounting all VM disks/partitions. >> >> E.g. if a VM has 2 disks of 2 partitions each (I get it from >> virt-filesystems), I want to get the following structure on host >> node after m...
2015 Dec 01
3
[PATCHv2] New API: part_expand_gpt.
...pl TESTS_ENVIRONMENT = $(top_builddir)/run --test $(VG) diff --git a/tests/daemon/test-expand-gpt.pl b/tests/daemon/test-expand-gpt.pl new file mode 100755 index 0000000..637b90e --- /dev/null +++ b/tests/daemon/test-expand-gpt.pl @@ -0,0 +1,69 @@ +#!/usr/bin/env perl +# Copyright (C) 2015 Maxim Perevedentsev mperevedentsev@virtuozzo.com +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This prog...
2015 Dec 09
2
Bug: part_set_name does not enquote name
...on table. Perhaps you selected the wrong device? Warning: Error fsyncing/closing /dev/null: Invalid argument parted -m -- /dev/sda unit b print parted -m -- /dev/sda unit b print libguestfs: trace: part_get_name = "Basic" Basic -- С уважением, Максим Переведенцев Your sincerely, Maxim Perevedentsev