Filesystem Full


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Filesystem Full
# 15  
Old 07-17-2005
What filesystem do think contains that file? Not sure? Do:
df -k /var/adm/wtmpx
# 16  
Old 07-18-2005
I have already ran “cp /dev/null /var/adm/wtmpx” and it seems that everything is running smoothly along with the software that we are using. Below is the result after emptying wtmpx file:

# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 741263 518123 163839 76% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 727392 16 727376 1% /var/run
swap 728240 864 727376 1% /tmp
/dev/dsk/c0t0d0s7 36592677 913706 35313045 3% /export/home
/dev/dsk/c0t0d0s4 61407 9 55258 1% /var/dump
/dev/dsk/c0t0d0s3 493527 42 444133 1% /var/tmp


As you've noticed, the available used capacity in /dev/dsk/c0t0d0s0 directory decreased from 88% down to 76%. We gained about 12% more disk space now. I guess this would be enough to keep us going without the need of reformatting our hard disk anymore. Is there any more file/s that we need to empty to give us more additional disk space?

Everytime I open /dev/dsk/c0t0d0s0 directory, the only message I get is, “No open method defined for c0t0d0s0”. Obviously, it does not show what files are stored in it.

After running, “df -k /var/adm/wtmpx”, it came up with the following results:
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 741263 518123 163839 76% /

In additing to this, all files in /var/adm directory resulted to the same output after running df -k.
# 17  
Old 07-18-2005
That means you don't have a separate filesystem for /var or /var/adm (which is a very bad idea, IMHO) and hence the wtmp file is gobbling up your root fs.

To find out which files are using how much you can use the following command:

# du -ks /* | sort -rn

which would give3 you a sorted list of directories along which the number of Kilobytes used by the files in them. Go through the biggest ones and find out, if they contain files you could remove or shorten. For instance, if the output is like that:

123480 /bin
112749 /fubar
...

you can use the command

# du -ks /fubar/* | sort -rn

to investigate further what needs so much space in /fubar and so on.

I'd recommend you ask someone knowledgeable in *NIX to assist you, though, because it needs some system expertise to interpret the output of these commands.

bakunin
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Livedump filesystem almost full

Guy's I'm getting this message Livedump filesystem almost full in errpt logs and its meanning this file system /var/adm/ras/livedump /var has more than 1.5 GB free space .. why I'm getting that message and .. Pls advice to to avoide it ---------- Post updated 03-21-11 at 01:39 AM... (1 Reply)
Discussion started by: Mr.AIX
1 Replies

2. Solaris

Filesystem Full

In our shop we have to run a batch cycle. Every so often while we are running batch we get a filesystem full situation that causes batch to stop or slow down. Anyway, the practiced procedure is to look for large files and zip them. This takes a lot of time. We are in a sun solaris environment. What... (1 Reply)
Discussion started by: Harleyrci
1 Replies

3. AIX

What is the cause of USR filesystem full

we are using aix 5.3 and we notice that the filesystem /usr is almost full. we have an oracle database running on the server.what are the cause why this filesystem is almost full.what should we do to free some space on this filesystem beside increase the size?thanks (4 Replies)
Discussion started by: paulexis
4 Replies

4. UNIX for Dummies Questions & Answers

filesystem is full

Hello everybody, a very basic question. Inspite of me deleting huge files in a filesystem(AIX 5.3) in oracle folder, the filesystem when i check using df -k still shows 100% full. Does that mean there is a process still pointing to the files which i deleted. how do i work around this. Thanks!... (3 Replies)
Discussion started by: karthikosu
3 Replies

5. Red Hat

/ filesystem getting full

Hi All, How do I increase the root filesystem? It's getting full. / 90% Here's the break down, below 232 dev 5624 tmp *6764 bin 16860 root *19680 sbin *20436 lib64 28329 boot *47992 etc 150012 var *254540 lib 651708 home *2445044 usr (5 Replies)
Discussion started by: itik
5 Replies

6. UNIX for Dummies Questions & Answers

filesystem full

my root filesystem is eventually full "/dev/rdsk/c1d0s0" as a result i cannot boot to the operating system, i booted into the fail safe mode to check the space using df -h command i discover that it is eventually full. Also to my amazement i found that i cannot see the filesystem which mounted on... (1 Reply)
Discussion started by: seyiisq
1 Replies

7. Solaris

The filesystem is still full - Solaris 10!

Good morning, sir! I've a problem with FileSystem, the problem is FileSystem is full First time, I've already read carefully the sticky thread FileSystem full - What to lock for https://www.unix.com/sun-solaris/25840-filesystem-full-what-look.html And then, I will post some information of... (4 Replies)
Discussion started by: trantuananh24hg
4 Replies

8. HP-UX

vxfs filesystem full!

Dear all, What should I do with the following error message: vxfs: mesg 001: vx_nospace - /dev/root file system full (1 block extent) Thanks for your advises, (1 Reply)
Discussion started by: hungevntelecom
1 Replies

9. UNIX for Dummies Questions & Answers

/tmp filesystem full

I am running AIX 3 4. When I do a df I get: Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 32768 10232 69% 1309 16% / /dev/hd2 917504 86360 91% 19744 18% /usr /dev/hd9var 131072 67712 49% 617 ... (11 Replies)
Discussion started by: szodiac
11 Replies
Login or Register to Ask a Question