- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /opt Full
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
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
02-25-2009 04:17 AM
02-25-2009 04:17 AM
/opt Full
/opt is 100% so would you please let me know can i extend this FS if yes, Please let me know the procedure.
I want to increase it by 4 gb in VG i am having 10 gb free PE.
OS is 11.11 with out online JFS so also let me know can install the online JFS and do the FS management online ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2009 04:25 AM
02-25-2009 04:25 AM
Re: /opt Full
If you do not have online JFS then you cannot extend the filesystem online. You need to reboot into single user mode to extend it, since you cannot unmount /opt in multiuser mode.
Yes you can install online JFS and after that you can do FS management online. Once you have installed online JFS run the below commands to extend /opt online.
#lvextend -L
#fsadm -F vxfs -b
Examble:
# lvextend â L 10000 /dev/vg00/lvol4
# fsadm â F vxfs â b 10000M /opt
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2009 04:28 AM
02-25-2009 04:28 AM
Re: /opt Full
Ignore the Junk characters in the example.
examble: To extend to 10GB of total size
#lvextend -L 10000 /dev/vg00/lvol4
#fsadm -F vxfs -b 10000M /opt
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2009 05:13 AM
02-25-2009 05:13 AM
Re: /opt Full
You need bring down file system below 100% example:- 99%, Than Only It will allow to Increase you file system,
Step1 :- We need look for large file
cd /opt
du -sk *
or
find /opt -xdev -type f -size +5000000c -exec ll {} \; | sort -nk 5
>>OS is 11.11 with out online JFS so also let me know can install the online JFS and do the FS management online ?<<
Its Lincensed version , You buy this product
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2009 05:22 AM
02-25-2009 05:22 AM
Re: /opt Full
Hence you /opt part vg00 ,
You need bring Server into Single User mode and extend file system,
steps:-
shutdown -ry 0
interupt ISL> hpux -is
# mount -a
Sum up the recent size of the file system and the additional size.
Extend the logical volume.
# lvextend -L
# lvextend -L 10000 /dev/vg00/lvol2
# extendfs -F vxfs /dev/vg00/rlvol2
If you have ONline JFS no need downtime you can do ONLINE Extention as below
lvextend -L
fsadm -F vxfs -b 10000M /opt
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2009 06:53 AM
02-25-2009 06:53 AM
Re: /opt Full
# vgextend vg00 /dev/dsk/c*t*d* (in case you don't have enough vg)
# lvextend -L 4000 /dev/vg00/opt /dev/dsk/c*t*d*
# umount /opt
# extendfs -F vxfs /dev/vg00/opt
# mount /opt
# bdf /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2009 10:47 AM
02-25-2009 10:47 AM
Re: /opt Full
Online JFS is a Priced that is a Licensed product of HP and you need to order for that.
The install is quite Straight Forward that is swinstall and add the codeword and install.
After that you can online Extend/reduce Fileystems (Reduction has got limitations),Online Defreag, Snapshot, change and set Extent Attributes etc