Subject: kern/20263: running out of diskspace caused ls to stop working
To: None <gnats-bugs@gnats.netbsd.org>
From: None <chris@netbsd.org>
List: netbsd-bugs
Date: 02/09/2003 13:34:41
>Number:         20263
>Category:       kern
>Synopsis:       ran out of diskspace on a partition, and ls stopped working.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 09 05:33:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6N
>Organization:
>Environment:
	
	
System: NetBSD pinky.buzzbee.plus.com 1.6N NetBSD 1.6N (PINKY) #16: Sat Feb 8 01:41:57 GMT 2003 chris@pinky.buzzbee.plus.com:/usr/obj/kern/current/i386/PINKY i386
Architecture: i386
Machine: i386
>Description:
I was building gmplayer, and it made one of my partitions run out of space:
/extra2: write failed, file system is full
af_volume.o: No space left on device
/var/tmp/ccCDI814.s: Assembler messages:
/var/tmp/ccCDI814.s:665: FATAL: Can't close af_volume.o
: No space left on device
gmake[1]: *** [af_volume.o] Error 1
gmake[1]: Leaving directory `/extra2/obj/pkgsrc/graphics/gmplayer/work.pinky/MPlayer-0.90rc3/libaf'
gmake: *** [libaf/libaf.a] Error 2
*** Error code 2

Natural reaction was to run ls to find more diskspace:
pinky:/extra2> ls
/bin/ls: Exec format error. Binary file not executable.

file /bin/ls
/bin/ls: data

Which is a tad worrying, I restored from my last builds DESTDIR, (note this is the same file) and it started working again.

>How-To-Repeat:
Not sure if this is 100% reproducable.
>Fix:
No idea.
>Release-Note:
>Audit-Trail:
>Unformatted: