Re: [smartos-discuss] KVM zone, how the .... can i set the disksize

2017-06-19 Thread Sebastien Perreault
al/physical): 512 bytes / 4096 bytes
>
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>
>
>
>
>
> Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
>
> Units: sectors of 1 * 512 = 512 bytes
>
> Sector size (logical/physical): 512 bytes / 4096 bytes
>
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>
>
>
>
>
> Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
>
> Units: sectors of 1 * 512 = 512 bytes
>
> Sector size (logical/physical): 512 bytes / 4096 bytes
>
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>
>
>
>
>
> Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
>
> Units: sectors of 1 * 512 = 512 bytes
>
> Sector size (logical/physical): 512 bytes / 4096 bytes
>
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>
>
>
>
>
> Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
>
> Units: sectors of 1 * 512 = 512 bytes
>
> Sector size (logical/physical): 512 bytes / 4096 bytes
>
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>
>
>
>
>
> Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
>
> Units: sectors of 1 * 512 = 512 bytes
>
> Sector size (logical/physical): 512 bytes / 4096 bytes
>
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
>
>
>
>
>
> Disk /dev/vda: 10 GiB, 10737418240 bytes, 20971520 sectors
>
> Units: sectors of 1 * 512 = 512 bytes
>
> Sector size (logical/physical): 512 bytes / 512 bytes
>
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
> Disklabel type: dos
>
> Disk identifier: 0xf82b
>
>
>
> Device BootStart  End  Sectors  Size Id Type
>
> /dev/vda1   2048 16007807 16005760  7.6G 83 Linux
>
> /dev/vda2   16007808 1999  3992192  1.9G 82 Linux swap / Solaris
>
>
>
> I don’t have a /data as it seems, and I don’t know how to create it or
> find it?
>
>
>
>
>
>
>
>
>
> *Van:* Sebastien Perreault [mailto:sperrea...@alesium.net]
> *Verzonden:* maandag 19 juni 2017 22:29
> *Aan:* smartos-discuss 
> *Onderwerp:* Re: [smartos-discuss] KVM zone, how the  can i set the
> disksize
>
>
>
> Hi,
>
>
>
> Can you share your JSON file and do a fdisk you should have a disk at 10GB
> and another disk (mounted as /data) with your 300GB.
>
>
>
> Seb,
>
>
>
> On Mon, Jun 19, 2017 at 4:24 PM, the outsider 
> wrote:
>
> I try to get ubuntu installed with a disksize of 300GB but I always end up
> with a Ubuntu system that has only 10GB disksize.
>
>
>
> I am lost ;-(
>
> Google isn’t my friend in this matter since it returns almost only Solaris
> hits.
>
>
>
>
>
> --
>
> Sebastien Perreault
> Partner
> Les Technologies Alesium Inc
> P: 514-298-7193 <(514)%20298-7193>
> F: 514-221-3668 <(514)%20221-3668>
> E: sperrea...@alesium.net
>
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/26900931-98fbc364> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-- 
Sebastien Perreault
Partner
Les Technologies Alesium Inc
P: 514-298-7193
F: 514-221-3668
E: sperrea...@alesium.net



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


RE: [smartos-discuss] KVM zone, how the .... can i set the disksize

2017-06-19 Thread the outsider
My Json file:

{

  "brand": "kvm",

  "resolvers": [

"194.109.9.99",

"8.8.4.4"

  ],

  "quota": 400,

  "ram": "8069",

  "vcpus": "4",

  "nics": [

{

  "nic_tag": "admin",

  "ip": "192.168.100.192",

  "netmask": "255.255.255.0",

  "gateway": "192.168.100.1",

  "model": "virtio",

  "primary": true,

  "allow_ip_spoofing": "1"

}

  ],

  "disks": [

{

  "image_uuid": "e1fd5576-2bb1-4906-936e-b91ff308d062",

  "boot": true,

  "model": "virtio",

  "quota": 400

}

  ],

"customer_metadata": {

"root_authorized_keys":

  "ssh-rsa B3NzaC"}

}

 

vmadm get b6cda174-0b19-4937-99e5-e1b372dcc4a7 | json quota

400

So the is somthing 400 now?

--

Inside host

ubuntu@b6cda174-0b19-4937-99e5-e1b372dcc4a7:~$ sudo fdisk -l

Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

 

 

Disk /dev/vda: 10 GiB, 10737418240 bytes, 20971520 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disklabel type: dos

Disk identifier: 0xf82b

 

Device BootStart  End  Sectors  Size Id Type

/dev/vda1   2048 16007807 16005760  7.6G 83 Linux

/dev/vda2       16007808 1999  3992192  1.9G 82 Linux swap 

Re: [smartos-discuss] KVM zone, how the .... can i set the disksize

2017-06-19 Thread Sebastien Perreault
Hi,

Can you share your JSON file and do a fdisk you should have a disk at 10GB
and another disk (mounted as /data) with your 300GB.

Seb,

On Mon, Jun 19, 2017 at 4:24 PM, the outsider 
wrote:

> I try to get ubuntu installed with a disksize of 300GB but I always end up
> with a Ubuntu system that has only 10GB disksize.
>
>
>
> I am lost ;-(
>
> Google isn’t my friend in this matter since it returns almost only Solaris
> hits.
>
> *smartos-discuss* | Archives
> 
>  |
> Modify
> 
> Your Subscription 
>



-- 
Sebastien Perreault
Partner
Les Technologies Alesium Inc
P: 514-298-7193
F: 514-221-3668
E: sperrea...@alesium.net



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