- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to increase size of /opt by sam
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
03-18-2004 02:21 AM
03-18-2004 02:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 02:25 AM
03-18-2004 02:25 AM
Re: how to increase size of /opt by sam
1. Unmount /opt (make sure you are not in /opt)
2. lvextend -L
3. extendfs /dev/vg00/lvol1 (<- again change path accordingly)
And that should be it!
Make sure you have enough space beforehand to do this.
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 02:27 AM
03-18-2004 02:27 AM
SolutionIf you can stop all processes usinf that file system, then unmount the filesystem.
Do lvextend -L "new_size_in_MB" /dev/vgxx/lvolxx
Then do extebdfs /dev/vgxx/lvolxx
Mount the filesystem and check it with bdf /opt.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 02:31 AM
03-18-2004 02:31 AM
Re: how to increase size of /opt by sam
thanks Ido not have JFS
Do I this in signal user mode ? what about procese are running?
If This I do by SAM then also unmount the
volume
my disk(vg00) is mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 02:41 AM
03-18-2004 02:41 AM
Re: how to increase size of /opt by sam
fuser -cu /opt
if there are no processes
umount /opt
lvextend -L (new size in MB) /dev/vg00/lvol4
extendfs /dev/vg00/lvol4
if fuser shows you processes running, stop them if you can. Then do the steps above.
Single user would also be the safest way to do it, if you are unsure of any processes running from /opt.
Note: lvol4 may no tbe /opt so modify the above accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 02:51 AM
03-18-2004 02:51 AM
Re: how to increase size of /opt by sam
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 03:19 AM
03-18-2004 03:19 AM
Re: how to increase size of /opt by sam
what happen on Mirror hard drive
asif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 05:06 AM
03-18-2004 05:06 AM
Re: how to increase size of /opt by sam
#swlist -l product |grep -i jfs
when you extend a already mirrored logical voulme, it will also extend the mirror copy but you must checked the space on mirrored disk by
vgdisplay -v vg00|more