- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increase /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
Forums
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
11-06-2003 12:49 AM
11-06-2003 12:49 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 12:56 AM
11-06-2003 12:56 AM
SolutionNote the device file from the output
# lvextend -L
lv??? will be the device that represents /opt
Now, you will have to boot to single user mode and unmount /opt
# shutdown now
Wait for the transition
# umount /opt
# extendfs /dev/vg00/rlv???
If you have paid for OJFS, you skip the shutdown and unmount and use fsadm to extend the filesystem while it's mounted.
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 12:57 AM
11-06-2003 12:57 AM
Re: Increase /opt
if there space on your volume group vg00, then you can increase the size opt file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 01:09 AM
11-06-2003 01:09 AM
Re: Increase /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 01:10 AM
11-06-2003 01:10 AM
Re: Increase /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 01:14 AM
11-06-2003 01:14 AM
Re: Increase /opt
First
# lvextend -L
Second
Now, you will have to boot to single user mode and unmount /opt
Third
# umount /opt
# extendfs /dev/vg00/rlv???
# shutdown -ry 0
Verification increase /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 01:19 AM
11-06-2003 01:19 AM
Re: Increase /opt
1- check if you have space
# vgdisplay vg00
the free space(MB)= Free PE * 4
2- if you have a free space run bdf
to note the device file for opt
bdf | grep opt
you have an output like this:
/dev/vg00/lvolX ??? ???? ??? ??% /opt
3- you can increase opt file system online or you can go to single user mode
online mode
# lvextend -L new_size /dev/vg00/lvolX
#fuser -kc /opt
#umount /opt
# extendfs /dev/vg00/rlvolX
#mount -a
check the new size bdf
ofline follow the procedure of brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 01:20 AM
11-06-2003 01:20 AM
Re: Increase /opt
Hi,
#bdf
locate what is the /opt ex: lvol6 in hpux11.00
# lvextend -L
#shutdown 0
#umount /opt
#extendfs -F vxfs /dev/vg00/rlvol6
#shutdown -ry 0
DGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 01:27 AM
11-06-2003 01:27 AM
Re: Increase /opt
what you said is correct as long as you don't have onlineJFS. This product allows you to do this without unmounting the filesystem and without re-booting
check if you have it with "swlist | grep JFS"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 11:23 AM
11-06-2003 11:23 AM
Re: Increase /opt
Have you any idea why /opt is full? Has it suddenly become full, or is it just that its grown as you've installed more products?
I usually install applications on their own filesystems mounted under /opt rather than just increase the size of /opt. That way if, for example, an application goes nuts and starts creating huge log-files, it won't affect other applications.
So, the things to consider:
1) Why /opt is full, and how quickly did it fill up. Do you have an application writing stuff there which can be cleared down, or is it just natural growth.
2) Are you installing a new application which will fill up /opt? You can either extend /opt as suggested by others in this thread, or create and mount a new filesystem under /opt and install your application there.
Regards
Col.