[ubuntu-cloud] RFC on Cloud Images: Make /tmp a tmpfs

Dustin Kirkland kirkland at canonical.com
Thu Jan 14 11:39:23 UTC 2016


On Thu, Jan 14, 2016 at 1:20 PM, Robie Basak <robie.basak at ubuntu.com> wrote:
> On Thu, Jan 14, 2016 at 12:27:58PM +0200, Dustin Kirkland wrote:
>> Moreover, just 'sudo apt-get install swapspace' and watch as swapfiles
>> are created/deleted as needed.  If your root disk is lvm-encrypted,
>> then obviously such swap files are encrypted, too.
>
> I didn't know about this package, thanks.

:-)  You're welcome.

> Should we MIR it and make it available (maybe even installed by default,
> whether enabled or disabled) on the cloud images at the same time? If
> this becomes our standard answer for "but /tmp runs out of space in
> tmpfs" then that feels appropriate to me.

+1!  MIR swapspace, add it to the images, and get rid of static swap
partitions, please :-)



More information about the Ubuntu-cloud mailing list