- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extend /opt on 11.23 using LVM
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
Discussions
Forums
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
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-18-2011 09:56 AM
тАО03-18-2011 09:56 AM
i was installing sw and /opt filled up on 11.23. is ther a way to grow it online or barring that can i somehow get down to a single user mode where i can umount it and then lvextend it or somesuch ?
i have free cyls on that same OS disk that will suffice (according to vgdisplay -v)
thx
bigdaddy68
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 10:06 AM
тАО03-18-2011 10:06 AM
Re: extend /opt on 11.23 using LVM
My patch process for vxvm systems checks free space and issues a vxresize +1g to make sure there is adequate free space on /opt, /usr and /var.
Patching processes can and should be scripted.
My process uses bdf output and issues the appropriate expansion of logical volumes and file systems.
Let me know or contact me offline if you want to see the script. It is something I am proud of.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 11:25 AM
тАО03-18-2011 11:25 AM
Solutionlvextend -L
fsadm to extend without umount or extendfs to extend the filesystem if you can umount.
See man pages for more detail.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 11:41 AM
тАО03-18-2011 11:41 AM
Re: extend /opt on 11.23 using LVM
This depends on if you have a base or online JFS product. Base JFS does_not normally allow you to extend without "unmounting". However, if you have an MCOE you could do this online by commands mentioned by SEP.
Execute, swlist -l product | grep -i online to see if the Online JFS product is installed and proceed for extension accordingly.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 05:54 PM
тАО03-18-2011 05:54 PM
Re: extend /opt on 11.23 using LVM
As said above, use either option depending on the online jfs insatlled, if your vg00 is of type vxfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2011 04:38 AM
тАО03-19-2011 04:38 AM
Re: extend /opt on 11.23 using LVM
#lvextend -L 2000 /dev/vg00/lvol9
# fsadm -b 2000m /opt
where /opt is the mount point
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2011 12:47 PM
тАО03-19-2011 12:47 PM
Re: extend /opt on 11.23 using LVM
as mentioned above !!
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 04:49 PM
тАО03-20-2011 04:49 PM
Re: extend /opt on 11.23 using LVM
thank gosh i had 11.23 0706 MCOE installed and i had online jfs ...
also steve protter thx for the script offer but i am so new here i have no idea how to email or contact you for that script - thx for offering it
much thanks to all
bigdaddy68