Installing PostGres - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html) +--- Thread: Installing PostGres (/thread-388.html) |
Installing PostGres - Patrick Mast - 2011-02-16 Dear all, I started installing PostgreSQL 9 using yum and following the guide on http://davidghedini.blogspot.com/2010/10/install-postgresql-9-on-centos.html. However I get the error message: Code: Transaction Check Error: When I check the disk usage i get: Code: Filesystem Size Used Avail Use% Mounted on I can see that there is no space left on '/', but '/usr' and '/var' are mounted on different disks and have enough space for the installation. Is there a way to get the installation done without the need for space on '/'? It is a university machine and I would prefer to not going back to the sys-admins for a re configuration. Thanks a lot! Patrick Installing PostGres - Dungeon-Dave - 2011-02-16 Quote:I can see that there is no space left on '/', but '/usr' and '/var' are mounted on different disks and have enough space for the installation.Unfortunately, / includes /sbin and /etc, which may be needed for the installation. You may want to look at clearing down /, in particular /root - look for stuff downloaded into root's home dir and consider moving those over to /scratch somewhere (looks like plenty of room there), particularly if you log in as root - or graphically - which could deposit plenty of stuff into home directories. In your case, I'm guessing /home is coming off /, meaning it's filling up the root filesystem. The other alternative is (or was) to use Logical Volume Manager during the install. This allows filesystems to be expanded dynamically, so you could have kept /scratch much smaller (10G or so) then dynamically extended other filesystems into unused disk storage when necessary. Try a forum search for the "du" command - there are a few examples that allow you to determine where consumption is taking place, and could indicate clearing down / by moving just a few large files. Hope that helps! |