Operating System - HP-UX
1752815 Members
5903 Online
108789 Solutions
New Discussion юеВ

Re: root full---not resolved

 
SOLVED
Go to solution
Paolo Gilli
Frequent Advisor

Re: root full---not resolved

Hi, to free some space in root filesystem in short time, try to move the ".old" files in /etc/lvmconf to an other fs.

To extend LVM root Filesystem in HP-UX, read the thrad at http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1098002&admit=109447626+1227255017365+28353475

and the attached file.
"Extending the root file system with Online JFS - fsadm"

hope this help
regards
Paolo
subodhbagade
Regular Advisor

Re: root full---not resolved

Hello Expert ...once again..

As per your suggestion i had listed the all command as you asked ..(please refer attached text.)

1) size in kb..
25120 /etc/lvmconf
it having some old files like
# cd /etc/lvmconf
# ls
lathstg.conf lathstg.mapfile lathstg1.conf.old lvm_lock vg00.conf.old vgignite.conf vgtest.conf
lathstg.conf.old lathstg1.conf lathstg1.mapfile vg00.conf vg00.mapfile vgignite.conf.old vgtest.conf.old

can we move old files ??? as paolo suggestedsuggested.

(3)
# du -sk lathstg.conf.old
3504 lathstg.conf.old
#
# du -sk lathstg1.conf.old
4160 lathstg1.conf.old
#
# du -sk vg00.conf.old
320 vg00.conf.old
#
# du -sk vgignite.conf.old
2280 vgignite.conf.old
#
# du -sk vgtest.conf.old
2280 vgtest.conf.old

which will free 12mb...

or it it possible to move any log or old 0r core files/dir move from du -kx / | sort -rn | head -20

but i find no core files........

(4)
i am confused about space?????

du -kx / | sort -rn | head -20
188856 /
and
/dev/vg00/lvol3 262144 257064 5080 98% /

have a nice timeeee!!!!!!
Subodh




James R. Ferguson
Acclaimed Contributor

Re: root full---not resolved

Hi (again):

Have you yet evaluated the possiblity of an over-mounted filesystem as Dennis suggested, or the possibliity of an open, but removed temorary file as I suggested, using 'lsof'?

As for removing files, you can remove old copies of files in '/etc/lvmconf'. That is, you *need* the most current file from an LVM change, like '/etc/lvmconf/vg00.conf' but you don't need the predecesor copy: '/etc/lvmconf/vg00.conf.old'.

Regards!

...JRF...
Johnson Punniyalingam
Honored Contributor

Re: root full---not resolved

Hi,

Can you try look for below folders,.? see weather you could remove some old Ignite files, and free up some space

if you have tape-drive "attached" can you take backup of the Ignite folders,


57024992 ignite-backup1 -->>

118778 ignite-backup --->

Free space left under VG00 --> 31GB
PE Size (Mbytes) 32
Free PE 976
(PE Size * Free PE)= 31GB,

if you have online _JFS you can lvextend the / root File system other-wise you need resize the / root File system - using Ignite to resize you / root File system

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
subodhbagade
Regular Advisor

Re: root full---not resolved

hello------all
james ......lsof is not working..

(1) lsof +D / +L1
sh: lsof: not found.
#
# man lsof
No manual entry for lsof.

(2)As per ur and Dennis suggestion

it seems to be there are no over-mounted filesystem .

(3)can we make free space from etc/vx/static.d/build

pwd
/etc/vx/static.d/build
# du -sk
28760

# ls -l
total 57520
-rwxrwxrwx 1 bin bin 29443732 Jan 31 2007 vold.o
.
# file vold.o
vold.o: PA-RISC1.1 relocatable object

Subodh

.


James R. Ferguson
Acclaimed Contributor

Re: root full---not resolved

Hi:

> sh: lsof: not found.

OK, it is usually installed in '/usr/local/bin', so:

# /usr/local/bin/lsof +D / +L1

# whereis lsof
lsof: /usr/local/bin/lsof /usr/local/man/man8/lsof.8

If you don't have it, fetch and install it from:

http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=lsof

Installation is with 'swinstall'. no reboot is required and the binary and manpages will be placed in the paths I showed above.

Regards!

...JRF...
subodhbagade
Regular Advisor

Re: root full---not resolved

johnson and all....

i don't have online JFS install on server,

ignite-backup1 -,,,ignite-backup -- both are from different lv ...

so i don't thinks so it will work ??

ignite-backup --->
(1)
/dev/vgignite/lvol1
81920000 57029840 24695768 70% /ignite-backup1
(2)/dev/vg00/lvol10 20480000 124156 19720434 1% /ignite-backup

to make free space ,, view more on some log or old file

du -kx / |sort -nr |head -20 (o/p mention above)

Regards,
Subodh

Dennis Handly
Acclaimed Contributor

Re: root full---not resolved

>it seems to be there are no over-mounted filesystem.

How did you check this? Did you umount each filesystem except for /?
Or did you export and mount / back on the same system?
(Not that I think this is your issue.)

Johnson Punniyalingam
Honored Contributor

Re: root full---not resolved

Hi Subodh,

if you can't narrow-down some old files under / file system it would be bit diffcult for us to comment,

As mentioned earlier other-wise you need resize the / root File system - using Ignite

please see below thread which extactly same

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=983018

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
subodhbagade
Regular Advisor

Re: root full---not resolved

Hiiii Dennis and all ..

To Ensure overmounted
(1) I had neither unmounted all FS (exept /) nor exported as you told.

BUT,

(2) When server was rebooted ...
During that time i had checked all file system ..and except 2 FS all FS were mounted ..
So i guess there were no overmonted case.



Regards,
Subodh..