[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to remount the root filesystem to increase available space?



Not exactly the answer to your question, but maybe it helps: live-boot lets you configure the ramdisk size at boot time.

man live-boot:

ramdisk-size
           This  parameters  allows to set a custom ramdisk size (it's the '-o
           size' option of tmpfs mount). By default, there is no ramdisk  size
           set,  so  the  default of mount applies (currently 50% of available
           RAM). Note that this option has no currently no effect when booting
           with toram.

Am 26.09.2016 um 06:04 schrieb Dark Penguin:
This must be a really obvious thing, yet I couldn't find a solution for this for years... so I have to ask here.

Debian-live (Jessie) uses aufs for its root filesystem, and by default the amount of space available is half the total size of RAM. Sometimes I need more space, and I have plenty of RAM to spare. How to remount the root filesystem on-the-fly to increase the space available?

In Squeeze, I don't remember) that was very simple. I could easily see the location of the tmpfs mount for the rw branch of aufs, and simply remount it with any size I need:

sudo mount -o remount,size=6G /lib/live/mount/overlay

In Wheezy and Jessie, that does not work. I can see the "overlay" size changing, but the root filesystem does not change.




Reply to: