[pve-devel] lxc: mounting a tmpfs inside CT from config file?

Alexandre DERUMIER aderumier at odiso.com
Mon Aug 22 14:31:15 CEST 2016


Ok,
I'm feeling stupid, simply add it in /etc/fstab in CT is doing the job

Sorry for disturb


----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 22 Août 2016 14:25:49
Objet: [pve-devel] lxc: mounting a tmpfs inside CT from config file?

Hi, 

I need to create a lxc CT, with a tmpfs inside. 


I had tried something like: 

lxc.mount.entry: tmpfs /mytmfs tmpfs size=1000M,mode=0777 0 0 

but nothing is mounted 


running command 
mount -t tmpfs -o size=1000M tmpfs /mytmfs 

is working fine 



_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 




More information about the pve-devel mailing list