Hi Helge,

Helge Kreutzmann [2006-05-21 18:03 +0200]:
> You can find those (really small files) in
> http://www.helgefjell.de/data/pgupdate_etc.tar.bz2
> and in 
> http://www.helgefjell.de/data/pgupdate_var.tar.bz2

Great, thank you! I'll make it cope with this situation more
gracefully.

> Ok, still too little space, it seems, but:
> remaxp:~# df -h /var
> Dateisystem          Größe Benut  Verf Ben% Eingehängt auf
> /dev/mapper/system_vg-var_lv
>                       6,9G  6,6G   23M 100% /var
> 
> Does postgresql need more than 23 MB to install? 

Yes, an empty standard cluster needs 28 MB for the initially created
structures for the table space, indices, and internal tables.

> Maybe a check could be added then? (And yes, *no* file system is
> full!)

That seems like a good idea, yes. It will make little sense to create
a database with less than 50 MB free. I'll add a check to
pg_createcluster, have it immediately fail with a warning if there's
less than 35 MB available, and warn if there's less than 100.

Thanks,

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature

Reply via email to