- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Resizing Partitions
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
03-17-2004 11:17 AM
03-17-2004 11:17 AM
Resizing Partitions
I am starting part time work for a company that has several boxes they use to test software. One of them is an HP/UX 11.0 system and I am very inexperienced with this platform. The problem that I am having is that I am attempting to install Oracle but to do so i need to install a list of patches. In order to install these patches I need to increase the size of my /var partition because every time I try to use "swinstall" it complains that I don't have enough space. Does anyone know how I can find what physical disks are in the box and their sizes? Also, does anyone know how I can resize the partition perhaps with some sort of application? Any help would be greatly appreciated. Thanks
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 11:27 AM
03-17-2004 11:27 AM
Re: Resizing Partitions
# lvextend -L
where /dev/vg00/lvolY is the logical volume associated to your /var partition, then
Then check to see if you have OnlineJFS on your box.
$ swlist -l fileset|grep OnlineJFS
# OnlineJFS B.11.11 Online features of the VxFS File System
OnlineJFS.VXFS-ADV-RUN B.11.11 VXFS-ADV-RUN
If you do, then it's easy...
# fsadm -F vxfs $((size-in-MB>*1024)) /var
otherwise, you'll need to boot to single-user mode and use
# extendfs /dev/vg00/rlvolY
to extend the /var partition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 11:31 AM
03-17-2004 11:31 AM
Re: Resizing Partitions
It will show you free space in volume group (PE x PE size) and all other information you need.
Since you said you are new to Unix You can try increasing /var by SAM. you may have to see this file system is not contigous.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 11:33 AM
03-17-2004 11:33 AM
Re: Resizing Partitions
Now I am wondering do I have to reduce another partition before I extend the /var partition? Also is there perhaps a command that would list what physical drives I have installed and their partition tables?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 11:38 AM
03-17-2004 11:38 AM
Re: Resizing Partitions
Free PE * PE Size = total amount of unallocated space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 11:38 AM
03-17-2004 11:38 AM
Re: Resizing Partitions
Thanks,
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 11:39 AM
03-17-2004 11:39 AM
Re: Resizing Partitions
#lvextend -L 2000 /dev/vg00/lvolA
# fsadm -F vxfs -b 2000M /var
vgdisplay -v vg00 will give you all information about all logival volumes and disks under vg00. You may further use lvdisplay -v /dev/vgoo/lvol** to get more information about particular logical volume.
Do man on vgdisplay or lvdisplay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 11:41 AM
03-17-2004 11:41 AM
Re: Resizing Partitions
# cleanup -n -c 1
Have a read of the man page first.
In answer to your second question, you may wish to look at resizing the whole /dev/vg00 volume group. The best way to do this is by creating an ignite backup (make recovery). If you need an update, you can get it here:
http://www.software.hp.com/products/IUX/download.html
Use 'ioscan -fnkC disk' to see what LUN's are on your server.
Use the output of 'vgdisplay -v' to determine which LUN's are used.
You can also use 'pvdisplay /dev/dsk/cXtYdZ (from ioscan) to see also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 12:05 PM
03-17-2004 12:05 PM
Re: Resizing Partitions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 12:10 PM
03-17-2004 12:10 PM
Re: Resizing Partitions
To boot into single user mode.
From the console
# shutdown -r -y 0
SYstem will restart
Interrupt the system at the opportunity where it says 10 seconds to interrupt.
System will stop the the 'BCH' menu.
Choose 'boot from primary'
when the questions says:
interact with ISL say 'y'
ISL> hpux -is
The system will be in single user mode.
Please make sure you have enough disk space before attempting to do the filesystem extension.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 12:14 PM
03-17-2004 12:14 PM