1834809 Members
2790 Online
110070 Solutions
New Discussion

Out of disc space

 
SOLVED
Go to solution
Andre Lemon
Regular Advisor

Out of disc space

I get the following:

vx_nospace - /dev/root file system full (1 block extent)

when i do a bdf i get:

kbytes used avail %used Mounted on
13143360 143152 208 100% /
83733 41928 33431 56% /stand
1228800 872191 334751 72% /var

etc...

Can the 'core' file be deleted?

-rw-------1 root sys 3254272 May 24 13:11 core
12 REPLIES 12
Christopher McCray_1
Honored Contributor
Solution

Re: Out of disc space

Hello,

Yes, it can be deleted. You could also mv it to another area with enough space for analysis.

You need to clear up /

Chris
It wasn't me!!!!
A. Clay Stephenson
Acclaimed Contributor

Re: Out of disc space

Yes rm core files. / should really never grom (or essentially never grow) once the system is installed and up and running.

A very common place to look for bogus files is in the /dev directory. It is very common for someone to accidently to a tar cvf /dev/rmt/Om . (letter 'O' and thus a regular file) when they meant tar cvf /dev/rmt/0m . (zero - tape drive).
If it ain't broke, I can fix that.
Luc Bussieres_1
Trusted Contributor

Re: Out of disc space

Yes a core file is just a memory dump of a process that have died you don't need it except if you want to debug that application.

But this is a very small file only 3M you will have to find the other large files on your disk

Regards ..
Pete Randall
Outstanding Contributor

Re: Out of disc space

Andre,

There are lots of threads with great advice about cleaning (and keeping clean) your root file system. Do a forum search for the exact phrase /dev/root file system full
and you'll end up with lots of great advice.

Good luck,
Pete

Pete
MANOJ SRIVASTAVA
Honored Contributor

Re: Out of disc space

Hi Andre

Also check for other files in /dev specillay to clear up the root ,

/etc/utmp logs etc . Core can be safely removed.

Manoj Srivastava
Helen French
Honored Contributor

Re: Out of disc space

Is total space on root - 13143360 ? (is it a typo?)

You can check the file system with these:
# du -k | sort -rn | pg (list bigger files)
# find path -xdev -type f -mtime -2 -exec ll \; (find out new files created)
# find path -xdev -size +100000 -exec ll \;

Also check for bigger file in /dev/rmt ( may be a mistake "om" instead of "0m")
Life is a promise, fulfill it!
PIYUSH D. PATEL
Honored Contributor

Re: Out of disc space

Hi,

You can delete the core files. Pls check out why suddenly your root has become full. After removing the core files also, you may have the same problem after some time.

Is your machines rebooting ??? If yes then it saves the core files in
/var/adm/crash directory. Go there and delete the files and report the problem to HP.

Check for /var/adm/btmp and /var/adm/wtmp size also. if their size is more then do a cat /dev/null > file name

Look for /dev dir for larger file size.

Piyush

Remove
Andre Lemon
Regular Advisor

Re: Out of disc space


kbytes used avail %used Mounted on
143360 139974 3245 98% /
83733 41928 33431 56% /stand
1228800 872212 334730 72% /var
770048 460349 290391 61% /usr
4096000 2104 3838035 0% /twpspare
65536 17057 45507 27% /tmp
8192000 6305149 1769167 78% /production
770048 459527 291155 61% /opt
102400 33788 64369 34% /home
10035200 5898028 3879317 60% /develop
54272000 43517960 10670088 80% /backup

Mark Vollmers
Esteemed Contributor

Re: Out of disc space

Andre-

one other thing might be the root email. on my system, this is on /. you could also increase the size of /, but that doesn't explain why it is so full.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
pap
Respected Contributor

Re: Out of disc space

Hi,
You can definately delete the core files , no problem in doing that.

It seems that the core file is just 3MB in size. Also check what is cause the root file system to become full.

Use du -k command to find out which directory in root file system is occupying more space. Delete the unwanted files from the root file system.

-pap
"Winners don't do different things , they do things differently"
Sandip Ghosh
Honored Contributor

Re: Out of disc space

Also look for the directories which are suppose to be mounted one but now it is not mounted. Sometimes peoples are creating directory on the root filesystem and keep their stuff. Move all those stuff to any mounted filesystem.

Sandip
Good Luck!!!
Andre Lemon
Regular Advisor

Re: Out of disc space

Thanks to you all for your help and tips, I have determined that i created the problem while making a copy of a disk to disk backup, i had a programmer sitting on the keyboard and i entered /dev/rmt/1m0 as the backup device,
which is not a tape device.. I removed that
file and all is fine now. I will assign points
for you all.

I love this site, you all help me alot as i
strive to be a HP-UX guru one day.

Andre'

Enjoy the long weekend!!!!