Ignite-UX

How to resize HP-UX 11.23 logical volumes to i can install Ignite?

 
SOLVED
Go to solution
andrasek
Occasional Advisor

How to resize HP-UX 11.23 logical volumes to i can install Ignite?

Help! A system running UX 11.23 needs Ignite installed so that it can create boot disks. File sizes need to be redone. How much space is needed and what the best way to go about this? Reboot and interact with ISL? Modify current sizes to give more space to /opt? Reboot and then swinstall Ignite? Attached a bdf. Thanks!!
$ bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 585728 344912 238952 59% /
/dev/vg00/lvol1 295024 86608 178912 33% /stand
/dev/vg00/lvol7 4124672 1310824 2792696 32% /var
/dev/vg00/lvol6 3780608 1692088 2072232 45% /usr
/dev/vg01/u06 21038705 17884962 1049872 94% /u06
/dev/vg01/u05 23042425 19742499 995683 95% /u05
/dev/vg01/u04 30055337 24719647 2330156 91% /u04
/dev/vg01/u03 35064529 31271431 286645 99% /u03
/dev/vg01/u02 17031265 7982416 7345722 52% /u02
/dev/vg01/u01 50099944 33598591 11491358 75% /u01
/dev/vg01/u 4007201 1203578 2402902 33% /u
/dev/vg00/lvol5 4579328 2501304 2062088 55% /tmp
/dev/vg00/lvol4 204800 158656 45984 78% /opt
/dev/vg01/home 10018361 6718999 2297525 75% /home
hboc5:/unixnfs 516096 209552 288536 42% /unixnfs

13 REPLIES 13
Torsten.
Acclaimed Contributor

Re: How to resize HP-UX 11.23 logical volumes to i can install Ignite?

Will this become the server or just a client.

I guess there is enough space already for a client (swinstall space calculation will tell you). In case this will become the server, just create a new LVOL and link to recovery directory to it.

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!   
andrasek
Occasional Advisor

Re: How to resize HP-UX 11.23 logical volumes to i can install Ignite?

Just a client. But the main thing is that they want /opt to be resized to 650Mb or more, so I have to trim some of the lvols, like /var, /u, etc.

here is what swinstall had to say about the space!!

File System Available Available Capacity Must
Mount Point Before After After Free
/ -> 238760 238752 59% 0
/opt -> 44096 -241232 217% 241232
/usr -> 2086472 2086392 44% 0
/var -> 2807432 2806904 31% 0
trpjr1
Advisor

Re: How to resize HP-UX 11.23 logical volumes to i can install Ignite?

andrasek,

Please post vgdisplay of all VGs so we can see if you have enough disk space avalable.

Do you have online JFS installed? If it is then you should be able to grow the FSes without unmounting.

I would be careful reducing the size because you can lose data.

Tommy
andrasek
Occasional Advisor

Re: How to resize HP-UX 11.23 logical volumes to i can install Ignite?

here is a text file if the vgdisplay -v
trpjr1
Advisor

Re: How to resize HP-UX 11.23 logical volumes to i can install Ignite?

andrasek,

You have no space left on VG00. Any chance you have disk on the server not being used? Also, I noticed that VG00 is not mirrored - I personally prefer to mirror vg00 just in case a disk goes bad...

Another option is to create a new mount under /opt/... to hold the ignite boot images.

How much do you think you will need for the boot images?
andrasek
Occasional Advisor

Re: How to resize HP-UX 11.23 logical volumes to i can install Ignite?

All disks are accounted for and are used. I agree, vg00 should be mirrored, they were in a previous, better lifetime. They want /opt to be resized to at least 650Mb, but making the others on vg00 smaller.
trpjr1
Advisor

Re: How to resize HP-UX 11.23 logical volumes to i can install Ignite?

I only see two options for you given this info:

Option1 (more complicated/risky and requires down time) Create and ignite of the server. You can resize the FSes when you rebuild. - create 2 ignite tape just to be safe...

save a map file for vg01 to another server.
vgexport -p -v -m vg01.map vg01

Once you've rebuilt the server:

mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -v -m vg01.map #see man vgimport you can specify all the pvs that are in the VG also.

option 2: Much less risky and require no down time. Uses unsed disk space in vg01.

lvcreate -n lvignite /dev/vg01
lvextend -L 650 /dev/vg01/lvignite
newfs -F vxfs /dev/vg01/rlvignite

edit the /etc/fstab file and put in a line to mount the new mount point

/dev/vg01/lvignite /opt/ vxfs delaylog 0 2

mount -a # to mount everything in /etc/fstab


Tommy
andrasek
Occasional Advisor

Re: How to resize HP-UX 11.23 logical volumes to i can install Ignite?

Tommy, thanks for your input. As vg00 has no space, they want me to use that disk to install the Ignite-UX, hence I have to first modify the lvol sizes on vg00. I have to do this first before I can begin with the install for Ignite. Downtime has been approved - for 2am!!
trpjr1
Advisor
Solution

Re: How to resize HP-UX 11.23 logical volumes to i can install Ignite?

okay here is another option:

Just reduce the size of tmp. Since it's /tmp I'll assume you do not need anything in that mount. It looks like its 4.5GB now(seems a bit big for /tmp) so you might just try reducing the size of it first and giving the space to opt.

Damn I hate theose 2am maintenance windows! :(