Operating System - HP-UX
1836482 Members
2630 Online
110101 Solutions
New Discussion

Re: How much space is required to rebuild the UNIX Kernel

 
Paul Ostrowski
Occasional Contributor

How much space is required to rebuild the UNIX Kernel

I have a few servers that have an undersized /stand filesystem. the filesystem is 110MB. I am running HP-UX 11i and my current kernel size is approx 34MB. the vmunix.prev is also approx 34MB. this takes up 70MB of the filesystem. the build directory takes approx 1MB and other system files approx 1MB.
My questions are?....
1) during the build do i have 3 copies of the kernel? the current(vmunix), the Previous(vmunix.prev and the new generated kernel?
2) where does the new kernel actually get build in the /stand/build directory?
3) at which point does the new kernel get moved into place and the current kernel copied to the kernel.prev?
4) if i just move my /stand/build directory to a different filesystem and create a symbolic link to to it from /stand will it solve my problem?
any help is appreciated.
4 REPLIES 4
RAC_1
Honored Contributor

Re: How much space is required to rebuild the UNIX Kernel

You should have atleast the same size as that of current kernel. (vmunix file size)

Anil
There is no substitute to HARDWORK
Victor BERRIDGE
Honored Contributor

Re: How much space is required to rebuild the UNIX Kernel

Hi,
1) Yes you will have at some stage 3 kernels

So my advice would be if you cannot use a make_recovery to resize you /stand to smething like 300MB then move vmunix.prev to somewhere else before compiling a new kernel

All the best
Victor
bhavin asokan
Honored Contributor

Re: How much space is required to rebuild the UNIX Kernel

hi,
you should have atleast the space of current vmunix file+system file.

1. during building of new kernel the current kernel (vmunix)is moved to vmunix.prev and the newly builded kernel in /stand/build dir is moved in place of vmunix (same in case of system file)

2. the new kernel actually get build in the /stand/build directory

4. you can move it to a hfs file system only.
you have to create a hfs filesystem.

regds,


Ivajlo Yanakiev
Respected Contributor

Re: How much space is required to rebuild the UNIX Kernel

if you have well runing system you can move your vmunix.prev and ststem.prev to /tmp.
It will free needed space.

You can link some dir into /stand/build but
you cann't boot from this links.
when server boot it need HFS FS and strict policy.
do not doing so :))