Bug 1323151 - virt-make-fs shrink to 3.4Go
Summary: virt-make-fs shrink to 3.4Go
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-01 11:57 UTC by arnaud.bougeard
Modified: 2016-05-08 18:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-08 18:07:03 UTC


Attachments (Terms of Use)

Description arnaud.bougeard 2016-04-01 11:57:41 UTC
Description of problem:
On a 450Go ext3 partion, I create a virtual disk og 20Go.
When begining, virt-make-fs shrink the image file to 3.4Go
And full the file until crash.

Version-Release number of selected component (if applicable):
libguestfs-tools-c-1.32.3-2.fc23.x86_64

How reproducible:
several times

Steps to Reproduce:
1. qemu-img create -f raw /mnt/dest/test.img 20Go
2. virt-format --partition -a /mnt/dest/test.img
3. virt-make-fs /mnt/org /dev/dest/test.img

Actual results:
disk full, crash et image file disappear

Expected results:


Additional info:

Comment 1 Richard W.M. Jones 2016-04-01 12:23:12 UTC
(In reply to arnaud.bougeard from comment #0)
> Description of problem:
> On a 450Go ext3 partion, I create a virtual disk og 20Go.
> When begining, virt-make-fs shrink the image file to 3.4Go
> And full the file until crash.
> 
> Version-Release number of selected component (if applicable):
> libguestfs-tools-c-1.32.3-2.fc23.x86_64
> 
> How reproducible:
> several times
> 
> Steps to Reproduce:
> 1. qemu-img create -f raw /mnt/dest/test.img 20Go
> 2. virt-format --partition -a /mnt/dest/test.img
> 3. virt-make-fs /mnt/org /dev/dest/test.img
                            ^^^ assuming you mean /mnt here

Steps (1) and (2) do nothing.  virt-make-fs creates the
output disk, overwriting anything that is already there.

Comment 2 Pino Toscano 2016-05-05 09:49:42 UTC
Hi Arnaud,

can you please check Rich's questions in comment #1?

Comment 3 arnaud.bougeard 2016-05-08 18:07:03 UTC
works fine with Richard advice


Note You need to log in before you can comment on or make changes to this bug.