Re: Converting from VMDK to RAW

2016-08-08 Thread Victor Sudakov
Thomas Laus wrote: [dd] > > > > > > Probably I don't need any converters at all because the *-flat.vmdk is > > > already a RAW image. > > > > I've even been able to reduce the on-disk size of the image from 10G > > to 3,4G with "dd conv=sparse" without any ill effects. > > > You have done a

Re: Converting from VMDK to RAW

2016-08-08 Thread Thomas Laus
> Victor Sudakov wrote: > > > > I have downloaded the VM disk from VMware ESXi and the image consists > > of two files: myhost-flat.vmdk and myhost.vmdk. The latter is a small > > text file containing meta-information about the disk. The former looks > > like a RAW disk, at least I can mdconfig

Re: Converting from VMDK to RAW

2016-08-08 Thread Victor Sudakov
Victor Sudakov wrote: > > I have downloaded the VM disk from VMware ESXi and the image consists > of two files: myhost-flat.vmdk and myhost.vmdk. The latter is a small > text file containing meta-information about the disk. The former looks > like a RAW disk, at least I can mdconfig it and mount

Re: Converting from VMDK to RAW

2016-08-08 Thread Victor Sudakov
Thomas Laus wrote: > > > > I would like to convert some FreeBSD VMs from VMware to bhyve. Which > > is the best way to convert virtual disks from the VMDK to the RAW > > format (which I think is the format bhyve uses)? > > > I have used /devel/vmdktool to do the job in the past. It has always >

Re: Converting from VMDK to RAW

2016-08-07 Thread Matt Thyer
_ > From: owner-freebsd-virtualizat...@freebsd.org < > owner-freebsd-virtualizat...@freebsd.org> on behalf of J. Hellenthal < > jhellent...@dataix.net> > Sent: Sunday, August 7, 2016 7:37:23 AM > To: Victor Sudakov > Cc: freebsd-virtualization@freebsd.o

Re: Converting from VMDK to RAW

2016-08-07 Thread Justin Holcomb
-freebsd-virtualizat...@freebsd.org <owner-freebsd-virtualizat...@freebsd.org> on behalf of J. Hellenthal <jhellent...@dataix.net> Sent: Sunday, August 7, 2016 7:37:23 AM To: Victor Sudakov Cc: freebsd-virtualization@freebsd.org Subject: Re: Converting from VMDK to RAW I'm going to ass

Re: Converting from VMDK to RAW

2016-08-07 Thread J. Hellenthal
I'm going to assume you have virtual box where VBoxManage is a tool that you can use to convert to raw. If not qemu-img convert can also do the same and is available via ports. Either way you should be able to get a raw image out of either. -- Onward!, Jason Hellenthal, Systems & Network

Converting from VMDK to RAW

2016-08-07 Thread Victor Sudakov
Colleagues, I would like to convert some FreeBSD VMs from VMware to bhyve. Which is the best way to convert virtual disks from the VMDK to the RAW format (which I think is the format bhyve uses)? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:suda...@sibptus.tomsk.ru