Many many thanks to JRJones who suggested running:
rm -ir * and answering yes or no to each file.
Since this was root and at least some caution was required, I ran only rm
-i *
The first filename to appear was blank. I answered y and it was deleted.
My original post:
I am in an urgent bind.
A database backup that backs up to a disk file system failed due to lack
of disk space. I can deal with that..
However, when it failed, for some reason it created a 311mb file on the
root filesystem. This file appears to have no name. See the 311256064 size
file below:
alf2:[/]#ls -lt | more
total 363903
-rw------- 1 root system 8208 Apr 6 01:44 .sh_history
dr-xr-xr-x 2 root system 262176 Apr 6 01:44 proc
drwxrwxrwt 3 root system 8192 Apr 6 01:40 tmp
drwxr-xr-x 19 root system 16384 Apr 6 01:02 etc
-rw-rw-r-- 1 root system 311256064 Apr 6 00:48
-rw-rw-r-- 1 root system 235520 Apr 6 00:01 db_structure.tar
-rw-rw-r-- 1 root system 0 Apr 3 22:55 ftp_file.log
-rw-rw-r-- 1 root system 721 Mar 25 13:47 TMP2979.bpo
-rw-rw-r-- 1 root system 721 Mar 25 13:30 TMP2977.bpo
An ls -ltb reveals only and ascii /015 in the name:
alf2:[/]#ls -ltb | more
total 363895
-rw------- 1 root system 8192 Apr 6 01:38 .sh_history
dr-xr-xr-x 2 root system 262176 Apr 6 01:38 proc
drwxrwxrwt 3 root system 8192 Apr 6 01:35 tmp
drwxr-xr-x 19 root system 16384 Apr 6 01:02 etc
-rw-rw-r-- 1 root system 311256064 Apr 6 00:48 \015
-rw-rw-r-- 1 root system 235520 Apr 6 00:01 db_structure.tar
-rw-rw-r-- 1 root system 0 Apr 3 22:55 ftp_file.log
-rw-rw-r-- 1 root system 721 Mar 25 13:47 TMP2979.bpo
I can deal with the backup failure, but this unknown file is taking 311mb
of my 512mb root partition.
How can remove this file safely?
I am running 4.0f patch 4.
Received on Sat Apr 06 2002 - 07:13:14 NZST