Demonstrating this to friends who are used to dealing with lesser
hypervisors will shock and amaze them.

Thank you, I appreciated the humor, but he was not out of place. If you did
not work out, read the email subgect. It describes which type of VM it is
set.

I am more than a detailed description of the question, but oh well, let's
again:

For example, we have such KVM machine:

*[root@bacula ~]# vmadm list | grep KVM*
*34d66287-0a73-cc80-c64f-da753975429c  KVM   8048     running
backend_kvm*

When you create a VM you get a set of datasets:
*[root@bacula ~]# zfs list | grep 34d66287-0a73-cc80-c64f-da753975429c*
zones/34d66287-0a73-cc80-c64f-da753975429c             657M  9.36G   657M
 /zones/34d66287-0a73-cc80-c64f-da753975429c
zones/34d66287-0a73-cc80-c64f-da753975429c-disk0      66.0G  1.35T  17.2G  -
zones/cores/34d66287-0a73-cc80-c64f-da753975429c        23K   100G    23K
 /zones/34d66287-0a73-cc80-c64f-da753975429c/cores

Drive directly to the KVM machine data this:

*zones/34d66287-0a73-cc80-c64f-da753975429c-disk0      66.0G  1.35T  17.2G*
[root@bacula ~]# zfs get volsize
zones/34d66287-0a73-cc80-c64f-da753975429c-disk0
NAME                                              PROPERTY  VALUE    SOURCE
zones/34d66287-0a73-cc80-c64f-da753975429c-disk0  volsize   55G      local

This corresponds primarily installed when installing the machine

And its size is not changed through vmadm










2016-12-28 21:35 GMT+02:00 Rob Seastrom <[email protected]>:

>
> > On Dec 28, 2016, at 9:49 AM, Tiraen <[email protected]> wrote:
> >
> >        quota:
> >
> >
> > 1) Zone containing the VM
> >
> > What is in this zone, given the fact that the for information create a
> separate dataset? (disk-0)
>
> I'm not sure I understand the question.
>
> > 2) Besides the standard zfs set/get volsize through vmadm increase in
> drive sizes possible in online?
> 
> vmadm update <uuid> quota=100
> 
> will set your quota to 100 gigabytes, on a running zone, takes effect
> instantly, no need to reboot.  You can adjust up or down, and remember it's
> a quota not a reservation - you can oversubscribe the zpool size and so
> long as everyone doesn't grab space at the same time you're fine (powerful,
> but potentially dangerous in the wrong hands).
> 
> Demonstrating this to friends who are used to dealing with lesser
> hypervisors will shock and amaze them.
> 
> -r
> 



-- 
With best regards,

Vyacheslav Yakushev,

Unix system administrator



-------------------------------------------
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