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 ostype: ubuntu rootfs: zfs:subvol-102-disk-1,size=16G swap: 512 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 ostype: ubuntu rootfs: zfs:subvol-102-disk-1,size=17M swap: 512 2015-10-15 5:10 GMT-03:00 Wolfgang Link <[email protected]>: > What happened if you use > pct resize <VMID> rootfs <size> > on the command line to set the refquota? > > > Thiago Damas <[email protected]> hat am 14. Oktober 2015 um 20:01 > geschrieben: > > > > > > Hi, > > I'm facing problems when migrating containers, living on zfsvols. > > Despite the rootfs showing the right "quota" value, the "refquota" > > attribute of the zfs dataset isnt set on the destination server. > > Sorry for my bad english. > > > > Best regards, > > Thiago > > _______________________________________________ > > pve-user mailing list > > [email protected] > > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user > > Best Regards, > > Wolfgang Link > > [email protected] > http://www.proxmox.com > > ____________________________________________________________________ > Proxmox Server Solutions GmbH > Kohlgasse 51/10, 1050 Vienna, Austria > Commercial register no.: FN 258879 f > Registration office: Handelsgericht Wien > >
_______________________________________________ pve-user mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
