* Re: Library size
1995-05-19 4:00 Library size Pier Luigi RATTO
@ 1995-05-19 4:00 ` Steve Strange
1995-05-19 4:00 ` Michael Spratte
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Steve Strange @ 1995-05-19 4:00 UTC (permalink / raw)
In article <3phpip$ek@www.it.net> Pier Luigi RATTO <pier@gepf44.atr.ansaldo.it> writes:
Hi,
I tried to create a library composed of 81 object files (8600 kbytes) with
the following command:
ar rv lib.a *.o
I got the following error message:
/: write failed, file system is full
but the file system is only 15% occupied.
If I reduce the number of the object files, it works fine. Could anyone help me ?
Thank you in advance.
Looks like /tmp is full. "/: write failed" means "/", the root
partition, is full, and perhaps your /tmp lives in your root
partition. ar creates sizable temp files in /tmp, so you may need a
fair amount of space there.
Steve
--
Steve Strange
Digital Equipment Corporation, Nashua, NH
DCE DFS for Digital UNIX (formerly DEC OSF/1) -- Development
strange@zk3.dec.com
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Library size
1995-05-19 4:00 Library size Pier Luigi RATTO
1995-05-19 4:00 ` Steve Strange
@ 1995-05-19 4:00 ` Michael Spratte
1995-05-19 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1995-05-19 4:00 ` Alan Lehotsky
3 siblings, 0 replies; 5+ messages in thread
From: Michael Spratte @ 1995-05-19 4:00 UTC (permalink / raw)
In article <3phpip$ek@www.it.net>, Pier Luigi RATTO <pier@gepf44.atr.ansaldo.it> writes:
|>
|>Hi,
|>I tried to create a library composed of 81 object files (8600 kbytes) with
|>the following command:
|>
|>ar rv lib.a *.o
|>
|>I got the following error message:
|>
|>/: write failed, file system is full
|>
|>but the file system is only 15% occupied.
|>
|>If I reduce the number of the object files, it works fine. Could anyone help me ?
|>Thank you in advance.
|>
|>--
|>Pier Luigi RATTO Ansaldo Trasporti SPA
|>E-mail pier@gepf44.atr.ansaldo.it Via dei Pescatori 35
|>tel. 039-10-5732138 16129 Genova, Italy
|>fax 039-10-5732384
|>
|>
|>
Check to see if /tmp is full. ar uses /tmp, or the TMPDIR environment variable if defined.
See the ar(1) reference page, especially the 'l' option, for more information regarding
temporary files.
Michael Spratte
Digital Equipment Corporation
Colorado Springs, Colorado
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Library size
1995-05-19 4:00 Library size Pier Luigi RATTO
1995-05-19 4:00 ` Steve Strange
1995-05-19 4:00 ` Michael Spratte
@ 1995-05-19 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1995-05-19 4:00 ` Alan Lehotsky
3 siblings, 0 replies; 5+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1995-05-19 4:00 UTC (permalink / raw)
My apologies if you see two copies of this. I canceled the first, but...
In article <3phpip$ek@www.it.net>, Pier Luigi RATTO <pier@gepf44.atr.ansaldo.it> writes:
>I tried to create a library composed of 81 object files (8600 kbytes) with
>the following command:
>
>ar rv lib.a *.o
>
>I got the following error message:
>
>/: write failed, file system is full
>
>but the file system is only 15% occupied.
Which file system? Unless you've made root very much larger than usual
I don't know of ANY root file system that is only 15% full. And the
message *is* telling you which file system filled up. As mentioned by
the another poster ar(1) writes temporary files in /tmp.
It is also important to realize that ar(1) almost certainly cleans up
after itself when it fails. So, while it was using its temporary
file, the file system did fill up. Then when it exited, the temporary
file was removed and the space freed.
Solutions include:
1. Moving /tmp to its own, larger file system (not a bad idea anyway).
2. Taking advantage of the ability (hopefully) of ar(1) to use an
alternate temporary directory specified by the environment variable
TMPDIR.
>Pier Luigi RATTO Ansaldo Trasporti SPA
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Library size
1995-05-19 4:00 Library size Pier Luigi RATTO
` (2 preceding siblings ...)
1995-05-19 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1995-05-19 4:00 ` Alan Lehotsky
3 siblings, 0 replies; 5+ messages in thread
From: Alan Lehotsky @ 1995-05-19 4:00 UTC (permalink / raw)
In article <3phpip$ek@www.it.net>,
Pier Luigi RATTO <pier@gepf44.atr.ansaldo.it> wrote:
>
>I tried to create a library composed of 81 object files (8600 kbytes) with
>the following command:
>
>ar rv lib.a *.o
>
>I got the following error message:
>
>/: write failed, file system is full
>
>but the file system is only 15% occupied.
>
How full is /tmp?
ar uses /tmp. I'm pretty sure you can override this by
setting the TMPDIR environment variable to point somewhere
else.
-- Alan Lehotsky
--
======================================================================
Quality Software Management
8 Tucker Ave.
Lexington, MA 02173
^ permalink raw reply [flat|nested] 5+ messages in thread