Mageia Bugzilla – Attachment 9392 Details for
Bug 21017
qemu-nbd failes to mount a qcow2 image
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
CLI output of qemu-nbd (more detailed)
qemu-nbd.log (text/plain), 3.23 KB, created by
Ulrich Beckmann
on 2017-06-04 17:03:37 CEST
(
hide
)
Description:
CLI output of qemu-nbd (more detailed)
Filename:
MIME Type:
Creator:
Ulrich Beckmann
Created:
2017-06-04 17:03:37 CEST
Size:
3.23 KB
patch
obsolete
>[root@localhost Qemu VMs]# ls -l >total 17192264 >-rw-r--r-- 1 root root 3455975424 Jun 3 10:26 Mageia-6rc-0526.ovl >-rw------- 1 root root 5526978560 Jun 4 12:36 Mageia-6rc-b-0520-clone.img >-rw-r--r-- 1 root root 4692901888 Jun 4 12:37 Mageia-6rc-b-0525-clone.ovl >-rw------- 1 476 472 12887130112 May 26 20:08 Mageia-6rc.img >[root@localhost Qemu VMs]# >[root@localhost Qemu VMs]# qemu-nbd -c /dev/nbd0 Mageia-6rc-b-0520-clone.img >[root@localhost Qemu VMs]# >[root@localhost Qemu VMs]# fdisk -l /dev/nbd0 >Disk /dev/nbd0: 12 GiB, 12884901888 bytes, 25165824 sectors >Units: sectors of 1 * 512 = 512 bytes >Sector size (logical/physical): 512 bytes / 512 bytes >I/O size (minimum/optimal): 512 bytes / 512 bytes >Disklabel type: dos >Disk identifier: 0x00000000 > >Device Boot Start End Sectors Size Id Type >/dev/nbd0p1 * 2048 21208319 21206272 10,1G 83 Linux >/dev/nbd0p2 21211092 25165727 3954636 1,9G 5 Extended >/dev/nbd0p5 21211136 25165727 3954592 1,9G 82 Linux swap / Solaris >[root@localhost Qemu VMs]# >[root@localhost Qemu VMs]# mount /dev/nbd0p1 /mnt >mount: special device /dev/nbd0p1 does not exist >[root@localhost Qemu VMs]# >[root@localhost Qemu VMs]# qemu-nbd -c /dev/nbd1 Mageia-6rc-b-0525-clone.ovl >[root@localhost Qemu VMs]# >[root@localhost Qemu VMs]# fdisk -l /dev/nbd1 >Disk /dev/nbd1: 12 GiB, 12884901888 bytes, 25165824 sectors >Units: sectors of 1 * 512 = 512 bytes >Sector size (logical/physical): 512 bytes / 512 bytes >I/O size (minimum/optimal): 512 bytes / 512 bytes >Disklabel type: dos >Disk identifier: 0x00000000 > >Device Boot Start End Sectors Size Id Type >/dev/nbd1p1 * 2048 21208319 21206272 10,1G 83 Linux >/dev/nbd1p2 21211092 25165727 3954636 1,9G 5 Extended >/dev/nbd1p5 21211136 25165727 3954592 1,9G 82 Linux swap / Solaris >[root@localhost Qemu VMs]# >[root@localhost Qemu VMs]# mount /dev/nbd1p1 /mnt >mount: special device /dev/nbd1p1 does not exist >[root@localhost Qemu VMs]# >[root@localhost Qemu VMs]# qemu-img info --backing-chain Mageia-6rc-b-0525-clone.ovl >image: Mageia-6rc-b-0525-clone.ovl >file format: qcow2 >virtual size: 12G (12884901888 bytes) >disk size: 2.9G >cluster_size: 65536 >backing file: Mageia-6rc-b-0520-clone.img >Snapshot list: >ID TAG VM SIZE DATE VM CLOCK >3 snapshot3 0 2017-05-29 17:23:02 00:00:00.000 >5 snapshot2 1.1G 2017-06-03 11:31:18 00:02:31.925 >Format specific information: > compat: 1.1 > lazy refcounts: false > refcount bits: 16 > corrupt: false > >image: Mageia-6rc-b-0520-clone.img >file format: qcow2 >virtual size: 12G (12884901888 bytes) >disk size: 5.1G >cluster_size: 65536 >Format specific information: > compat: 1.1 > lazy refcounts: true > refcount bits: 16 > corrupt: false >[root@localhost Qemu VMs]# >[root@localhost Qemu VMs]# qemu-img info --backing-chain Mageia-6rc-b-0520-clone.img >image: Mageia-6rc-b-0520-clone.img >file format: qcow2 >virtual size: 12G (12884901888 bytes) >disk size: 5.1G >cluster_size: 65536 >Format specific information: > compat: 1.1 > lazy refcounts: true > refcount bits: 16 > corrupt: false >[root@localhost Qemu VMs]# > >[root@localhost Qemu VMs]# blkid | grep nbd >/dev/nbd0: PTTYPE="dos" >/dev/nbd1: PTTYPE="dos" >[root@localhost Qemu VMs]#
[root@localhost Qemu VMs]# ls -l total 17192264 -rw-r--r-- 1 root root 3455975424 Jun 3 10:26 Mageia-6rc-0526.ovl -rw------- 1 root root 5526978560 Jun 4 12:36 Mageia-6rc-b-0520-clone.img -rw-r--r-- 1 root root 4692901888 Jun 4 12:37 Mageia-6rc-b-0525-clone.ovl -rw------- 1 476 472 12887130112 May 26 20:08 Mageia-6rc.img [root@localhost Qemu VMs]# [root@localhost Qemu VMs]# qemu-nbd -c /dev/nbd0 Mageia-6rc-b-0520-clone.img [root@localhost Qemu VMs]# [root@localhost Qemu VMs]# fdisk -l /dev/nbd0 Disk /dev/nbd0: 12 GiB, 12884901888 bytes, 25165824 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/nbd0p1 * 2048 21208319 21206272 10,1G 83 Linux /dev/nbd0p2 21211092 25165727 3954636 1,9G 5 Extended /dev/nbd0p5 21211136 25165727 3954592 1,9G 82 Linux swap / Solaris [root@localhost Qemu VMs]# [root@localhost Qemu VMs]# mount /dev/nbd0p1 /mnt mount: special device /dev/nbd0p1 does not exist [root@localhost Qemu VMs]# [root@localhost Qemu VMs]# qemu-nbd -c /dev/nbd1 Mageia-6rc-b-0525-clone.ovl [root@localhost Qemu VMs]# [root@localhost Qemu VMs]# fdisk -l /dev/nbd1 Disk /dev/nbd1: 12 GiB, 12884901888 bytes, 25165824 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/nbd1p1 * 2048 21208319 21206272 10,1G 83 Linux /dev/nbd1p2 21211092 25165727 3954636 1,9G 5 Extended /dev/nbd1p5 21211136 25165727 3954592 1,9G 82 Linux swap / Solaris [root@localhost Qemu VMs]# [root@localhost Qemu VMs]# mount /dev/nbd1p1 /mnt mount: special device /dev/nbd1p1 does not exist [root@localhost Qemu VMs]# [root@localhost Qemu VMs]# qemu-img info --backing-chain Mageia-6rc-b-0525-clone.ovl image: Mageia-6rc-b-0525-clone.ovl file format: qcow2 virtual size: 12G (12884901888 bytes) disk size: 2.9G cluster_size: 65536 backing file: Mageia-6rc-b-0520-clone.img Snapshot list: ID TAG VM SIZE DATE VM CLOCK 3 snapshot3 0 2017-05-29 17:23:02 00:00:00.000 5 snapshot2 1.1G 2017-06-03 11:31:18 00:02:31.925 Format specific information: compat: 1.1 lazy refcounts: false refcount bits: 16 corrupt: false image: Mageia-6rc-b-0520-clone.img file format: qcow2 virtual size: 12G (12884901888 bytes) disk size: 5.1G cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: true refcount bits: 16 corrupt: false [root@localhost Qemu VMs]# [root@localhost Qemu VMs]# qemu-img info --backing-chain Mageia-6rc-b-0520-clone.img image: Mageia-6rc-b-0520-clone.img file format: qcow2 virtual size: 12G (12884901888 bytes) disk size: 5.1G cluster_size: 65536 Format specific information: compat: 1.1 lazy refcounts: true refcount bits: 16 corrupt: false [root@localhost Qemu VMs]# [root@localhost Qemu VMs]# blkid | grep nbd /dev/nbd0: PTTYPE="dos" /dev/nbd1: PTTYPE="dos" [root@localhost Qemu VMs]#
View Attachment As Raw
Actions:
View
Attachments on
bug 21017
:
9389
| 9392