public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Bertorello, Marco" <me@marcobertorello.it>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: [PVE-User] Container exceed disk size
Date: Tue, 26 Oct 2021 11:42:57 +0200	[thread overview]
Message-ID: <11c22442-2494-4fc5-6622-4968b50b6966@marcobertorello.it> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 2164 bytes --]

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,

-- 
Marco Bertorello
https://www.marcobertorello.it


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

             reply	other threads:[~2021-10-26  9:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26  9:42 Bertorello, Marco [this message]
2021-10-27  7:13 ` Fabian Ebner
2021-10-27  7:31   ` Bertorello, Marco
2021-10-27  7:55     ` Fabian Ebner
2021-10-27  8:03       ` Bertorello, Marco
2021-10-28  8:02         ` Fabian Ebner
2021-10-28  8:10           ` Bertorello, Marco
2021-10-28  8:34             ` Fabian Ebner
2021-10-28  8:44               ` Bertorello, Marco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11c22442-2494-4fc5-6622-4968b50b6966@marcobertorello.it \
    --to=me@marcobertorello.it \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal