Operating System - HP-UX
1837764 Members
3666 Online
110119 Solutions
New Discussion

Re: /root file system been full

 
Punithan
Advisor

/root file system been full

hi
now i got 2 L-class server that been clustered
with same configuration and same size
what is my one of my server / file system all most full but when we check saiz of the data in the 2 servers is same i also that been restart the and still the same

bye
baba
System Engineer
8 REPLIES 8
T G Manikandan
Honored Contributor

Re: /root file system been full

check this link

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbe6e1cc6003bd6118fff0090279cd0f9,00.html

do a
du -k|sort -nr|more
and find the directory which is occupying more space.
find / -name core -exec ll {}\;
find / -name "*.tar" -exec ll {} \;
Also check your /dev/rmt directory for any files with huge size.

Also check whether you have extracted some contents to a file system assuming that the directory is mounted as file system
Thanks

Pete Randall
Outstanding Contributor

Re: /root file system been full

Baba,

One thing that got me years ago was a file system that had been unmounted, allowing output that should have gone into the file system to go into the root file system instead. While you're in single user mode, do a "ls -l" for each of the file system mount points. If there's anything there (while the file system is not mounted) it's filling up your root file system.

Good luck,
Pete

Pete
U.SivaKumar_2
Honored Contributor

Re: /root file system been full

hi,
are these separate filesystems ?
/var , /tmp.
or they are in root filesystem.
#bdf /var
if they are root you can try removing temporary files and log files under /var/adm/syslog
while clearing log files
#cp /dev/null "log_file"

check under /dev for any unusual file having
enormous size as it may happen because of
giving wrong device file name while taking the
backup. All the data might have been backed up
in to a single file under /dev and /dev/rmt. this will occupy the root filesystem space.
eg.
/dev/rmt/0m - correct option for backup
/dev/rmt/om - bad option for backup
all data will backed up in a single file om
if this is the case with you , you can remove that file.

regards,
U.SivaKumar


Innovations are made when conventions are broken
David Burgess
Esteemed Contributor

Re: /root file system been full

Hi,

Check for any files that are not device files is /dev :-

find /dev -type f

Remove any files that you don't need.
I just found /dev/null2 and /dev/NULL which I deleted.

HTH,

Dave.
Sanjay_6
Honored Contributor

Re: /root file system been full

Hi,

Check the /dev directory for some files. It is possible that someone was trying to take a backup and mistyped the device file name. This would have created a file with that name in the /dev directory. Also check the root directory for some spurious files / directories.

Hope this helps.

Regds
James George_1
Trusted Contributor

Re: /root file system been full

It could be that there is some Files under the / FS which was there though not part of the / Fs. You can clear it by going to single user mod, unmount the FS and look for any files, if found remove it..

Best of luck
James
forum is for techies .....heaven is for those who are born again !!
Sorrel G. Jakins
Valued Contributor

Re: /root file system been full

get the lsof utility. It is free and it will give you a handle on what's going on.

**PAP**PAP**PAP**PAP** Please assign points
PIYUSH D. PATEL
Honored Contributor

Re: /root file system been full

Hi,

Also check for size of wtmp and btmp files.

Piyush