- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- opt file system 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
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
тАО02-07-2006 07:58 AM
тАО02-07-2006 07:58 AM
opt file system full
In one of my production ( hp ) server the /opt filesystem is nearing 100% , i have attached the big files in the attachment . can any one suggest me to remove the unwanted files or to trim any log files .
bdf /opt
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol6 1024000 1010356 38124 99% /opt
And i would also like to clarify that what filesystems does the online jfs does not apply , can i increase the opt filesystem thru online JFS .
Please post your valuable suggesstions
Thanks in advance
Susee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:02 AM
тАО02-07-2006 08:02 AM
Re: opt file system full
The /opt filesystem is for binaries and has very little variable data. It can safely be left at 99% ifyou wish.
To expand it.
lvextend the logical volume
use fsadm to extend the filesystem with OnlineJFS.
The way to reduce the usage of /opt is to remove optionaal software.
ll /opt
to get an idea whats there.
Then use swremove to remove what you don't need.
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
тАО02-07-2006 08:04 AM
тАО02-07-2006 08:04 AM
Re: opt file system full
Properly setup, '/opt' should be static in size. '/var' should be the repository of most log files, including those from applications in '/opt'.
Yes, you absolutely can use OnlineJFS to resize '/opt'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:06 AM
тАО02-07-2006 08:06 AM
Re: opt file system full
Is there any possible way to find the unused softwares .
and is it possible to compress/unavailable softwares and make it available when requested .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:06 AM
тАО02-07-2006 08:06 AM
Re: opt file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:07 AM
тАО02-07-2006 08:07 AM
Re: opt file system full
To extend your FS with online JFS
# lvextend -L 2048 /dev/vg00/lvol6
# fsadm -F vxfs -b 2048m /opt
check bdf .
Rgds / James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:11 AM
тАО02-07-2006 08:11 AM
Re: opt file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:13 AM
тАО02-07-2006 08:13 AM
Re: opt file system full
lvextend -L 2048 /dev/vg00/lvol6
fsadm -F vxfs -b 2048M /opt
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:13 AM
тАО02-07-2006 08:13 AM
Re: opt file system full
Since this is in VG00 , when increasing will it affect other filesystems in vg00
currently i am having ( / , /swap , /var , /usr , /stand , tmp ) in vg00 .
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:16 AM
тАО02-07-2006 08:16 AM
Re: opt file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:17 AM
тАО02-07-2006 08:17 AM
Re: opt file system full
No, increasing '/opt' will not affect the other filesystems residing in vg00.
There is no requirement for the logical volume that underlies '/opt' to have configuous extents, so enlarging it will not be a problem.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:29 AM
тАО02-07-2006 08:29 AM
Re: opt file system full
Extending a file system does not effet any other file system.
Check if you have online jfs installed and free extents available to increase filesystem online with method given by other fellow forum members.
Good luck
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:30 AM
тАО02-07-2006 08:30 AM
Re: opt file system full
lvextend has failed can you suggest me what is the problem even i find enough free PE's are available .
lvextend -L 2048 /dev/vg00/lvol6
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol6" could not be extended.
Failure possibly caused by strict allocation policy
# vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 19
Open LV 19
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 7285
Free PE 1395
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 112
Current LE 28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:35 AM
тАО02-07-2006 08:35 AM
Re: opt file system full
lvdisplay -v /dev/vg00/lvol6 |grep Allocation
Does it show strict? or strict/contiguous?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:37 AM
тАО02-07-2006 08:37 AM
Re: opt file system full
it is strict
# lvdisplay /dev/vg00/lvol6
--- Logical volumes ---
LV Name /dev/vg00/lvol6
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 500
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:37 AM
тАО02-07-2006 08:37 AM
Re: opt file system full
This is because you have not continuous extents available and your LVOL is set for continuous. This can be changed by
#lvchange -C n /dev/vg00/lvol6
Then retry vgextend.
Moreover apart from extending /opt you can remove one of the older versions of java if not in use. More than one version of java are seen in the attachment of the file list.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:39 AM
тАО02-07-2006 08:39 AM
Re: opt file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:52 AM
тАО02-07-2006 08:52 AM
Re: opt file system full
Post full output of vgdisplay -v vg00 - so we can see the disks at the end...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 09:06 AM
тАО02-07-2006 09:06 AM
Re: opt file system full
here is the output
# vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 19
Open LV 19
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 7285
Free PE 1395
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 112
Current LE 28
Allocated PE 56
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 2048
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 140
Current LE 35
Allocated PE 70
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 500
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 20
Current LE 5
Allocated PE 10
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 500
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 1400
Current LE 350
Allocated PE 700
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 500
Used PV 2
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 432
Current LE 108
Allocated PE 216
Used PV 2
LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 12
Current LE 3
Allocated PE 6
Used PV 2
LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 1536
Allocated PE 1536
Used PV 1
LV Name /dev/vg00/lvol12
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 512
Used PV 2
LV Name /dev/vg00/lvol13
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol14
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol15
LV Status available/syncd
LV Size (Mbytes) 0
Current LE 0
Allocated PE 0
Used PV 0
LV Name /dev/vg00/lvol16
LV Status available/syncd
LV Size (Mbytes) 76
Current LE 19
Allocated PE 19
Used PV 1
LV Name /dev/vg00/lvol17
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 50
Allocated PE 50
Used PV 1
LV Name /dev/vg00/lvol18
LV Status available/syncd
LV Size (Mbytes) 100
Current LE 25
Allocated PE 25
Used PV 1
LV Name /dev/vg00/lvol19
LV Status available/syncd
LV Size (Mbytes) 100
Current LE 25
Allocated PE 25
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c5t8d0
PV Status available
Total PE 4340
Free PE 0
Autoswitch On
PV Name /dev/dsk/c3t8d0
PV Status available
Total PE 4340
Free PE 1395
Autoswitch On
--------------------------------
and i would also like to confirm the syntax
for changing it
lvchange -s n /dev/vg00/lvol6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 09:13 AM
тАО02-07-2006 09:13 AM
Re: opt file system full
As the first disk do not have any free space you can not extend a mirroed LVOL with strict allocation policy and will not have benefit of mirroring it otherwise.
There are too many small LVOLs in first disk itself which I do not think would be of any actual use. If these small LVOL can be removed then you should be able to extend the mirrored LVOL. You should extend the LVOL only by the space available on both the disks.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 09:17 AM
тАО02-07-2006 09:17 AM
Re: opt file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 09:32 AM
тАО02-07-2006 09:32 AM
Re: opt file system full
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 10:18 AM
тАО02-07-2006 10:18 AM
Re: opt file system full
Another good options seems to be by moving one of unmirrored LVOLs to the second disk. lvol14-lvol19 can be reallocated to the second disk. This will create some space in first disk and will allow you to extend mirror LVOL. This can be simply done by
#pvmove -n /dev/vg00/lvol14 /dev/dsk/c5t8d0 /dev/dsk/c3t8d0
Repeat same for lvol16,17,18,19.
This will create 1500MB of free space on first disk and the balance free space in second disk will still be 4080MB, allowing you to extend lvol6 (opt).
This can be done online but the performance will be slightly low. Also do cconsider the low size LVOLs, if they are not mounted and are not in use these can be really removed. Sometime for practicing commands some new administrators create such LVOLs and then leave them. You can find the usage from bdf output.
But even without removing them you can extend opt by using pvmove.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 10:31 AM
тАО02-07-2006 10:31 AM
Re: opt file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 11:11 AM
тАО02-07-2006 11:11 AM
Re: opt file system full
Thanks for every one those who gave me the solutions ,
Finally we plan to moveout the /opt filesystem from vgoo ..and extend the filesystem after that
we have scheduled later this month .
let me post some messages during that actvity
once again thanks for all .
Susee