* [Bug 1866792] [NEW] formating vdi-disk over nbd fails
@ 2020-03-10 9:57 Eilert
2020-03-11 14:01 ` [Bug 1866792] " Eilert
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Eilert @ 2020-03-10 9:57 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
Hi,
after creating a vdi-image with qemu-vdi and attaching it with qemu-nbd partitioning works fine, but the system hangs up during formating with mkfs.ext4.
Same procedure with qcow2-image works fine
Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
-----------------
#! /bin/sh
qemu-img create -f qcow2 ~/test.qcow2 32G
#qemu-img version 4.1.1 (qemu-4.1.1-1.fc31)
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd2 ~/test.qcow2
#qemu-nbd 4.1.1 (qemu-4.1.1-1.fc31)
parted -s /dev/nbd2 "mklabel gpt"
parted -s -a optimal /dev/nbd2 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd2 "p"
mkfs.ext4 /dev/nbd2p1
#Format hangs up due to IO errors.
#Tested on Fedora 31, kernel 5.5.7-200.fc31.x86_64
mkdir /mnt/test_qcow2
mount /dev/nbd2p1 /mnt/test_qcow2
df -H
-------------------
#! /bin/sh
qemu-img create -f vdi ~/test.vdi 32G
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd4 ~/test.vdi
parted -s /dev/nbd4 "mklabel gpt"
parted -s -a optimal /dev/nbd4 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd4 "p"
mkfs.ext4 /dev/nbd4p1
#Format hangs up due to IO errors
#Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
mkdir /mnt/test_vdi
mount /dev/nbd4p1 /mnt/test_vdi
df -H
----------------------
Kind regards
Eilert
PS.: There may be a connection to this bug:
#1661758 qemu-nbd causes data corruption in VDI-format disk images
** Affects: qemu
Importance: Undecided
Status: New
** Attachment added: "virtual_disk_vdi.sh"
https://bugs.launchpad.net/bugs/1866792/+attachment/5335236/+files/virtual_disk_vdi.sh
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1866792
Title:
formating vdi-disk over nbd fails
Status in QEMU:
New
Bug description:
Hi,
after creating a vdi-image with qemu-vdi and attaching it with qemu-nbd partitioning works fine, but the system hangs up during formating with mkfs.ext4.
Same procedure with qcow2-image works fine
Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
-----------------
#! /bin/sh
qemu-img create -f qcow2 ~/test.qcow2 32G
#qemu-img version 4.1.1 (qemu-4.1.1-1.fc31)
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd2 ~/test.qcow2
#qemu-nbd 4.1.1 (qemu-4.1.1-1.fc31)
parted -s /dev/nbd2 "mklabel gpt"
parted -s -a optimal /dev/nbd2 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd2 "p"
mkfs.ext4 /dev/nbd2p1
#Format hangs up due to IO errors.
#Tested on Fedora 31, kernel 5.5.7-200.fc31.x86_64
mkdir /mnt/test_qcow2
mount /dev/nbd2p1 /mnt/test_qcow2
df -H
-------------------
#! /bin/sh
qemu-img create -f vdi ~/test.vdi 32G
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd4 ~/test.vdi
parted -s /dev/nbd4 "mklabel gpt"
parted -s -a optimal /dev/nbd4 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd4 "p"
mkfs.ext4 /dev/nbd4p1
#Format hangs up due to IO errors
#Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
mkdir /mnt/test_vdi
mount /dev/nbd4p1 /mnt/test_vdi
df -H
----------------------
Kind regards
Eilert
PS.: There may be a connection to this bug:
#1661758 qemu-nbd causes data corruption in VDI-format disk images
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1866792/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1866792] Re: formating vdi-disk over nbd fails
2020-03-10 9:57 [Bug 1866792] [NEW] formating vdi-disk over nbd fails Eilert
@ 2020-03-11 14:01 ` Eilert
2021-05-06 7:12 ` Thomas Huth
2021-07-06 4:17 ` Launchpad Bug Tracker
2 siblings, 0 replies; 4+ messages in thread
From: Eilert @ 2020-03-11 14:01 UTC (permalink / raw)
To: qemu-devel
** Description changed:
Hi,
after creating a vdi-image with qemu-vdi and attaching it with qemu-nbd partitioning works fine, but the system hangs up during formating with mkfs.ext4.
- Same procedure with qcow2-image works fine
+ Same procedure with qcow2-image works fine
Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
-
-----------------
#! /bin/sh
qemu-img create -f qcow2 ~/test.qcow2 32G
#qemu-img version 4.1.1 (qemu-4.1.1-1.fc31)
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd2 ~/test.qcow2
#qemu-nbd 4.1.1 (qemu-4.1.1-1.fc31)
parted -s /dev/nbd2 "mklabel gpt"
parted -s -a optimal /dev/nbd2 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd2 "p"
mkfs.ext4 /dev/nbd2p1
- #Format hangs up due to IO errors.
- #Tested on Fedora 31, kernel 5.5.7-200.fc31.x86_64
mkdir /mnt/test_qcow2
mount /dev/nbd2p1 /mnt/test_qcow2
df -H
-------------------
#! /bin/sh
qemu-img create -f vdi ~/test.vdi 32G
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd4 ~/test.vdi
parted -s /dev/nbd4 "mklabel gpt"
parted -s -a optimal /dev/nbd4 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd4 "p"
mkfs.ext4 /dev/nbd4p1
- #Format hangs up due to IO errors
+ #Format hangs up due to IO errors
#Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
mkdir /mnt/test_vdi
mount /dev/nbd4p1 /mnt/test_vdi
df -H
----------------------
-
Kind regards
- Eilert
+ Eilert
PS.: There may be a connection to this bug:
-
+
#1661758 qemu-nbd causes data corruption in VDI-format disk images
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1866792
Title:
formating vdi-disk over nbd fails
Status in QEMU:
New
Bug description:
Hi,
after creating a vdi-image with qemu-vdi and attaching it with qemu-nbd partitioning works fine, but the system hangs up during formating with mkfs.ext4.
Same procedure with qcow2-image works fine
Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
-----------------
#! /bin/sh
qemu-img create -f qcow2 ~/test.qcow2 32G
#qemu-img version 4.1.1 (qemu-4.1.1-1.fc31)
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd2 ~/test.qcow2
#qemu-nbd 4.1.1 (qemu-4.1.1-1.fc31)
parted -s /dev/nbd2 "mklabel gpt"
parted -s -a optimal /dev/nbd2 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd2 "p"
mkfs.ext4 /dev/nbd2p1
mkdir /mnt/test_qcow2
mount /dev/nbd2p1 /mnt/test_qcow2
df -H
-------------------
#! /bin/sh
qemu-img create -f vdi ~/test.vdi 32G
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd4 ~/test.vdi
parted -s /dev/nbd4 "mklabel gpt"
parted -s -a optimal /dev/nbd4 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd4 "p"
mkfs.ext4 /dev/nbd4p1
#Format hangs up due to IO errors
#Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
mkdir /mnt/test_vdi
mount /dev/nbd4p1 /mnt/test_vdi
df -H
----------------------
Kind regards
Eilert
PS.: There may be a connection to this bug:
#1661758 qemu-nbd causes data corruption in VDI-format disk images
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1866792/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1866792] Re: formating vdi-disk over nbd fails
2020-03-10 9:57 [Bug 1866792] [NEW] formating vdi-disk over nbd fails Eilert
2020-03-11 14:01 ` [Bug 1866792] " Eilert
@ 2021-05-06 7:12 ` Thomas Huth
2021-07-06 4:17 ` Launchpad Bug Tracker
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2021-05-06 7:12 UTC (permalink / raw)
To: qemu-devel
The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.
Thank you and sorry for the inconvenience.
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1866792
Title:
formating vdi-disk over nbd fails
Status in QEMU:
Incomplete
Bug description:
Hi,
after creating a vdi-image with qemu-vdi and attaching it with qemu-nbd partitioning works fine, but the system hangs up during formating with mkfs.ext4.
Same procedure with qcow2-image works fine
Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
-----------------
#! /bin/sh
qemu-img create -f qcow2 ~/test.qcow2 32G
#qemu-img version 4.1.1 (qemu-4.1.1-1.fc31)
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd2 ~/test.qcow2
#qemu-nbd 4.1.1 (qemu-4.1.1-1.fc31)
parted -s /dev/nbd2 "mklabel gpt"
parted -s -a optimal /dev/nbd2 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd2 "p"
mkfs.ext4 /dev/nbd2p1
mkdir /mnt/test_qcow2
mount /dev/nbd2p1 /mnt/test_qcow2
df -H
-------------------
#! /bin/sh
qemu-img create -f vdi ~/test.vdi 32G
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd4 ~/test.vdi
parted -s /dev/nbd4 "mklabel gpt"
parted -s -a optimal /dev/nbd4 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd4 "p"
mkfs.ext4 /dev/nbd4p1
#Format hangs up due to IO errors
#Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
mkdir /mnt/test_vdi
mount /dev/nbd4p1 /mnt/test_vdi
df -H
----------------------
Kind regards
Eilert
PS.: There may be a connection to this bug:
#1661758 qemu-nbd causes data corruption in VDI-format disk images
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1866792/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1866792] Re: formating vdi-disk over nbd fails
2020-03-10 9:57 [Bug 1866792] [NEW] formating vdi-disk over nbd fails Eilert
2020-03-11 14:01 ` [Bug 1866792] " Eilert
2021-05-06 7:12 ` Thomas Huth
@ 2021-07-06 4:17 ` Launchpad Bug Tracker
2 siblings, 0 replies; 4+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-06 4:17 UTC (permalink / raw)
To: qemu-devel
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1866792
Title:
formating vdi-disk over nbd fails
Status in QEMU:
Expired
Bug description:
Hi,
after creating a vdi-image with qemu-vdi and attaching it with qemu-nbd partitioning works fine, but the system hangs up during formating with mkfs.ext4.
Same procedure with qcow2-image works fine
Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
-----------------
#! /bin/sh
qemu-img create -f qcow2 ~/test.qcow2 32G
#qemu-img version 4.1.1 (qemu-4.1.1-1.fc31)
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd2 ~/test.qcow2
#qemu-nbd 4.1.1 (qemu-4.1.1-1.fc31)
parted -s /dev/nbd2 "mklabel gpt"
parted -s -a optimal /dev/nbd2 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd2 "p"
mkfs.ext4 /dev/nbd2p1
mkdir /mnt/test_qcow2
mount /dev/nbd2p1 /mnt/test_qcow2
df -H
-------------------
#! /bin/sh
qemu-img create -f vdi ~/test.vdi 32G
modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd4 ~/test.vdi
parted -s /dev/nbd4 "mklabel gpt"
parted -s -a optimal /dev/nbd4 "mkpart test ext4 2048 32G "
parted -s -a optimal /dev/nbd4 "p"
mkfs.ext4 /dev/nbd4p1
#Format hangs up due to IO errors
#Tested on Fedora 31 kernel 5.5.7-200.fc31.x86_64
mkdir /mnt/test_vdi
mount /dev/nbd4p1 /mnt/test_vdi
df -H
----------------------
Kind regards
Eilert
PS.: There may be a connection to this bug:
#1661758 qemu-nbd causes data corruption in VDI-format disk images
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1866792/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-06 4:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 9:57 [Bug 1866792] [NEW] formating vdi-disk over nbd fails Eilert
2020-03-11 14:01 ` [Bug 1866792] " Eilert
2021-05-06 7:12 ` Thomas Huth
2021-07-06 4:17 ` Launchpad Bug Tracker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.