VirtualBox

Opened 6 years ago

Closed 6 years ago

#17236 closed defect (fixed)

createrawvmdk core dump => Fixed in SVN

Reported by: Phi Owned by:
Component: virtual disk Version: VirtualBox 5.2.0
Keywords: createrawvmdk core dump Cc:
Guest type: Linux Host type: Linux

Description (last modified by Valery Ushakov)

Hi Guru's,

I get createrawvmdk core dump.

This is Ubuntu 16.04 LTS, virtualbox 5.2.0

The recipe is

RT$ dd if=/dev/zero of=yo.raw bs=1 seek=1073741824 count=1     
1+0 records in
1+0 records out
1 byte copied, 0.000121448 s, 8.2 kB/s

RT$ vboxmanage internalcommands createrawvmdk -filename yo.vmdk -rawdisk yo.raw
Memory fault(coredump)

It took me a little while to discover I kinda goofed on the sparse file creation, my intent was to create a 1 Gb file, while I created here a 1Gb +1 byte sparse file.

A nice error message would be cool.

The workaround is to create the the sparse file correctly

RT$ dd if=/dev/zero of=yo.raw bs=1 seek=1073741823 count=1                     
1+0 records in
1+0 records out
1 byte copied, 0.000102826 s, 9.7 kB/s

RT$ vboxmanage internalcommands createrawvmdk -filename yo.vmdk -rawdisk yo.raw
RAW host disk access VMDK file yo.vmdk created successfully. 

I flag this as 'low prio' as there is a work around.

Cheers, Phi

Change History (3)

comment:1 by Valery Ushakov, 6 years ago

Description: modified (diff)

comment:2 by Valery Ushakov, 6 years ago

Summary: createrawvmdk core dumpcreaterawvmdk core dump => Fixed in SVN

Thanks! Should be fixed in the next dot-dot releases.

comment:3 by aeichner, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use