Operating System - HP-UX
1842490 Members
2543 Online
110189 Solutions
New Discussion

Re: HP UNIX Crash - out of space

 
SOLVED
Go to solution
Eberhard Rasch
New Member

HP UNIX Crash - out of space

Hi,

My HP UNIX machine crashed. In the reboot process it stops and shows this error:"vxfs: mesg 001: vx_nospace - /dev/vg00/lvol4 file system full (1 block extent)"

I know it??s run out of space but how can I restart the machine now ?

Please help, thanx Eberhard

Eberhard
6 REPLIES 6
Patrick Wallek
Honored Contributor
Solution

Re: HP UNIX Crash - out of space

You will probably have to bring the machine up in single-user mode, mount your VG00 LV's and then clean up the directory that is lvol4.

To bring the system up in single-user mode do:

reboot the system and when it prompts you to interrupt the boot sequence, do it.

Then at the prompt enter "bo pri", then say Y that you want to interact with the IPL and then type "hpux -is" to boot single-user.

Once you are at the # prompt do a 'mount -a' and this will mount only your VG00 since all other VGs are not activated yet. Once you are at this point you can clean up whatever directory lvol4 is.

Once it is clean, reboot and let it boot multi-user.

Good luck.
Sanjay_6
Honored Contributor

Re: HP UNIX Crash - out of space

Hi,

Boot the system in single user mode and then fsck / mount the lv in question and do a little bit of cleanup. Then just init to run level 3.

Hope this helps.

Regds
PIYUSH D. PATEL
Honored Contributor

Re: HP UNIX Crash - out of space

Hi,

Boot in the single user mode. Interupt the boot sequence and at the ISL prompt
ISL> hpux -is

This will boot your system in single user mode.
Do a fsck on /dev/vg00/lvol4 and then you can mount the filesystem lvol4 and clear some space in it.

May be you might look for some big files or crash files. /dev/rmt/om or some log files also.

Check the /var/adm/crash directory also if the /var filesystem is mounted by lvol4.

Then if the lvol4 gets mounted and you clear the space, you can give shutdown and restart ur system or do an init 3

Piyush

Kelli Ward
Trusted Contributor

Re: HP UNIX Crash - out of space

Hi
You can still boot the system.
cd to the directory lvol4 resides in
Presumably if it happened after a crash, it is /var
If it is, cd /var/adm/crash and remove any old core.# directories. I.e: rm -r core*

If it is another directory, cd into it, and use: du -s * | sort -n
This will give you a sorted list of all files and directories in order (smallest ot largest)
in that directory. You can use this to help find any possible offending files.

Good luck,
Kel

(Note: If you have a service contract, you can run q4 to debug and send the crash details to HP if you need more information as to why it crashed. Otherwise, the core files are probably unneccessary.)
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
PIYUSH D. PATEL
Honored Contributor

Re: HP UNIX Crash - out of space

Hi,

If it is the /var system that has got ful then run this command to find out which files are occupying more space by using

#du -kx /var | sort -rn > /tmp/dutmp.log
Check the dutmp.log file and check for big log files and crash files and trim those files.
Check for the size of wtmp, btmp, syslog.log also.

Further you can run the cleanup utility also.
Try to find out why your lvol4 got full.

Piyush
Martin Johnson
Honored Contributor

Re: HP UNIX Crash - out of space

On my HPUX v11.0 system /dev/vg00/lvol4 is mounted on /tmp. It looks like one of your applications filled up /tmp. Normally that would not be enough to crash the system. If you got a crash dump, save it for analysis.

Check the files in /var/tombstones for any info on the crash.

You may also consider increasing the size of /tmp.


HTH
Marty