[Bug 186951] New: qcow2 - filesize 8.1Petabyte

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=186951

            Bug ID: 186951
           Summary: qcow2 - filesize 8.1Petabyte
           Product: Virtualization
           Version: unspecified
    Kernel Version: 3.16.0-4-amd64 / 4.5.5
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx
          Reporter: minecraft7net@xxxxxxxxxxxxxx
        Regression: No

problem :

Filesystem Size Used Avail Use% Mounted on

/dev/sdd1 120G 63G 57G 53% /storage/kvmstorage4ssd

# pwd
/storage/kvmstorage4ssd/images

# qemu-img info vsys19_ssd1.qcow2
image: vsys19_ssd1.qcow2
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: 11G
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: true
    refcount bits: 16
    corrupt: true
# ls -lah vsys19_*
-rw------- 1 root root 8.1P Nov 4 13:16 vsys19_ssd1.qcow2

# ls -la vsys19_*
-rw------- 1 root root 9007203702079488 Nov 4 13:16 vsys19_ssd1.qcow2

# qemu-img check vsys19_ssd1.qcow2
qemu-img: Check failed: File too large

# xfs_repair /dev/sdd1
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
        - scan filesystem freespace and inode maps...
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
Phase 5 - rebuild AG headers and trees...
        - reset superblock...
Phase 6 - check inode connectivity...
        - resetting contents of realtime bitmap and summary inodes
        - traversing filesystem ...
        - traversal finished ...
        - moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
done

# pwd
/storage/kvmstorage4ssd/images

    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/storage/kvmstorage4ssd/images/vsys19_ssd1.qcow2'/>
      <target dev='vdn' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0f'
function='0x0'/>
    </disk>

guest OS:

# uname -a
Linux vsys19 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64
GNU/Linux
cat /etc/debian_version
stretch/sid

Nov 4 01:23:26 vsys19 kernel: [7654313.024844] end_request: I/O error, dev vdk,
sector 8691272
Nov 4 01:23:26 vsys19 kernel: [7654313.025328] EXT4-fs warning (device dm-1):
ext4_end_bio:317: I/O error -5 writing to inode 262305 (offset 0 size 4202496 s
tarting block 1085897)
Nov 4 01:23:26 vsys19 kernel: [7654313.025334] Buffer I/O error on device dm-1,
logical block 1085897
Nov 4 01:23:26 vsys19 kernel: [7654313.025488] Buffer I/O error on device dm-1,
logical block 1085898
Nov 4 01:23:26 vsys19 kernel: [7654313.025632] Buffer I/O error on device dm-1,
logical block 1085899
Nov 4 01:23:26 vsys19 kernel: [7654313.025776] Buffer I/O error on device dm-1,
logical block 1085900
Nov 4 01:23:26 vsys19 kernel: [7654313.025920] Buffer I/O error on device dm-1,
logical block 1085901
Nov 4 01:23:26 vsys19 kernel: [7654313.026064] Buffer I/O error on device dm-1,
logical block 1085902
Nov 4 01:23:26 vsys19 kernel: [7654313.026207] Buffer I/O error on device dm-1,
logical block 1085903
Nov 4 01:23:26 vsys19 kernel: [7654313.026350] Buffer I/O error on device dm-1,
logical block 1085904
Nov 4 01:23:26 vsys19 kernel: [7654313.026500] Buffer I/O error on device dm-1,
logical block 1085905
Nov 4 01:23:26 vsys19 kernel: [7654313.028837] Buffer I/O error on device dm-1,
logical block 1085906
Nov 4 01:23:26 vsys19 kernel: [7654313.031122] end_request: I/O error, dev vdk,
sector 8692280
Nov 4 01:23:26 vsys19 kernel: [7654313.031325] EXT4-fs warning (device dm-1):
ext4_end_bio:317: I/O error -5 writing to inode 262305 (offset 0 size 4202496
starting block 1086023)
Nov 4 01:23:26 vsys19 kernel: [7654313.031388] end_request: I/O error, dev vdk,
sector 8693288
Nov 4 01:23:26 vsys19 kernel: [7654313.031527] EXT4-fs warning (device dm-1):
ext4_end_bio:317: I/O error -5 writing to inode 262305 (offset 0 size 4202496
starting block 1086149)
Nov 4 01:23:26 vsys19 kernel: [7654313.031598] end_request: I/O error, dev vdk,
sector 8694296
Nov 4 01:23:26 vsys19 kernel: [7654313.031736] EXT4-fs warning (device dm-1):
ext4_end_bio:317: I/O error -5 writing to inode 262305 (offset 0 size 4202496
starting block 1086275)
Nov 4 01:23:26 vsys19 kernel: [7654313.031798] end_request: I/O error, dev vdk,
sector 8695304
Nov 4 01:23:26 vsys19 kernel: [7654313.031933] EXT4-fs warning (device dm-1):
ext4_end_bio:317: I/O error -5 writing to inode 262305 (offset 0 size 4202496
starting block 1086401)

KVM host :
# cat /etc/debian_version
stretch/sid

Debian

# uname -a
Linux asus1 4.5.5-custom #1 SMP Sun May 22 21:14:57 CEST 2016 x86_64 GNU/Linux

# dpkg -l | grep -i qemu
ii ipxe-qemu 1.0.0+git-20150424.a25a16d-1 all PXE boot firmware - ROM images
for qemu
ii qemu 1:2.5+dfsg-5+b1 amd64 fast processor emulator
ii qemu-kvm 1:2.5+dfsg-5+b1 amd64 QEMU Full virtualization on x86 hardware
ii qemu-slof 20151103+dfsg-2 all Slimline Open Firmware -- QEMU PowerPC version
ii qemu-system 1:2.5+dfsg-5+b1 amd64 QEMU full system emulation binaries
ii qemu-system-arm 1:2.5+dfsg-5+b1 amd64 QEMU full system emulation binaries
(arm)
ii qemu-system-common 1:2.5+dfsg-5+b1 amd64 QEMU full system emulation binaries
(common files)
ii qemu-system-mips 1:2.5+dfsg-5+b1 amd64 QEMU full system emulation binaries
(mips)
ii qemu-system-misc 1:2.5+dfsg-5+b1 amd64 QEMU full system emulation binaries
(miscelaneous)
ii qemu-system-ppc 1:2.5+dfsg-5+b1 amd64 QEMU full system emulation binaries
(ppc)
ii qemu-system-sparc 1:2.5+dfsg-5+b1 amd64 QEMU full system emulation binaries
(sparc)
ii qemu-system-x86 1:2.5+dfsg-5+b1 amd64 QEMU full system emulation binaries
(x86)
ii qemu-user 1:2.5+dfsg-5+b1 amd64 QEMU user mode emulation binaries
ii qemu-user-binfmt 1:2.5+dfsg-5+b1 amd64 QEMU user mode binfmt registration
for qemu-user
ii qemu-utils 1:2.5+dfsg-5+b1 amd64 QEMU utilities
ii qemubuilder 0.80 amd64 pbuilder using QEMU as backend

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux