cancel
Showing results for 
Search instead for 
Did you mean: 

/stand insufficient space

 
panks
Regular Advisor

/stand insufficient space

Hi All,
I came across below situation:
I want to upgrade my HPUX system with required kernel patches asked by EMC.
NOw when I am doing the patch upgrade it is failing with insufficient space in stand.
Now I cant extned the stand as not free space is available in root volume group, andd its mirrored also.
Please suggest how can I go ahead.
FYI- we can't add more Hard disk also.
Thanks,
Panks
8 REPLIES
Patrick Wallek
Honored Contributor

Re: /stand insufficient space

What version of HP-UX are you running? What is the size of /stand now?
panks
Regular Advisor

Re: /stand insufficient space

I am running 11.23
/dev/vg00/lvol1 311296 256904 53992 83% /stand

Also inside /stand there is folder backup inside which there is vmunix can i delete this to vacate some space
Patrick Wallek
Honored Contributor

Re: /stand insufficient space

It would appear that you have some extraneous stuff in /stand. My /stand has only 88 MB used, unlike the 200+ on your server.

On my 11.23 server, here is my /stand info:

[ root@hqupa01:/stand ]
# bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol1 505392 88712 366136 20% /stand

Here are the size of the contents of /stand:
# du -ks * | sort -n
0 vmunix
8 bootconf
8 bootfs
8 ioconfig
8 kernrel
8 nextboot
8 rootconf
8 system
8 system.import
8 system.prev
24 krs
64 lost+found
27856 last_install
30344 backup
30344 current

I suggest you look and see what you have. If you have multiple old / backup kernels then you should be able to get rid of some. Just make sure you keep a known good backup so that you can boot from it if needed.
Steven E. Protter
Exalted Contributor

Re: /stand insufficient space

Shalom,

You probably have some old kernels you can do without.

The default size for /stand is normally enough to run a system for years without running out.

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
panks
Regular Advisor

Re: /stand insufficient space

How come your vmunix is showing zero.
Here is the output of my /stand

root@mrkrac02:/stand> ls -l
total 125184
drwxr-xr-x 5 root sys 8192 May 29 13:35 backup
dr-xr-xr-x 3 bin bin 96 Sep 8 2004 boot.sys
-rw-r--r-- 1 root sys 21 Jan 9 2006 bootconf
lrwxr-xr-x 1 root root 14 May 29 18:01 bootfs -> current/bootfs
drwxr-xr-x 5 root root 8192 May 26 2008 crashconfig
drwxr-xr-x 5 root sys 8192 May 29 13:35 current
-rw-r--r-- 1 root sys 32248 May 29 18:01 ioconfig
-r--r--r-- 1 root sys 82 Sep 8 2004 kernrel
drwxr-xr-x 2 root sys 96 May 29 18:09 krs
drwxr-xr-x 5 root sys 8192 Sep 8 2004 last_install
drwxr-xr-x 2 root root 96 Jan 9 2006 lost+found
lrwxr-xr-x 1 root root 7 May 29 18:01 nextboot -> current
-rw------- 1 root root 12 May 29 18:01 rootconf
lrwxr-xr-x 1 root root 15 May 29 18:01 system -> nextboot/system
-r--r--r-- 1 root sys 2698 Jan 9 2006 system.import
-rw-r--r-- 1 root sys 3966 May 29 12:35 system.prev
-rwxr-xr-x 2 root sys 63986264 May 29 13:35 vmunix
Mel Burslan
Honored Contributor

Re: /stand insufficient space

Since you have a lot of directories under /stand, output of ls -lR would have been more useful.
________________________________
UNIX because I majored in cryptology...
Patrick Wallek
Honored Contributor

Re: /stand insufficient space

Your vmunix is more that double the size of the one on my system. My vmunix is less that 30MB where yours is about 60 MB. That seems large to me.
Suraj K Sankari
Honored Contributor

Re: /stand insufficient space

Hi,

As pet your output 7 directories are there in /stand did you checked each of these directories for any large files.

I think some time vmunix itself having 2 3 copies into other directories check and delete all vmunix except /stand/vmunix.

Suraj