Just create an etherstub for internal communications.

On Tue, Jan 24, 2017 at 2:14 PM, TRITONIA SOLUTIONS LIMITED <
[email protected]> wrote:

> Ian,
>
> Thanks. I created a zvol on the other pool and connected it up to the
> Windows Server 2012 R2 vm.
>
> Just for reference:
>
> {
>     "add_disks":    [
>       {
>         "media":    "disk",
>         "model":    "virtio",
>         "size":        65536,
>         "nocreate":    true,
>         "boot":        false,
>         "path":        "/dev/zvol/rdsk/fastpool/smbtest1"
>       }
>     ]
> }
>
> Next problem is how to create an internal network for use by the kvm vm's
> but which has no internet access. I know its something that can be done in
> Hyper-V and VMware.
>
> Sean Weatherall
> ------------------------------
> *From:* Ian Collins [[email protected]]
> *Sent:* 24 January 2017 03:25
> *To:* [email protected]
> *Subject:* Re: [smartos-discuss] Use zvol / dataset from GZ in KVM vm
>
> On 24/01/17 12:38 PM, TRITONIA SOLUTIONS LIMITED wrote:
>
> Hi,
>
> Is it possible to have a zvol or dataset from the global zone accessible
> within a KVM virtual machine. I was hoping to setup the new zvol / dataset
> on a different zpool (not zones). I've read some discussions about using
> lofs but that seems to only work with LX or SmartOS zones.
>
> Are you looking to add volume raw (not possible) or as a virtual disk?
>
> If the latter, you can create the volume on another pool and just add it
> as a disk in the machine's JSON with nocreate set true (if creating) or add
> it to an existing machine.
>
> Cheers,
>
> Ian.
>
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/26772761-5af1dc68> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-- 
Greg

http://www.linkedin.com/in/gregtreantos



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to