bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prunefs/paths on AIX


From: Bernhard Voelker
Subject: Re: prunefs/paths on AIX
Date: Wed, 12 Apr 2023 18:20:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 4/12/23 09:59, AIXperts Consultancy ltd. wrote:
Good morning,

We have a problem with running updatedb on AIX filling up either /var or
/tmp. This seems to come from sort generating temporary files, but it
does not appear to be a problem on Linux. I have scrutinised sort but
cannot explain the difference in it's default option form.

The first problem seems to be `sort`, so let's concentrate on that.
Why is /tmp or /var filling up?  Is the locatedb so huge, or are there
some pseudo paths like /sys or (undetected?) recursive mounts involved?

Second, what `sort` implementation is that?
If it's GNU sort from coreutils, then you can tell it e.g via the environment
variable TMPDIR where to write larger temporary files than in /tmp.

However, I tried rectifying the issues by using prunefs, then
prunepaths, neither which seems to work on AIX. The man page mentions
/etc/mtab, which doesn't exist on AIX, so that could explain prunefs not
working.

"neither ... seems to work" is a bit unspecific.
What's the actual command line you used?
What is the resulting `find` command?

Have a nice day,
Berny




reply via email to

[Prev in Thread] Current Thread [Next in Thread]