Operating System - HP-UX
1753428 Members
4775 Online
108793 Solutions
New Discussion юеВ

Root directory full after crash

 
Martin Talero
Occasional Advisor

Root directory full after crash

Hi,
I have a root directory full after two crash dump on HP-UX 11.31.

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 1048504 72 100% /
I can't determine where are the file created on root directory (/). I already delete the crash dump allocated on /var/adm/crash after send to HP.

Could you help me please?
16 REPLIES 16
Pete Randall
Outstanding Contributor

Re: Root directory full after crash

Run find:

find / -name core

then remove.


Pete

Pete
Martin Talero
Occasional Advisor

Re: Root directory full after crash

Pete thanks for your response, but I has been already deleted the crash dump allocated on /var/adm/crash after send to HP.

And there are no more core.
Don Morris_1
Honored Contributor

Re: Root directory full after crash

The kernel configuration at the time of the crash is typically saved to a "crashconfig" configuration under /stand. If you don't have much space for extra configurations, this could be your issue.

`kconfig` (Lists configurations -- see if there is a crashconfig listed).

`du /stand/crashconfig` (See how much space it is taking if present).

Since you already sent the crash off to HP, and especially if the crashconfig is simply your current configuration anyway (you've made no changes to tunables, patches, etc.) and you don't need the extra copy:

`kconfig -d crashconfig` (Will delete said backup crash configuration).
Steven E. Protter
Exalted Contributor

Re: Root directory full after crash

Shalom Martin,

/var/adm/crash is normally mounted on the /var file system and clearing the crash dump has no impact on / the root file system.

cd /

du -k | sort -rn | more

Find the big directories, make sure they are not part of mounted file systems (bdf) and find the place to look for stuff to delete.

Finding and locating core files is very likely to help with / 100% condition.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
John Guster
Trusted Contributor

Re: Root directory full after crash

can you post the output of "ll /"?
Suraj K Sankari
Honored Contributor

Re: Root directory full after crash

Hi,

some open file will be there use lsof command.

If possible take one more reboot.


Suraj
nazishjamal
New Member

Re: Root directory full after crash

check this

# du -xk / | sort -rn | more

also look for

/root/.local/share/Trash/trash_files

to clean up all these filess
Martin Talero
Occasional Advisor

Re: Root directory full after crash

Hi,
Thanks again for yours response, here is more iformation about my situation:

SARC #kconfig
Configuration Title
backup Automatic Backup
crashconfig
last_install Created by last OS install
SARC #du /stand/crashconfig
55648 /stand/crashconfig/mod
208 /stand/crashconfig/krs
0 /stand/crashconfig/bootfs/stand/current/krs
16 /stand/crashconfig/bootfs/stand/current/mod
16 /stand/crashconfig/bootfs/stand/current
16 /stand/crashconfig/bootfs/stand
16 /stand/crashconfig/bootfs
297920 /stand/crashconfig
SARC #bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 1048504 72 100% /
/dev/vg00/lvol1 1835008 320104 1503152 18% /stand
/dev/vg00/lvol8 10485760 1481936 8936680 14% /var
/dev/vg00/lvol7 8388608 2847888 5497464 34% /usr
/dev/vg01/u01 9437184 5614072 3588618 61% /u01
/dev/vg00/lvol4 524288 314288 208912 60% /tmp
/dev/vg00/lvol6 10485760 5212120 5232512 50% /opt
/dev/vg04/monito 20971520 11076530 9299343 54% /monitor
/dev/vg04/m09 65961984 64895315 1000007 98% /m09
/dev/vg04/m08 26214400 24506442 1601217 94% /m08
/dev/vg04/m07 52428800 41295301 10437661 80% /m07
/dev/vg04/m06 15728640 15093457 595490 96% /m06
/dev/vg02/m05 10485760 7699667 2611969 75% /m05
/dev/vg03/m04 11534336 9321956 2074113 82% /m04
/dev/vg02/m03 11534336 10538468 933633 92% /m03
/dev/vg02/m02 10485760 5262547 4896769 52% /m02
/dev/vg02/m01 10485760 8851692 1531945 85% /m01
/dev/vg00/lvol5 3145728 113544 3008616 4% /home
DevFS 11 11 0 100% /dev/deviceFileSystem
/dev/vg05/backups 359940096 307437368 52095072 86% /backups
/dev/vg06/Compartido
123731968 103602192 18871672 85% /Compartido
SARC #du -k | sort -rn | more
625142805 .
102160 ./sbin
37688 ./sbin/fs
27312 ./sbin/fs/vxfs
23960 ./etc/opt/resmon/lib
5992 ./etc/opt/resmon/lbin
5832 ./etc/opt/resmon/lib/hpux64
5768 ./sbin/fs/hfs
3016 ./.mozilla/firefox
3016 ./.mozilla
3008 ./.mozilla/firefox/cj1392w9.default
1504 ./etc/lvmconf
SARC #ll /
total 1510
-rw-rw-rw- 1 root sys 9 Jan 18 11:08 .firefox-license
-rw-rw-rw- 1 root sys 646765 Jan 18 12:34 .fonts.cache-1
drwx------ 3 root sys 96 Jan 18 11:08 .mozilla
-r--r--r-- 1 bin bin 992 Jan 22 10:03 .profile
-rw------- 1 root sys 1024 Jan 16 2009 .rnd
-rw------- 1 root sys 1100 Nov 6 2009 .sh_history
drwx------ 2 root sys 96 Jan 14 15:13 .ssh
drwx------ 6 root sys 8192 Dec 4 12:03 .sw
drwxrwxrwx 2 root sys 96 Nov 6 2009 CD
drwxr-xr-x 3 oracle dba 96 Mar 17 14:34 Compartido
drwxr-xr-x 2 root sys 96 Dec 4 11:55 SD_CDROM
drwxr-xr-x 7 oracle dba 8192 May 5 17:18 backups
lr-xr-xr-x 1 bin bin 8 Jan 16 2009 bin -> /usr/bin
drwxrwxrwx 2 root sys 96 Nov 9 2009 cdrom
dr-xr-xr-x 30 bin bin 8192 May 4 12:12 dev
drwxrwxrwx 2 root sys 96 Nov 6 2009 dvdrom
dr-xr-xr-x 36 bin bin 8192 May 5 16:44 etc
drwxr-xr-x 10 root root 8192 Jan 14 15:11 home
lr-xr-xr-x 1 bin bin 8 Jan 16 2009 lib -> /usr/lib
drwxr-xr-x 2 root root 96 Jan 16 2009 lost+found
drwxr-xr-x 4 oracle dba 96 Jan 16 11:28 m01
drwxr-xr-x 4 oracle dba 96 Jan 16 11:59 m02
drwxr-xr-x 4 oracle dba 96 Jan 16 11:31 m03
drwxr-xr-x 4 oracle dba 96 Jan 16 11:31 m04
drwxr-xr-x 4 oracle dba 96 Jan 16 11:32 m05
drwxr-xr-x 4 oracle dba 96 Jan 16 11:34 m06
drwxr-xr-x 4 oracle dba 1024 Apr 16 14:58 m07
drwxr-xr-x 4 oracle dba 96 Jan 16 11:32 m08
drwxr-xr-x 4 oracle dba 96 Jan 16 11:33 m09
-rw-rw-rw- 1 root sys 0 Mar 17 13:26 mapfile
drwxr-xr-x 12 monitor dba 2048 May 4 07:22 monitor
dr-xr-xr-x 1 root root 1 May 4 08:59 net
dr-xr-xr-x 78 bin bin 8192 Feb 13 14:06 opt
dr-xr-xr-x 15 bin bin 8192 Feb 13 14:26 sbin
dr-xr-xr-x 8 bin bin 8192 May 10 14:18 stand
drwxrwxrwt 9 root root 8192 May 10 14:18 tmp
drwxr-xr-x 4 oracle dba 96 Feb 18 07:58 u01
dr-xr-xr-x 22 bin bin 8192 Jan 16 2009 usr
dr-xr-xr-x 26 bin bin 8192 Oct 23 2009 var
Suraj K Sankari
Honored Contributor

Re: Root directory full after crash

Hi,
I can see there is 2 directory CD and SD_CDROM check this out I think some thing is there in these directories because I can see there is no mount point in bdf output.

Post this out put

find / -size +10000 ├в exec ls ├в lrt {} \; | sort ├в rn | more

Suraj