- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What's wrong with my /opt filesystem?
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
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
тАО07-21-2005 09:22 PM
тАО07-21-2005 09:22 PM
But 'bdf /opt' give the following output:
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol6 5242880 4191744 1043496 80% /opt
Who can tell me why the used 4191744 is larger then 1957720?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 09:47 PM
тАО07-21-2005 09:47 PM
Re: What's wrong with my /opt filesystem?
first you may have
- additional mount points under /opt
second most likely you have
- links into other filesystems where du counts the size of those files in other filesystems as "disk usage"
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 09:52 PM
тАО07-21-2005 09:52 PM
Re: What's wrong with my /opt filesystem?
who ran the commands? root user?
here is the output from my system:
#du -xk
..
2847840 /opt
# bdf /opt
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol5 3145728 2858672 287056 91% /opt
# du /opt
...
5695680 /opt
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 09:53 PM
тАО07-21-2005 09:53 PM
Re: What's wrong with my /opt filesystem?
Apart from these option there is a possibility of some file still open under /opt which has been actually removed. lsof can help you to find these files.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2005 09:59 PM
тАО07-21-2005 09:59 PM
Re: What's wrong with my /opt filesystem?
lsof is available here is you do not have one.
http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.74/
Regards,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 09:12 AM
тАО07-23-2005 09:12 AM
Re: What's wrong with my /opt filesystem?
lsof /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 01:08 PM
тАО07-23-2005 01:08 PM
Re: What's wrong with my /opt filesystem?
another possibility is by ncheck command
ncheck -F vxfs /dev/vg00/lvol6
for example on lvol6 (should be /opt for you too) I can check contents are all expected.
A few months ago I used that to discover that another mount point was on root filesystem and that kept on a large amount of space.
Just a thought....
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 08:01 PM
тАО07-23-2005 08:01 PM
Re: What's wrong with my /opt filesystem?
root@neptune2 [/home/admin]
# lsof /opt
Memory fault(coredump)
root@neptune2 [/home/admin]
# file core
core: core file from 'lsof' - received SIGSEGV
root@neptune2 [/home/admin]
# swlist |grep lsof
lsof 4.74 lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2005 08:33 PM
тАО07-23-2005 08:33 PM
Re: What's wrong with my /opt filesystem?
try this :
getconf KERNEL_BITS
if it outputs number 32, this is why it is coredumping. If it reports back 64, I don't know why this is happening as it does not have any dependencies as far as I know.
On another note, are you sure you downloaded the correct depot for your hardware ? There are two depots over there. One for PA-RISC other for Itanium processors. Make sure you are trying to run the correct version.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2005 04:27 AM
тАО07-24-2005 04:27 AM
SolutionI just tested the lsof depot available at the site and found that when we install the one for PA-RISC 64 bit it give the same error as mentioed by you. Infact while installing it gives a error in the log file if you would have noticed
ERROR: Unknown owner and/or group for file "/usr/local/bin/lsof".
SUID and/or SGID bit was not set.
ERROR: Failed installing fileset "lsof.lsof-RUN,r=4.74". Check the
above output for details.
You can find this error in swagent log file /var/adm/sw/swagent.log as well.
I then found working lsof at the link
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/
This is binary itself and only require to be copied to sever and permisions set. Then it works like a champ.
HTH,
Devender