From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 64E817970D for ; Wed, 27 Oct 2021 09:22:18 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 62507E95D for ; Wed, 27 Oct 2021 09:22:18 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 9B35BE93A for ; Wed, 27 Oct 2021 09:22:16 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 68CD24351C for ; Wed, 27 Oct 2021 09:13:07 +0200 (CEST) To: pve-user@lists.proxmox.com References: <11c22442-2494-4fc5-6622-4968b50b6966@marcobertorello.it> From: Fabian Ebner Message-ID: <651b6824-4023-2726-5d2d-8f969853e9c5@proxmox.com> Date: Wed, 27 Oct 2021 09:13:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <11c22442-2494-4fc5-6622-4968b50b6966@marcobertorello.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.366 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.215 Looks like a legit reply (A) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com] Subject: Re: [PVE-User] Container exceed disk size X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2021 07:22:18 -0000 Hi, did you do anything special when setting up this container? What does zfs get refquota zp1/subvol-119-disk-0 output? If it's not 8G, you should be able to fix it using zfs set refquota=8G zp1/subvol-119-disk-0 Am 26.10.21 um 11:42 schrieb Bertorello, Marco: > Dear PVE user, > > I setup a container with 8GB disk: > > arch: amd64 > cores: 1 > hostname: adguard > memory: 1024 > net0: > name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=E6:07:A3:9E:86:FB,ip=192.168.1.201/24,type=veth > > onboot: 1 > ostype: ubuntu > rootfs: DS1:subvol-119-disk-0,size=8G > swap: 512 > > but, inside the container, if I run a df -h command, i get: > > root@adguard:~# df -h > Filesystem             Size  Used Avail Use% Mounted on > zp1/subvol-119-disk-0  3.0T   15G  3.0T   1% / > none                   492K  4.0K  488K   1% /dev > tmpfs                   16G     0   16G   0% /dev/shm > tmpfs                  6.3G   92K  6.3G   1% /run > tmpfs                  5.0M     0  5.0M   0% /run/lock > tmpfs                  3.2G     0  3.2G   0% /run/user/0 > > as you can see, the guest OS see the full data storage size (ZFS) and > exceed the 8GB size I configured. > > checking another container on the same host, it works as expected: > > arch: amd64 > cores: 1 > hostname: secret > memory: 512 > net0: > name=eth0,bridge=vmbr0,gw=192.168.2.1,hwaddr=76:3F:CA:A7:0C:3F,ip=192.168.2.253/24,type=veth > > net1: > name=eth1,bridge=vmbr0,hwaddr=7E:FA:30:2B:E5:ED,ip=192.168.1.99/24,type=veth > > onboot: 1 > ostype: ubuntu > rootfs: DS1:subvol-116-disk-0,size=8G > swap: 512 > > root@secret:~# df -h > Filesystem             Size  Used Avail Use% Mounted on > zp1/subvol-116-disk-0  8.0G  2.0G  6.1G  25% / > none                   492K  4.0K  488K   1% /dev > tmpfs                   16G     0   16G   0% /dev/shm > tmpfs                  3.2G  112K  3.2G   1% /run > tmpfs                  5.0M     0  5.0M   0% /run/lock > tmpfs                  3.2G     0  3.2G   0% /run/user/0 > > them are in the same data storage. > > If can be usefull, I'm running PVE 7.0-13, with 5.11.22-5 kernel. > > Any idea, why and how I can solve? > > Thanks a lot and best regards, > > > _______________________________________________ > pve-user mailing list > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user >