- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Upgrade HP-UX 11.0 to 11i - DISK SPACE REQUIRED
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 05:00 AM
06-13-2005 05:00 AM
on upgrading from 11.0 to 11.11 v1.
How can I extend the / /usr /opt partitions without unmounting them. Since they cannot be
unmounted while in use??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 05:05 AM
06-13-2005 05:05 AM
SolutionThe only way is to re-boot in single-user mode.
As an alternative, consider cold installing 11i rather than upgrading. It's generally the preference of the Forums membership because it's much more reliable, gives you the chance to re-size root LVs, clean out your patch database, and so on, and so on.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 05:15 AM
06-13-2005 05:15 AM
Re: Upgrade HP-UX 11.0 to 11i - DISK SPACE REQUIRED
Just a note of caution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 07:26 AM
06-13-2005 07:26 AM
Re: Upgrade HP-UX 11.0 to 11i - DISK SPACE REQUIRED
Do you really need to extend the root volume (/). HP-UX 11.11 v1 does not use very much space on /. A fresh installed server, only about 9-10MB.
/usr /opt on the other hand may need to be increased space but, can be extended with OnlineJFS.
I have never upgraded to 11.11 myslf (as most administrators I prefer a fresh install) but I don't belive it is possible to upgrade without rebooting and, not possible to upgrade without shutting down applications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 11:07 AM
06-13-2005 11:07 AM
Re: Upgrade HP-UX 11.0 to 11i - DISK SPACE REQUIRED
Does anyone have the quick and dirty check
list of what to save from boot vg00 for new installs.
I have outputs for boot disk address and mirrors.
Will have vgexport of other volume groups
to import.
Of course have hostname, IP, mask, copies of sendmail.cf, crons.
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 102400 91079 10753 89% /
/dev/vg00/lvol1 99669 58367 31335 65% /stand
/dev/vg00/lvol7 1024000 771350 237859 76% /var
/dev/vg00/lvol6 1024000 816251 194777 81% /usr
/dev/vg00/lvol5 1024000 3003 958775 0% /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 11:20 AM
06-13-2005 11:20 AM
Re: Upgrade HP-UX 11.0 to 11i - DISK SPACE REQUIRED
Do take vgdisplay -v and lvdisplay -v of all the LV's, could be useful..if you do not have back file created through vgcfgrestore...in case we need to restore the LVM setup..
TAR backup on tape of the entire VG00 would always be handy... you could always mount the tape and restore the required file.. Make sure you take it as relative path..
Ex:
cd /
tar -cvf /dev/rmt/0m ./
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 08:03 PM
06-13-2005 08:03 PM
Re: Upgrade HP-UX 11.0 to 11i - DISK SPACE REQUIRED
you will need to go into single user mode to extend them, unless you have online jfs installed.
look at this manual before you upgrade
http://www.docs.hp.com/en/5187-3614/5187-3614.pdf
and look at chapter 3 for minimum partition sizes for install or upgrade.
If you do the upgrade you will still need to reboot the system a few times as well as a cold install will need after restoring all your apps. Do a complete backup first though before you start.
andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 10:10 PM
06-13-2005 10:10 PM
Re: Upgrade HP-UX 11.0 to 11i - DISK SPACE REQUIRED
I'm attaching a little script I use to copy all the "system" files when setting up a new server. Some of these are very specific to us, but it should serve as a good starting point for your checklist.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 01:07 AM
06-14-2005 01:07 AM
Re: Upgrade HP-UX 11.0 to 11i - DISK SPACE REQUIRED
I prepared complete steps to extend /var /usr /opt. I will be doing this, this saturday. If you want to know how it went let me know I will share.
These are the complete steps
Extending a filesystem with Base JFS or HFS: extend /var /usr /opt
Extend /var and make it 4.5 GB = 4608 MB ( 4.5 * 1024)
Extend /usr and make it 2.75 GB = 2816 MB ( 2.75 * 1024)
Extend /opt and make it 3.6 GB = 3712 MB ( 3.6 * 1024)
2 Disks Added to system, each is 17GB, Total Avail = 34GB, Since we will be mirroring, only Half is Avail = 17360MB
File System Current Size MB Add More - MB (Mulitples of 32) New Size (HP-Reco) Total Avail = 17360
/var 2048 2560 4608 MB = 4.5GB 17360 - 2560 = 14800
/usr 1536 1280 2816 MB = 2.75 GB 14800 - 1280 = 13520
/opt 2048 1664 3712 MB = 3.625GB 13520 - 1664 = 11856
Tot to extend = 5504, Free Space Avail = 17360 - 5504 = 11856MB
1) Find out how many free extents are in the volume group:
#vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 4350
VGDA 8
PE Size (Mbytes) 4
Total PE 17360
Alloc PE 8680
Free PE 8680
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
2) The above output shows 8680 physical extents free. Each extent (PE Size) is 4mb in size for a total of (8680*4 = 34720) mb available to extend. We will be mirroring so 34720/2 = 17360MB Avail.
NOTE: /, primary swap and /stand cannot be extended because they must be contiguous.
3) Determine if the filesystem is vxfs or hfs:
grep -E â var usr opt /etc/fstab
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol8 /usr vxfs delaylog 0 2
/dev/vg00/lvol9 /var vxfs delaylog 0 2
4) Determine the current size of the filesystem:
bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol9 2097152 1209649 834379 59% /var
/dev/vg00/lvol8 1572864 1035131 504125 67% /usr
/dev/vg00/lvol6 2097152 1488421 570743 72% /opt
/var 2048 MB (2097152/1024)
/usr 1536 MB (1572864/1024)
/opt 2048 MB (2097152/1024)
5) Extend file systmes (Add in Multiples of 32MB)
/var Make it 4.5GB â HP Recommended, current size is 2048MB add 2560MB more
/usr Make it 2.6GB â HP Recommended, current size is 1536MB add 1280MB more
/opt Make it 3.6GB â HP Recommended, current size is 2048MB add 1664MB more
(1KB = 1024 bytes, 1MB = 1024 * 1024 = 1048576 bytes, 1GB = 1024 MB)
4.5GB = 4.5 * 1024 = 4608 MB
2.75GB = 2.75 * 1024 = 2816 MB
3.6GB = 3.6 * 1024 = 3712 MB
Go Into Single User Mode (For /var its a must)
shutdown â ry 0
interrupt boot (Press and Hold Esc Key)
bo pri
interact with ISL: Y
ISL>hpux â is -lm
lvextend -L 4608 /dev/vg00/lvol9 NOTE: 2048 + 2560 = 4608
lvextend -L 2816 /dev/vg00/lvol8 NOTE: 1536 + 1280 = 2816
lvextend -L 3712 /dev/vg00/lvol6 NOTE: 2048 + 1664 = 3712
7) Extend the filesystem: (vxfs)
extendfs -F vxfs /dev/vg00/rlvol9
extendfs -F vxfs /dev/vg00/rlvol8
extendfs -F vxfs /dev/vg00/rlvol6
NOTE: extendfs must be used on the raw logical volume
8) If you had to shutdown in step f, then reboot the system: reboot
9) Verify the filesystem is the larger size: bdf