2 Apr 2012 11:47
Re: mondorescue: no space left on device
Gattegno, Victor (CPR&Q GCC - ISS/SW Tower <victor_gattegno <at> hp.com>
2012-04-02 09:47:35 GMT
2012-04-02 09:47:35 GMT
Hi Alan, In all the start_udev script versions (RHEL 5, RHEL 5 modified, and RHEL 6), LANG PTSDIR and SHMDIR variables are not defined before the awk section (line #136) ; so if you put the echoes before that line it's normal to see these variables empty. LANG is defined just in the beginning of the awk line. The "mktemp -d" command creates a directory and returns the directory name. # mktemp -d /tmp/tmp.h7g2EEOjgs # ls -ld /tmp/tmp.h7g2EEOjgs drwx------. 2 root root 4096 Apr 2 11:01 /tmp/tmp.h7g2EEOjgs In the awk section, PTSDIR and SHMDIR are defined in all the start_udev script versions (RHEL 5, RHEL 5 modified, and RHEL 6) through: PTSDIR=$(mktemp -d) (line #138) SHMDIR=$(mktemp -d) (line #142) By putting your echoes just after these lines you should see these variables contents. After doing that, if your echoes still show PTSDIR and SHMDIR variables empty, it could be because in your case /tmp is full and then mktemp doesn't succeed and returns an empty string. Rgds, Victor -----Original Message----- From: Alan Pittman [mailto:Alan.Pittman <at> publix.com] Sent: vendredi 30 mars 2012 22:44 To: 'Mondo mailing list'(Continue reading)
RSS Feed