On 04/05/2018 06:19 PM, [email protected] wrote:
> Hi.  I'm new to Qubes, and I have an issue.  I am attempting to create a VM 
> template for a software package which needs a larger swap and /tmp space in 
> order to install.  Where are those controlled and how can I provision a 
> Fedora VM with larger/non-standard swap and /tmp?

fedora's /tmp uses tmpfs ; it's mounted by systemd at boot time.

see `systemctl status tmp.mount` and
`/usr/lib/systemd/system/tmp.mount.d/30_qubes.conf to increase its size

alternatively you can increase the size afterwards with

mount -o remount,size=5G /tmp/

if you need to have a disk based tmp you'll have to mask the systemd
unit (`systemctl mask tmp.mount`) and put a fstab entry for /tmp ; but
maybe it'll break stuff...

no idea about how to increase swap from dom0 on R3.2 ; alternatively you
can add swap with a file inside the vm but it's a bit ugly:

dd if=/dev/zero of=swapfile bs=1M count=1000
mkswap swapfile
swapon swapfile


hope this helps

ivan



> 
> Thanks in advance.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2f5be7d7-e935-a006-bd77-e48ea451f615%40maa.bz.
For more options, visit https://groups.google.com/d/optout.

Reply via email to