- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- opt/ directory is 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
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
02-22-2007 01:37 PM
02-22-2007 01:37 PM
opt/ directory is full
I need help for my opt/ directory is full
i used #df -h
i see this one
[root@bgc-site-nms01 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p3 9.7G 1.3G 8.0G 14% /
/dev/cciss/c0d0p1 99M 11M 83M 12% /boot
none 506M 0 506M 0% /dev/shm
/dev/cciss/c0d0p2 29G 25G 2.9G 90% /opt
/dev/cciss/c0d0p7 2.0G 36M 1.8G 2% /tmp
/dev/cciss/c0d0p5 4.9G 1.9G 2.7G 41% /usr
/dev/cciss/c0d0p6 4.9G 220M 4.4G 5% /var
[root@bgc-site-nms01 ~]#
Opt directory contains 5.7GB but there is used size is 25Gb.Where is 19GB.I need help plz
sorry my poor enlish
** edited to remove profanity to comply with forum guidelines **
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 02:02 PM
02-22-2007 02:02 PM
Re: opt/ directory is full
Please watch your languaje.
Nos to your problem. Maybe you opt filesystem is directed to another mount point, check you /etc/fstab file
to see that everithing checks out.
Also look at your syslog.log file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 02:18 PM
02-22-2007 02:18 PM
Re: opt/ directory is full
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/opt /opt ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var1 /var ext3 defaults 1 2
LABEL=SW-cciss/c0d0p8 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
[root@bgc-site-nms01 opt]# ls
AdventNet AdventNet.orig lost+found
[root@bgc-site-nms01 /]# du -h /opt | sort -rn | more
5.7G /opt
5.4G /opt/AdventNet
1.2G /opt/AdventNet/ME/OpManager
4.2G /opt/AdventNet/ME/ServiceDesk
319M /opt/AdventNet.orig
16K /opt/lost+found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 02:50 PM
02-22-2007 02:50 PM
Re: opt/ directory is full
/dev/cciss/c0d0p2 29G 25G 2.9G 90% /opt
Your du command wouldn't find files that were unlinked but still open. You should try:
$ fuser -cu /opt
Was the -h in du a typo? You might want to do:
$ du -kxs /opt/* | sort -rn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 03:09 PM
02-22-2007 03:09 PM
Re: opt/ directory is full
USER PID ACCESS COMMAND
/opt root kernel mount /opt
[root@bgc-site-nms01 ~]# du -kxs /opt/* |sort -rn
5613100 /opt/AdventNet
326188 /opt/AdventNet.orig
16 /opt/lost+found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 03:31 PM
02-22-2007 03:31 PM
Re: opt/ directory is full
I asked for -cu. I can't find -v as valid?
#> du -kxs /opt/* |sort -rn
Ok, your numbers indicate something is missing.
You could also check with:
$ bdf /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 06:16 PM
02-22-2007 06:16 PM
Re: opt/ directory is full
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p3 10080520 1272816 8295636 14% /
/dev/cciss/c0d0p1 101086 11260 84607 12% /boot
none 517312 0 517312 0% /dev/shm
/dev/cciss/c0d0p2 30233928 6018096 22680020 21% /opt
/dev/cciss/c0d0p7 2016016 35848 1877756 2% /tmp
/dev/cciss/c0d0p5 5036284 1956700 2823752 41% /usr
/dev/cciss/c0d0p6 5036284 258460 4521992 6% /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 06:17 PM
02-22-2007 06:17 PM
Re: opt/ directory is full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2007 01:59 PM
02-23-2007 01:59 PM
Re: opt/ directory is full
Always verify via fuser, which process is holding the file before doing any removals.
In these cases, with unexplainable missing disk space, try to run lsof on the device.
Like:
lsof | grep /opt
Or:
lsof +aL1 /opt
Hope this helps next time.