[PVE-User] migration of container on zfs

Wolfgang Link w.link at proxmox.com
Fri Oct 16 07:25:00 CEST 2015



On 10/15/2015 07:15 PM, Thiago Damas wrote:
> root at sm9:~# pct resize 102 rootfs +0
>
> root at sm9:~# zfs get refquota volumes/subvol-102-disk-1
> NAME                       PROPERTY  VALUE     SOURCE
> volumes/subvol-102-disk-1  refquota  none      default
>
> root at sm9:~# pct resize 102 rootfs +1
> zfs error: cannot set property for 'volumes/subvol-102-disk-1': use 
> 'none' to disable quota/refquota
> root at 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 at sm9:~# pct resize 102 rootfs 17G
>
> root at sm9:~# zfs get refquota volumes/subvol-102-disk-1
> NAME                       PROPERTY  VALUE     SOURCE
> volumes/subvol-102-disk-1  refquota  17G       local
> root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20151016/1e965bc4/attachment.htm>


More information about the pve-user mailing list