[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: "Not enough space" with slapadd (was: Re: my searchs doesn't use indexes)

fre, 2002-08-02 kl. 13:10 skrev Isaac Cruz Ballesteros:

> I finally decided to migrate to Berkeley DB, so I made a backup with slapcat and
> compiled openldap 2.1.3 with DB 4.0.11.
> Now, I try a "ldapadd <entries.ldif", and after 30 mins, it exits with the error:
> slapadd: could not add entry
> dn="vfsid=34627927198,ou=vfsubscriber,ou=vodafone,c=es,o=vodafone" (line=397746):
> txn_aborted! Not enough space (12)

> /dev/dsk/c0t0d0s1    2052750 1552339  438829    78%    /usr

> Any hints?

Well, off the top of my head.

If you compiled and installed the standard source code without changing
the install prefix, things will get installed in
/usr/local/var/openldap-data. You appear to have a standard 20MB SCSI
partition there that has much less than 500M free.

Your old ldap database was probably in /var. There isn't much free room
there either, is there?

Don't how you've partitioned of how many disks you already have, but I'd
say your best bet was to buy a new, large SCSI disk, partition it as you
think fit, make (a) file system(s) and mount the relevant DB partition
on /usr/local/var/openldap-data. Maybe you don't have room in the server
for a new disk, maybe a lot of things.

For the rest, I haven't got the faintest idea what you've got on the
thing. /dev/dsk/c0t0d0s1 has a little more than 1G free, maybe you can
shunt som data there?




Tony Earnshaw

The usefulness of RTFM is vastly overrated.

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981

Attachment: signature.asc
Description: Dette er en digitalt signert meldingsdel