pg_dump not enough space to create a backup FreeBSD 6.1?

From: Joost Kraaijeveld <J(dot)Kraaijeveld(at)Askesis(dot)nl>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_dump not enough space to create a backup FreeBSD 6.1?
Date: 2007-05-16 12:36:45
Message-ID: 1179319005.13002.6.camel@panoramix
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

Running pg_dump on a FreeBSD 6.1 machine gives me:

[root(at)s13(dot)nedstars(dot)nl:/data/even]# pg_dump -Ft -f ./my_db-2007-5-16.backup -U user my_db

/tmp: write failed, filesystem is full
pg_dump: [tar archiver] could not write to tar member (wrote 0,
attempted 86)

pg_dump: *** aborted because of error

[root(at)s13(dot)nedstars(dot)nl:/data/even]# df -h

Filesystem Size Used Avail Capacity Mounted on
/dev/aacd0s1g 125G 5.8G 109G 5% /data
/dev/aacd0s1e 484M 86K 445M 0% /tmp

The database is, when dumped in text format and gzipped, 40 Mb, so I
assume that there is enough space on the /tmp drive to store the temp
files of the pg_dump.

Is that assumption OK? Can I somehow use another partition to store the
temporaray files without changing my /tmp mount?

TIA

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2007-05-16 16:22:23 Re: pg_dump not enough space to create a backup FreeBSD 6.1?
Previous Message Richard Huxton 2007-05-16 10:00:11 Re: [GENERAL] OIDs - file objects, are damaged by PostgreSQL.