Page 1 of 1

Installer does not check for enough available space

Posted: 15. May 2010, 14:04
by damNageHack
Tested with Salix 13.1beta1.

How to reproduce:
1. Create a virtual disc in VirtualBox 3.1.8 with size 4GB.
2. Install Salix with options Auto-Install and Full to the disk. The installer will create a 3GB ext4 partition for / and some swap space.
3. Try to install VirtualBox guest additions, for example -> Fails due to no space left in /tmp.

Reproducable: Always

Comment:
df -h will show that there is 0% space left on / partition with size 3GB.

Actual behaviour:
Installer does its job and writes the partition full of stuff until nothing more possible. No error message visible.

Expected behaviour:
Installer should detect that 3GB partition will not be enough space for a Full installation of Salix OS, containing all stuff. Maybe improve the auto-partitioning in several partitions, not only one "/" for all.
Please implement a verification for enough space available on the partitions to use.

Re: Installer does not check for enough available space

Posted: 15. May 2010, 17:47
by gapan

Re: Installer does not check for enough available space

Posted: 15. May 2010, 18:28
by damNageHack
FULL: 2.4GB
I do not think that this is the trick. As said, 4GB are not enough and a 3GB partition is full faster than you can look. Maybe the requirements should be extended with recommendation to have at least double the size?

Re: Installer does not check for enough available space

Posted: 15. May 2010, 18:40
by gapan
There's no trick. It only needs some common sense to have at least as much empty space as you will need for other stuff after installation.

Re: Installer does not check for enough available space

Posted: 15. May 2010, 21:53
by Akuna
Any disk holding your main system needs about 15 % empty space for temporary files to expand properly or your system is liable to freeze. That usually holds true for most operating systems.

Re: Installer does not check for enough available space

Posted: 16. May 2010, 06:47
by damNageHack
I think that automatic installation for new users that do not know much about a distribution - they maybe only want to test it as first try - should ensure that there is enough space. It is curious to expect that new users have read the wiki, probably place then an hint into the installer.
I guess, those values are only for the 32 bits installer? How about 64 bits and live cd? I have only tested with 32 bits installer ...

Re: Installer does not check for enough available space

Posted: 16. May 2010, 09:34
by SoleSoul
Anyway, I think it would be good to leave an option to skip the disk space test.