Operating System - HP-UX
1837932 Members
2789 Online
110124 Solutions
New Discussion

Root filesystem size with Ignite golden image

 
SOLVED
Go to solution
MLA_2
New Member

Root filesystem size with Ignite golden image

Hello,

I took an golden image from a rx2660 with HP-UX 11.31.
When I tried to build a new client in other rx2660 y have the "/" filesystem with 10G. (The size of the original "/" is 1G)
and when I tried to change the size I had a meessage saying it needed the space for the installed software. The instalation works fine, but my "/" filesystem have 10G but only 3% used.

Any guide would be appreciated.
5 REPLIES 5
Bill Hassell
Honored Contributor

Re: Root filesystem size with Ignite golden image

The / filesystem is typically 300 to 900 MB and never needs to be extended. It sounds as if you are trying to avoid all mountpoints and the (very useful) reasons for having separate lvols for various filesystems. I can't imagine any reason to ever have / = 10GB. Software is never installed in / -- software is installed in /opt or /usr.

Now if the golden image has separate lvols (and you really want / = 10GB), you will have to remove these lvols during Ignite install so there is nothing but the / volume left. Removing the mountpoints does not remove any software, it just removes the separate volumes.


Bill Hassell, sysadmin
Torsten.
Acclaimed Contributor

Re: Root filesystem size with Ignite golden image

2 things you need to know about the installer:

1) the default for lvol size is "range" or "% free" for most lvols. Set all to fixed!
Otherwise, if you change the size for 1 lvol, others will change too.

2) check if you have all of the 8 default lvols! If you remove for example lvol for /opt (by mistake or whatever), /opt will be placed in lvol3.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
MLA_2
New Member

Re: Root filesystem size with Ignite golden image

I've tried install again and changed the size of /var, /opt, and /usr. I've put all with the option fixed as Torsten suggest but I can't change the size of / still getting the message
"The currently specified volume size (1056 MB) is too small to acomodate the currently selected software. Thus, volume is being resized to the minimum space required (10432 MB)"

I would like to have 1G in the / filesystem and also want the others lvols :-)

Before I took the Golden Image, umount lvpu01, lvpu02, lvpu03 and use this command to take the image:
make_sys_image -s 192.168.10.150 -d /export/foo

Server Origin
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 325752 719192 31% /
/dev/vg00/lvol1 1835008 287920 1535024 16% /stand
/dev/vg00/lvol8 8912896 4704672 4204944 53% /var
/dev/vg00/lvol7 5013504 2883552 2113360 58% /usr
/dev/vg00/lvol4 2097152 494128 1591432 24% /tmp
/dev/vg00/lvol6 8060928 3820488 4207352 48% /opt
/dev/vg00/lvol5 114688 22784 91216 20% /home
DevFS 13 13 0 100% /dev/deviceFileSystem
/dev/vg00/lvpu01 8388608 3941269 4169426 49% /pu01
/dev/vg00/lvpu03 8388608 7190934 1122871 86% /pu03
/dev/vg00/lvpu02 8388608 4454900 3687927 55% /pu02


Client
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 10682368 326400 10275088 3% /
/dev/vg00/lvol1 1835008 287808 1535208 16% /stand
/dev/vg00/lvol7 9240576 1613792 7567240 18% /var
/dev/vg00/lvol6 5144576 2831936 2294688 55% /usr
/dev/vg00/lvol5 2162688 21328 2124768 1% /tmp
/dev/vg00/lvol4 8208384 3806944 4367160 47% /opt
/dev/vg00/lvol8 114688 22848 91216 20% /home
DevFS

Thank you for your answers, please give me more information of what can I do.
Torsten.
Acclaimed Contributor
Solution

Re: Root filesystem size with Ignite golden image

I think you have one of them in your image, for example

/dev/vg00/lvpu03

The size would match - more or less.

Since you didn't create an own volume for this during install, the data will go into / directly.

Check your archive!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
MLA_2
New Member

Re: Root filesystem size with Ignite golden image

Thank you very much Torsten, now I created all the filesystems and the size of / is 1G as I want it.