1825744 Members
3393 Online
109687 Solutions
New Discussion

root Lvol full

 
Saurabh_3
Occasional Contributor

root Lvol full

Hi
One of our customer is having A-class server
in which root is full.root lvol is mounted separately. Pls help me. I am unable to find any file which can be removed from root to increase the free space in logical lvol.two days back.The DDS2 conected to the server was replaced. Now when i am trying to take the backup after starting the backup after some time Error comes of file system full.Tell me about Log files which can be removed. Or any dump files to be removed.Root file system is 80 mb.

thanks in Advance

5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: root Lvol full

I think I know what probably happened. Do the following:

1) Do an 'ioscan -fnC tape' to see what device files the tape is using. They probably changed after the drive was replaced.

2) cd to the /dev/rmt directory. Look in that directory for any tape device files that are unusually large, like more than 50,000,000 bytes. There is probably one there and it is probably the file that the tape drive WAS on before it got changed.

When the tape drive was replaced, the device files probably changed for some reason. If it was /dev/rmt/0m, it is now probably /dev/rmt/1m. So when you did your backup to /dev/rmt/0m, it created a file in /dev/rmt (which is in the / lv) called 0m and it probably filled up your root lvol.
Alexander M. Ermes
Honored Contributor

Re: root Lvol full

Hi there.
Try a
find / -depth -mtime +1 -exec ll ${} \;
That should show you the files, which have been modified last. The big ones should be
among them.
Rgds
Alexander M. Ermes


.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Alexander M. Ermes
Honored Contributor

Re: root Lvol full

Hi there.
A better way to find the log files :
find / -depth -type f -name *.log
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Andreas Voss
Honored Contributor

Re: root Lvol full

Hi,

here's another way to get a list of big files:

du -akx / | sort -n

Regards
Den Luzon
Occasional Advisor

Re: root Lvol full

Hi,

Try this :

#find / -size +10000 -exec ls -l {} \;

it will show you all big files..