search for: extended_partition

Displaying 15 results from an estimated 15 matches for "extended_partition".

2015 May 28
2
Re: [PATCH v2 02/11] resize: add logical_partitions and extended_partition
...d partition. > Add 3 variables to describe this: > - partitions > flat list of primary partitions (as now, the global 'partitions'). > extended partitions is essentially primary partition > > - logical_partitions > flat list of logical partitions > > - extended_partition > one MBR extended partition > > Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> > --- > resize/resize.ml | 37 +++++++++++++++++++++++-------------- > 1 file changed, 23 insertions(+), 14 deletions(-) > > diff --git a/resize/resize.ml b/resize/resize.ml...
2015 May 20
0
[PATCH v2 02/11] resize: add logical_partitions and extended_partition
...r MBR, logical partitions laid inside extended partition. Add 3 variables to describe this: - partitions flat list of primary partitions (as now, the global 'partitions'). extended partitions is essentially primary partition - logical_partitions flat list of logical partitions - extended_partition one MBR extended partition Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- resize/resize.ml | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/resize/resize.ml b/resize/resize.ml index 4c97405..d7a8ce1 100644 --- a/resi...
2015 May 28
1
Re: [PATCH v2 02/11] resize: add logical_partitions and extended_partition
On Thu, May 28, 2015 at 01:13:28PM +0200, Pino Toscano wrote: > In data giovedì 28 maggio 2015 12:06:18, Richard W.M. Jones ha scritto: > > > + let logical_partitions = > > > + List.filter (fun p -> parttype = MBR && p.p_mbr_p_type = LogicalPartition) partitions in > > > + (* Filter out logical partitions. See note above. *) > > > + let
2015 May 28
0
Re: [PATCH v2 02/11] resize: add logical_partitions and extended_partition
In data giovedì 28 maggio 2015 12:06:18, Richard W.M. Jones ha scritto: > > + let logical_partitions = > > + List.filter (fun p -> parttype = MBR && p.p_mbr_p_type = LogicalPartition) partitions in > > + (* Filter out logical partitions. See note above. *) > > + let partitions = > > + (* for GPT, all partitions are regarded as Primary Partition,
2015 May 20
15
[PATCH v2 00/11] virt-resize: add support for resizing MBR logical partitions
...ns. v2: 1) Add 3 variables to describe relationship of logical and extended partitions: - partitions flat list of primary partitions (as now, the global 'partitions'). extended partitions is essentially primary partition - logical_partitions flat list of logical partitions - extended_partition one MBR extended partition 2) reserve enough size when resizing logical partitions Original patches by Hu Tao at: https://www.redhat.com/archives/libguestfs/2014-October/msg00238.html Chen Hanxiao (11): resize: move loop check from find_partitions resize: add logical_partitions and exte...
2015 Jun 16
0
Re: [PATCH v3 00/11] virt-resize: add support for resizing MBR logical partitions
...rimary partitions(including > extended partition) are supported. They are collected in an > array for resize operations. Logical partitions are not > supported. > > This series add support for resizing logical partitions. > > v3: > 1) rewrite partitions/logical_partitions/extended_partition section > by the comments from Rich and Pino. > 2) in 03/11 introduce logical_align for reserve enough space > when resizing logical/extended partitions. > > v2: > 1) Add 3 variables to describe relationship of logical and extended partitions: > - partitions > fla...
2015 Jun 24
0
Re: [PATCH v4 00/11] virt-resize: add support for resizing MBR logical partitions
...partition) are supported. They are collected in an > array for resize operations. Logical partitions are not > supported. > > This series add support for resizing logical partitions. > > v4: > rebase on upstream. > > v3: > 1) rewrite partitions/logical_partitions/extended_partition section > by the comments from Rich and Pino. > 2) in 03/11 introduce logical_align for reserve enough space > when resizing logical/extended partitions. > > v2: > 1) Add 3 variables to describe relationship of logical and extended partitions: > - partitions > fla...
2015 Jul 08
0
Re: [PATCH rebase v4 00/11] virt-resize: add support for resizing MBR logical partitions
...partition) are supported. They are collected in an > array for resize operations. Logical partitions are not > supported. > > This series add support for resizing logical partitions. > > v4: > rebase on upstream. > > v3: > 1) rewrite partitions/logical_partitions/extended_partition section > by the comments from Rich and Pino. > 2) in 03/11 introduce logical_align for reserve enough space > when resizing logical/extended partitions. > > v2: > 1) Add 3 variables to describe relationship of logical and extended partitions: > - partitions > fla...
2015 Jun 03
13
[PATCH v3 00/11] virt-resize: add support for resizing MBR logical partitions
In current virt-resize, only primary partitions(including extended partition) are supported. They are collected in an array for resize operations. Logical partitions are not supported. This series add support for resizing logical partitions. v3: 1) rewrite partitions/logical_partitions/extended_partition section by the comments from Rich and Pino. 2) in 03/11 introduce logical_align for reserve enough space when resizing logical/extended partitions. v2: 1) Add 3 variables to describe relationship of logical and extended partitions: - partitions flat list of primary partitions (as now, th...
2015 Jun 17
13
[PATCH v4 00/11] virt-resize: add support for resizing MBR logical partitions
...resize, only primary partitions(including extended partition) are supported. They are collected in an array for resize operations. Logical partitions are not supported. This series add support for resizing logical partitions. v4: rebase on upstream. v3: 1) rewrite partitions/logical_partitions/extended_partition section by the comments from Rich and Pino. 2) in 03/11 introduce logical_align for reserve enough space when resizing logical/extended partitions. v2: 1) Add 3 variables to describe relationship of logical and extended partitions: - partitions flat list of primary partitions (as now, th...
2015 Jul 06
13
[PATCH rebase v4 00/11] virt-resize: add support for resizing MBR logical partitions
...resize, only primary partitions(including extended partition) are supported. They are collected in an array for resize operations. Logical partitions are not supported. This series add support for resizing logical partitions. v4: rebase on upstream. v3: 1) rewrite partitions/logical_partitions/extended_partition section by the comments from Rich and Pino. 2) in 03/11 introduce logical_align for reserve enough space when resizing logical/extended partitions. v2: 1) Add 3 variables to describe relationship of logical and extended partitions: - partitions flat list of primary partitions (as now, th...
2015 Feb 03
2
Re: [PATCH v5 REBASE 0/4] virt-resize: add support for resizing logical
.... There is one partition which is nominated as the > extended partition (EP), and then logical partitions (LP) live inside > that EP. At the moment we just have a list of partitions and list of > LPs. Do you have any idea about modelling EP and LPs? What I can think of is adding a type extended_partition which is similar to type partition, except that it has a member partitions of type partition list to hold logical partitions. Type extended_partition is better to inherit from type partition, but I don't know how to do it in OCaml. Regards, Hu > > (The other part is that these are sti...
2014 Jul 16
2
Re: virt-resize: support to MBR logical partitions and some question
On Tue, Jul 15, 2014 at 09:01:47AM +0100, Richard W.M. Jones wrote: > The answer is I don't know. But there are a few things you can try: > > (1) Most importantly, enable tracing (export LIBGUESTFS_TRACE=1) and > get a list of operations that are performed in the order they are > performed. This is vital for debugging this. > > (2) When the error happens, run
2015 Jan 28
3
Re: [PATCH v5 REBASE 0/4] virt-resize: add support for resizing logical
On Wed, Dec 17, 2014 at 03:07:11PM +0800, Hu Tao wrote: > On Thu, Oct 30, 2014 at 10:46:52AM +0800, Hu Tao wrote: > > Hi Rich, > > > > This is rebase of v5 series. Meanwhile, I found a bug when shrinking > > partitions, and the fix is incuded in this version (patch 2). > > Hi, > > When support to resizing logical partitions is enabled, there is a >
2015 Feb 26
0
Re: [PATCH v5 REBASE 0/4] virt-resize: add support for resizing logical
...nominated as the > > extended partition (EP), and then logical partitions (LP) live inside > > that EP. At the moment we just have a list of partitions and list of > > LPs. > > Do you have any idea about modelling EP and LPs? > > What I can think of is adding a type extended_partition which is similar > to type partition, except that it has a member partitions of type > partition list to hold logical partitions. However this way is rejected once. See https://www.redhat.com/archives/libguestfs/2014-September/msg00034.html. I'm just having no idea what is the right way...