Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-10 Thread Peter Grehan
Hi Olivier, If you create a sparse file for the bhyve raw disk (e.g. with truncate -s), du will show the actual blocks used rather than the total size. But can I truncate an already existing image disk (downloaded nanobsd image as example) ? Not without some processing. One wa

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-09 Thread Julian Elischer
On 2/8/14, 2:35 AM, Olivier Cochard-Labbé wrote: Hi, just a report of my migration to bhyve. I was using VirtualBox for generate full-meshed network lab of multiple VM (essentially nanobsd based) and have migrated my script to bhyve. My original script is resumed to this kind of usage: ./lab-s

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-09 Thread Marie
Trying this again. First attempt went only to Sami. I think it's awesome that there are projects using FreeBSD technology. However, this list is for discussions related to virtualization in FreeBSD. IMO, there has been a lot of off-topic posts on this list lately, mostly by Aryeh. If I wanted this

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Michael Dexter
On 2/8/14 11:25 PM, Sami Halabi wrote: > As long as its practical and related to the virtualizationn I think its > okay. Correct but this has unfortunately not been the case. > At least he provides a lot of info through his discussions. Off topic is off topic in accordance with the stated FreeBS

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Sami Halabi
As long as its practical and related to the virtualizationn I think its okay. At least he provides a lot of info through his discussions. Sami בתאריך 9 בפבר 2014 01:28, "Michael Dexter" כתב: > > For the curious, Aryeh posted 67 out of January's 276 messages to the > list with the next highest po

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Michael Dexter
For the curious, Aryeh posted 67 out of January's 276 messages to the list with the next highest poster coming in at 21. This is not the proper use of this list. Michael Dexter bhyve volunteer ___ freebsd-virtualization@freebsd.org mailing list http://

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Michael Dexter
On 2/8/14 1:57 PM, Aryeh Friedman wrote: > Starting tomorrow (now that I got the evil empire OS out of the way) I am > going to be adding both networking and storage... in that order but I plan > to handle some "low hanging" things in storage before getting deep into > networking like allowing any

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Aryeh Friedman
On Sat, Feb 8, 2014 at 3:57 PM, Aryeh Friedman wrote: > > > > On Sat, Feb 8, 2014 at 3:54 PM, Adam Vande More wrote: > >> >> On Sat, Feb 8, 2014 at 2:14 PM, Aryeh Friedman >> wrote: >> >>> >>> It sounds almost identical to the qcow2 security issue being discussed >>> on qemu-de...@qemu.org recent

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Aryeh Friedman
On Sat, Feb 8, 2014 at 4:07 PM, Adam Vande More wrote: > > On Sat, Feb 8, 2014 at 2:57 PM, Aryeh Friedman > wrote: > >> >> >> >> On Sat, Feb 8, 2014 at 3:54 PM, Adam Vande More wrote: >> >>> >>> On Sat, Feb 8, 2014 at 2:14 PM, Aryeh Friedman >> > wrote: >>> It sounds almost identical to

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Adam Vande More
On Sat, Feb 8, 2014 at 2:57 PM, Aryeh Friedman wrote: > > > > On Sat, Feb 8, 2014 at 3:54 PM, Adam Vande More wrote: > >> >> On Sat, Feb 8, 2014 at 2:14 PM, Aryeh Friedman >> wrote: >> >>> >>> It sounds almost identical to the qcow2 security issue being discussed >>> on qemu-de...@qemu.org recent

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Aryeh Friedman
On Sat, Feb 8, 2014 at 3:54 PM, Adam Vande More wrote: > > On Sat, Feb 8, 2014 at 2:14 PM, Aryeh Friedman > wrote: > >> >> It sounds almost identical to the qcow2 security issue being discussed on >> qemu-de...@qemu.org recently. This might be a *HUGE* win for bhyve >> then in considering that

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Adam Vande More
On Sat, Feb 8, 2014 at 2:14 PM, Aryeh Friedman wrote: > > > It sounds almost identical to the qcow2 security issue being discussed on > qemu-de...@qemu.org recently. This might be a *HUGE* win for bhyve then > in considering that it's default format is raw (should ahci-hdd be the > default?). d

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Aryeh Friedman
On Sat, Feb 8, 2014 at 3:19 PM, Aryeh Friedman wrote: > > > > On Sat, Feb 8, 2014 at 3:14 PM, Aryeh Friedman > wrote: > >> >> >> >> On Sat, Feb 8, 2014 at 3:01 PM, Adam Vande More wrote: >> >>> >>> On Sat, Feb 8, 2014 at 6:51 AM, Aryeh Friedman >> > wrote: bhyve blindly read/writes into

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Aryeh Friedman
On Sat, Feb 8, 2014 at 3:14 PM, Aryeh Friedman wrote: > > > > On Sat, Feb 8, 2014 at 3:01 PM, Adam Vande More wrote: > >> >> On Sat, Feb 8, 2014 at 6:51 AM, Aryeh Friedman >> wrote: >>> >>> bhyve blindly read/writes into the middle of the file without consulting >>> the filesystem and thus bypass

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Aryeh Friedman
On Sat, Feb 8, 2014 at 3:01 PM, Adam Vande More wrote: > > On Sat, Feb 8, 2014 at 6:51 AM, Aryeh Friedman > wrote: >> >> bhyve blindly read/writes into the middle of the file without consulting >> the filesystem and thus bypassing any things like sparse fill in namely >> all you gain is a few

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Adam Vande More
On Sat, Feb 8, 2014 at 6:51 AM, Aryeh Friedman wrote: > > bhyve blindly read/writes into the middle of the file without consulting > the filesystem and thus bypassing any things like sparse fill in namely > all you gain is a few seconds of startup time (matter of fact I think > truncate might u

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Aryeh Friedman
On Sat, Feb 8, 2014 at 7:34 AM, Adam Vande More wrote: > > On Sat, Feb 8, 2014 at 5:42 AM, Aryeh Friedman > wrote: >> >> bhyve (as far I know) disks must be one solid file (md backed) or a /dev >> block device... therefore it is unlikely the above would work >> > > The reported size would be iden

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Adam Vande More
On Sat, Feb 8, 2014 at 5:42 AM, Aryeh Friedman wrote: > > bhyve (as far I know) disks must be one solid file (md backed) or a /dev > block device... therefore it is unlikely the above would work > The reported size would be identical so I don't see what the problem is. -- Adam __

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Aryeh Friedman
On Sat, Feb 8, 2014 at 6:39 AM, Adam Vande More wrote: > On Sat, Feb 8, 2014 at 5:20 AM, Olivier Cochard-Labbé >wrote: > > > On Fri, Feb 7, 2014 at 8:38 PM, Peter Grehan wrote: > > > > > > > > > > > If you create a sparse file for the bhyve raw disk (e.g. with truncate > > > -s), du will show t

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Adam Vande More
On Sat, Feb 8, 2014 at 5:20 AM, Olivier Cochard-Labbé wrote: > On Fri, Feb 7, 2014 at 8:38 PM, Peter Grehan wrote: > > > > > > > If you create a sparse file for the bhyve raw disk (e.g. with truncate > > -s), du will show the actual blocks used rather than the total size. > > > But can I truncat

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Aryeh Friedman
On Sat, Feb 8, 2014 at 6:20 AM, Olivier Cochard-Labbé wrote: > On Fri, Feb 7, 2014 at 8:38 PM, Peter Grehan wrote: > > > > > > > If you create a sparse file for the bhyve raw disk (e.g. with truncate > > -s), du will show the actual blocks used rather than the total size. > > > But can I truncat

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-08 Thread Olivier Cochard-Labbé
On Fri, Feb 7, 2014 at 8:38 PM, Peter Grehan wrote: > > > If you create a sparse file for the bhyve raw disk (e.g. with truncate > -s), du will show the actual blocks used rather than the total size. But can I truncate an already existing image disk (downloaded nanobsd image as example) ? >

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-07 Thread Bryan Venteicher
- Original Message - > Hi Olivier, > > just a report of my migration to bhyve. > > Yeah !!! > > > First remark comparing the disk format: With an original nanobsd disk image > > of 488MB. > > - Virtualbox format disk size: 133M > > - bhyve raw disk size: 488M > > If you create a sp

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-07 Thread Peter Grehan
Hi Olivier, just a report of my migration to bhyve. Yeah !!! First remark comparing the disk format: With an original nanobsd disk image of 488MB. - Virtualbox format disk size: 133M - bhyve raw disk size: 488M If you create a sparse file for the bhyve raw disk (e.g. with truncate -s), d

Re: Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-07 Thread Warren Block
On Fri, 7 Feb 2014, Olivier Cochard-Labbé wrote: First remark comparing the disk format: With an original nanobsd disk image of 488MB. - Virtualbox format disk size: 133M - bhyve raw disk size: 488M Can bhyve use sparse files for disk images? Thank you for posting the comparison!

Report of my virtual network lab migrated from virtualbox to bhyve

2014-02-07 Thread Olivier Cochard-Labbé
Hi, just a report of my migration to bhyve. I was using VirtualBox for generate full-meshed network lab of multiple VM (essentially nanobsd based) and have migrated my script to bhyve. My original script is resumed to this kind of usage: ./lab-script.sh -i FreeBSD-image-disk -n number-of-vm -l n