Page 1 of 1

How to increase aufs root when change file is used [solved]

Posted: 19 Aug 2014, 22:42
by go2null
I'm running Porteus LXDE on a machine with 4GB of RAM, using a 4GB save.dat (with approx 3.5G free) and booting from iso.
With this combination, I am running out of free space on the aufs root as it is only using ~1GB for the aufs root.

How can I increase the RAM allocated to the aufs root when using a save.dat changes file?
(Ideally to 100% available - kinda like allowing ramsize=100% even with a save.dat changes file.)

Here are some snippets.

Code: Select all

kernel /boot/syslinux/vmlinuz from=/boot/images/Porteus-LXDE-v3.0.1-i486.iso
=> uses default ramsize=60% of available RAM (4 - 1.4 * 60% ~= 1.6)

Filesystem     Type      Size  Used Avail Use% Mounted on
aufs           aufs      1.6G  3.7M  1.6G   1% /
devtmpfs       devtmpfs  1.4G     0  1.4G   0% /dev
/dev/sdb1      vfat       30G   12G   18G  41% /mnt/sdb1
/mnt/live/run  none      1.4G  1.2M  1.4G   1% /run

Code: Select all

kernel /boot/syslinux/vmlinuz from=/boot/images/Porteus-LXDE-v3.0.1-i486.iso
  changes=/boot/porteus/porteus-lxde-save.dat

Filesystem     Type      Size  Used Avail Use% Mounted on
aufs           aufs      990M  847M   77M  92% /
devtmpfs       devtmpfs  1.4G     0  1.4G   0% /dev
/dev/sdb1      vfat       30G   12G   18G  41% /mnt/sdb1
/mnt/live/run  none      1.4G  1.4M  1.4G   1% /run

Code: Select all

kernel /boot/syslinux/vmlinuz from=/boot/images/Porteus-LXDE-v3.0.1-i486.iso 
  changes=/boot/porteus/porteus-lxde-save.dat
  changes-ro ramsize=100%

Filesystem     Type      Size  Used Avail Use% Mounted on
aufs           aufs      2.7G  7.2M  2.7G   1% /
devtmpfs       devtmpfs  1.4G     0  1.4G   0% /dev
/dev/sdb1      vfat       30G   12G   18G  41% /mnt/sdb1
/mnt/live/run  none      1.4G  1.4M  1.4G   1% /run

Re: How to increase aufs root when change file is used

Posted: 20 Aug 2014, 05:19
by fanthom
something is wrong.
when changes cheatciode is used then aufs root has the same size as the container/partition where changes are saved. it can be 100GB or 100GB.
if changes-ro is used then aufs root has 60% of your RAM (default value unless changed by ramsize= cheat).

i can bet that your save.dat container is 1GB and not 4GB :)

Re: How to increase aufs root when change file is used

Posted: 20 Aug 2014, 07:47
by go2null
Sorry about the noise - you are right that my save.dat was 1GB.

(I now recall that I had only created a 1GB as I was trying out Porteous and had to use slow dd as can't use fallocate on a FAT32 filesystem.)
(I manually created the save file as I wasn't sure what encryption was used by the included stock save file creator.)