- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 11.11 increasing the size of /opt
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
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
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
08-09-2011 06:57 AM
08-09-2011 06:57 AM
It's been a while since I have had to deal with this issue. But I may need to increase the size of /opt to upgrade to Data Protector 6.2. Is that one of the filesystems that requires going to single user mode?
Input will be appreciated.
Stuart
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2011 09:55 AM
08-09-2011 09:55 AM
SolutionMost likely, but only if you do not have OnlineJFS. With this feature you can expand your filesystem online.
With OnlineJFS (Advanced JFS) installed:
# lvextend -l <new total PE size> | -L <new total MB size> <lv_path>
# fsadm -b <size> <file_system>
size = (PE size x 1024) (Total PE)
-- or --
size = xxxxM (value in Megabytes)
example:
# lvextend -L 2500 /dev/vg00/lvol7 (increase size of lvol7 to 2500 MB)
# fsadm -b 2500M /usr (increase size of /usr filesystem to 2500 MB)
Without OnlineJFS Unmount filesystem (for those such as /var /usr, reboot to single-user mode)
# lvextend -l <new total PE size> | -L <new total MB size> <lv_path>
# extendfs <lv_path> (the max available size is used by default Mount filesystem
example:
# lvextend -l 400 /dev/vg00/lvol5 (increase the number of extents to 400 on lvol5)
# umount /home
# extendsfs /dev/vg00/lvol5 (increase the size of the filesystem to the max allowed by the LV)
# mount /home
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2011 10:07 AM
08-09-2011 10:07 AM
Re: HP-UX 11.11 increasing the size of /opt
Bob,
I do have on-line JFS, so I will be able to follow your steps. Thanks for the confirmation.
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2011 07:32 AM
08-10-2011 07:32 AM
Re: HP-UX 11.11 increasing the size of /opt
Stuart,
It is highly unlikely that you will be able unmount /opt while in multi-user mode, so you will probably have to go to single user.
Pete