[Bug 565659] Re: qemu-img baseimage creation doesn't warn for image being smaller

2010-05-10 Thread Muelli
It's qcow2 and increasing size is not what the problem is. The problem
is, if the forked image is smaller than the base image. In that case,
qemu-img should not create the image in first place.

-- 
qemu-img baseimage creation doesn't warn for image being smaller
https://bugs.launchpad.net/bugs/565659
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565659] Re: qemu-img baseimage creation doesn't warn for image being smaller

2010-05-10 Thread lavinog
should really raise a warning if ../base-dont-touch.img is smaller than 10GB
Here you are saying if the forked image is larger than the base image.

If QEmu doesn't handle a differnent size, even a bigger one, I don't see why 
qemu-img create -b ... should take a size argument at all.
I just showed that there is a reason why there is a size argument.

If the issue is when the forked image is smaller than the base, I
suspect that the issue is that the filesystem was not reduced in size
first,  kvm-img is not responsible for this.  Did you remember to shrink
your partitions before shrinking the image size?

Also, you do not need to include a size when using -b with the kvm-image create.
Are you intentionally trying to reduce the disk size?  Why?  If you are trying 
to recover space on the host system, you can zero out the free space on the 
guest (bleachbit can do this) then convert your image using -c to compress the 
image...then use that image as a base image.  Qcow2 images only use up what is 
needed.

-- 
qemu-img baseimage creation doesn't warn for image being smaller
https://bugs.launchpad.net/bugs/565659
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565659] Re: qemu-img baseimage creation doesn't warn for image being smaller

2010-05-10 Thread Muelli
You're right. the descriptive text is wrong. In fact, I was typing the
bug report up very quickly.

I did not want to change the size of the base image. Basically I just
wanted to checkpoint my machine. So in fact, I couldn't bother less
about the size and I thought qemu-img made me. But now I've just
realised that you don't need to provide a size argument which I thought
was mandatory.

Although I think it is very a corner case to reduce the image size and
qemu should raise a warning if anybody attempts to decrease the image
size, this could probably be closed as NOTABUG or so.

-- 
qemu-img baseimage creation doesn't warn for image being smaller
https://bugs.launchpad.net/bugs/565659
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565659] Re: qemu-img baseimage creation doesn't warn for image being smaller

2010-05-10 Thread lavinog
** Changed in: qemu-kvm (Ubuntu)
   Status: New = Invalid

-- 
qemu-img baseimage creation doesn't warn for image being smaller
https://bugs.launchpad.net/bugs/565659
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565659] Re: qemu-img baseimage creation doesn't warn for image being smaller

2010-04-20 Thread Mathias Gug
** Changed in: qemu-kvm (Ubuntu)
   Importance: Undecided = Low

-- 
qemu-img baseimage creation doesn't warn for image being smaller
https://bugs.launchpad.net/bugs/565659
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565659] Re: qemu-img baseimage creation doesn't warn for image being smaller

2010-04-17 Thread Muelli

** Attachment added: BootDmesg.txt
   http://launchpadlibrarian.net/44622926/BootDmesg.txt

** Attachment added: CurrentDmesg.txt
   http://launchpadlibrarian.net/44622927/CurrentDmesg.txt

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/44622928/Dependencies.txt

** Attachment added: Lspci.txt
   http://launchpadlibrarian.net/44622929/Lspci.txt

** Attachment added: Lsusb.txt
   http://launchpadlibrarian.net/44622930/Lsusb.txt

** Attachment added: ProcCpuinfo.txt
   http://launchpadlibrarian.net/44622931/ProcCpuinfo.txt

** Attachment added: ProcEnviron.txt
   http://launchpadlibrarian.net/44622932/ProcEnviron.txt

** Attachment added: ProcInterrupts.txt
   http://launchpadlibrarian.net/44622933/ProcInterrupts.txt

** Attachment added: ProcModules.txt
   http://launchpadlibrarian.net/44622934/ProcModules.txt

** Attachment added: RelatedPackageVersions.txt
   http://launchpadlibrarian.net/44622935/RelatedPackageVersions.txt

** Attachment added: UdevDb.txt
   http://launchpadlibrarian.net/44622936/UdevDb.txt

** Attachment added: UdevLog.txt
   http://launchpadlibrarian.net/44622937/UdevLog.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/44622938/XsessionErrors.txt

-- 
qemu-img baseimage creation doesn't warn for image being smaller
https://bugs.launchpad.net/bugs/565659
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs