How does storage get mounted in LXC?

lifeboy

Renowned Member
I have an Ubuntu 18.04 Mysql container to which I've allocated 80GB. The underlying FS is ZFS. However, in the container I see this:

Code:
# df -h
Filesystem                 Size  Used Avail Use% Mounted on
Windows/subvol-120-disk-0   40G   21G   19G  54% /
none                       492K     0  492K   0% /dev
udev                        32G     0   32G   0% /dev/tty
tmpfs                       32G     0   32G   0% /dev/shm
tmpfs                       32G  120K   32G   1% /run
tmpfs                      5.0M     0  5.0M   0% /run/lock
tmpfs                       32G     0   32G   0% /sys/fs/cgroup
tmpfs                      6.3G     0  6.3G   0% /run/user/0

Why is 32Gb allocated to tmpfs and / only has 19G available? (The Windows/subvol name stems from the SSD I'm using here)

This is how my container is configured:

Untitled.png

I did read https://pve.proxmox.com/wiki/Linux_Container#pct_mount_points, but it doesn't shed light on the problem for me.
 
Last edited:
hi,

can you post your container config?
 
Code:
# cat /etc/pve/lxc/120.conf
arch: amd64
cores: 4
hostname: reporting
memory: 12288
nameserver: 192.168.0.1 192.168.121.1
net0: name=eth0,bridge=vmbr0,gw=192.168.0.1,hwaddr=C2:A3:22:36:02:E7,ip=192.168.0.72/24,type=veth
onboot: 1
ostype: ubuntu
parent: autodaily191128000002
rootfs: Windows:subvol-120-disk-0,size=60G
searchdomain: xxx.yy
swap: 0
unprivileged: 1

Don't know what good this will do, but here is is.
 
thanks.

can you also check: zfs list dataset/volume -o refquota
my guess is this is set to 40G.

you can change it with: zfs set refquota=80G dataset/volume
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!