VirtualBox

Opened 7 years ago

Last modified 7 years ago

#17236 closed defect

createrawvmdk core dump — at Initial Version

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

Hi Guru's,

I get createrawvmdk core dump.

This is Ubuntu 16.04 LTS, virtualbox 5.2.0

The receipe 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.

RT$

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

Cheers, Phi

Change History (0)

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy