On 10/15/2015 07:15 PM, Thiago Damas wrote:
root@sm9:~# pct resize 102 rootfs +0
root@sm9:~# zfs get refquota volumes/subvol-102-disk-1
NAME PROPERTY VALUE SOURCE
volumes/subvol-102-disk-1 refquota none default
root@sm9:~# pct resize 102 rootfs +1
zfs error: cannot set property for 'volumes/subvol-102-disk-1': use
'none' to disable quota/refquota
root@sm9:~# cat /etc/pve/lxc/102.conf
arch: amd64
cpulimit: 1
cpuunits: 1024
hostname: teste
memory: 512
net0:
bridge=vmbr0,gw=192.168.224.1,hwaddr=CE:F4:22:3C:C9:95,ip=192.168.224.205/24,name=eth0,type=veth
<http://192.168.224.205/24,name=eth0,type=veth>
ostype: ubuntu
rootfs: zfs:subvol-102-disk-1,size=16G
swap: 512
This is normal, your container is larger than 1Byte.
root@sm9:~# pct resize 102 rootfs 17G
root@sm9:~# zfs get refquota volumes/subvol-102-disk-1
NAME PROPERTY VALUE SOURCE
volumes/subvol-102-disk-1 refquota 17G local
root@sm9:~# cat /etc/pve/lxc/102.conf
arch: amd64
cpulimit: 1
cpuunits: 1024
hostname: teste
memory: 512
net0:
bridge=vmbr0,gw=192.168.224.1,hwaddr=CE:F4:22:3C:C9:95,ip=192.168.224.205/24,name=eth0,type=veth
<http://192.168.224.205/24,name=eth0,type=veth>
ostype: ubuntu
rootfs: zfs:subvol-102-disk-1,size=17M
swap: 512
This is an known bug see https://bugzilla.proxmox.com/show_bug.cgi?id=752
and is fixed in pve-container lager than 1.0-8
_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user