- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increaze the size of logical volume
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
06-09-2002 11:17 PM
06-09-2002 11:17 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2002 11:26 PM
06-09-2002 11:26 PM
SolutionOnce you have ll your users off:
cd / ; shutdown -r -y 0
Now from the system console wait for the prompt to give you the opportunity to interrupt the boot sequence. Once interrupted type 'boot' and answer 'y' to the question 'interact with ISL?' Once at the ISL prompt type 'hpux -is' to go to single user mode.
Now you can extend your LV/filesystem in the usual way:
lvextend -L
extendfs -F
Of course if you have Online JFS installed (check using swlist) You can just extend the /usr file system on-line:
lvextend -L
fsadm -F vxfs -b
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 12:07 AM
06-10-2002 12:07 AM
Re: Increaze the size of logical volume
Do U have Online JFS Installed in ur BOX? If Yes, Then U must be able to increase /usr from ur current runlevel. Follow this
#lvextend -L XXX /dev/vg00/lvolX
Here XXX is the final size of /usr
#fsadm -F vxfs -b XXXm /usr
Suppose, U don't have Online JFS Installed, Then Follow below procedure
Plan for an outage after getting the permission.
Shutdown the system, While booting disturb the auto boot by pressing esc key. U will come to main menu, Here U type "boot pri", Now system will ask U, Whether U want to interact with ISL or not? Select yes. In ISL prompt type like this
ISL>hpux -is
Now system will take U to single user mode. Then follow this
#lvextend -L XXX /dev/vg00/lvolX
#extendfs -F vxfs /dev/vg00/lvolX
Check up U are OK or not by bdf command.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 03:14 AM
06-10-2002 03:14 AM
Re: Increaze the size of logical volume
Try this link,
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000046785431
You can also do this by taking the system to single user mode, then unmounting and extending /usr like any other lv.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 03:57 AM
06-10-2002 03:57 AM
Re: Increaze the size of logical volume
Did the following sometimes back.
Hope this helps!
==============================================
a. Do a full backup of you server.
b. Identify the logical volume and disk information
#bdf|grep usr
/dev/vg00/lvol7 426837 283672 100481 74% /usr
c. View the disk information
lvdisplay -v /dev/vg00/lvol7 | more
Verify Free PE's
d. Reboot the server in single user mode
shutdown -r now
bo pri isl
interact with ISL? Y
hpux -is
Thus, nothing will be mounted
e. Extend /usr using the command:
/sbin/lvextend -L 2048 /dev/vg00/lvol7
/sbin/extendfs -F hfs /dev/vg00/rlvol7
f. Mount and verify the file system
g. Reboot server to normal running state
shutdown -r now
===============================================
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 08:24 AM
06-10-2002 08:24 AM
Re: Increaze the size of logical volume
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 04:25 PM
06-10-2002 04:25 PM
Re: Increaze the size of logical volume
I'd add the following recommendations:
[1] Do the LVM in multi-user, and boot to single-user for the extendfs. That way you won't schedule and perform a reboot only to find the dreaded "Insufficient Free PEs". And extending the partition in multi-user should present no problems even in a production environment (you just can't use the space 'til the filesystem is expanded).
[2] I believe it to be mostly harmless :) to extendfs or fsadm filesystems where bdf shows ~85% used or less. 95% or more, you may be tempting fate, particularly with fsadm, as the command(s) require some "working room" in the existing filesystem that's being extended. In that case, I'd either tempt fate if I had a fresh backup (remember, there's a /sbin/frecover, and a /sbin/tar, but that's it, no /sbin/omniback, _etc._), or "offload" some of those files elsewhere (tape, another filesystem, whatever) until the percentage used dropped to what you consider safe.
[3] For VxFS, don't play with unpatched systems. Patching is a Big Subject, many pitfalls there. But whatever, when HP discovers "undocumented festures", and fixes them, ignoring those patches may increase the possibility that you will RE-discover something already known. And most VxFS problems, the commands may be fixed by patching, but already busted filesystems aren't healed....
gk
:)