Hi all,
I'm experimenting with kasm and I want to install it on a container. I created a test container and added 1G swap but:
I then read that zfs and swap can be troublesome so, I created a test pve ve with a 32Gi disk and reserved 4Gi at the end for swap:
I the created another container in the pve vm and added 512M for swap but this time I get:
So, the conatainer seems to see all of the pve swap. I'm confused as to how I should allocate swap in lxc. Is the pve swap shared by the containers? Any help is much appreciated
Thanks
NTB
I'm experimenting with kasm and I want to install it on a container. I created a test container and added 1G swap but:
Bash:
alpine-privileged:~# free -h
total used free shared buff/cache available
Mem: 31.3G 27.2G 4.1G 50.1M 368.0K 4.0G
Swap: 0 0 0
Bash:
ls -lah /dev/disk/by-uuid/
swapon 8764af0b-6722-744e-8945-a971ddea1fe3
nano /etc/fstab
free -h
total used free shared buff/cache available
Mem: 7.8Gi 1.3Gi 6.3Gi 46Mi 148Mi 6.3Gi
Swap: 4.0Gi 0B 4.0Gi
Bash:
kasm-test:~# free -h
total used free shared buff/cache available
Mem: 7.8G 1.5G 6.3G 46.7M 624.0K 510.6M
Swap: 4.0G 0 4.0G
Thanks
NTB