- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- BDF output wrong . . .
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
04-30-2008 08:35 PM
04-30-2008 08:35 PM
BDF output wrong . . .
When I removed some files to reduce space, files has removed but bdf shows wrong output. still it is showing older information, but when i tried to use du -sk command, it is giving updated information. Please help me as I require space to add new files.
OS : B.11.11
Model: Superdome
Regards,
Piyush Mathiya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 09:13 PM
04-30-2008 09:13 PM
Re: BDF output wrong . . .
You can use lsof or fuser to try to find who is using that file.
>as I require space to add new files.
You can't get that space until you kill that process or reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 09:34 PM
04-30-2008 09:34 PM
Re: BDF output wrong . . .
lsof
check the big files u have removed and see if these are open , if they are you will have to restart the process which has this file open.
U can go to directory which has big sapce gradually by using du -sk *|sort -n
If u do not have lsof the remember the biggest file u removed check which process uses this file and restart that process(if u can without hurthin system) will give u some space.
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 10:01 PM
04-30-2008 10:01 PM
Re: BDF output wrong . . .
and files has already removed,
How can I check with fuser command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 10:09 PM
04-30-2008 10:09 PM
Re: BDF output wrong . . .
Regards,
Piyush Mathiya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 10:18 PM
04-30-2008 10:18 PM
Re: BDF output wrong . . .
# pwd
/upwrtx19
# du -sk *
0 lost+found
37297424 oradata
#
#
# bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vguprtx06/lvol4
62783488 45690336 16959680 73% /upwrtx19
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 10:47 PM
04-30-2008 10:47 PM
Re: BDF output wrong . . .
>and files has already removed,
Then you need to download a copy. lsof doesn't care.
>How can I check with fuser command?
Not if removed.
>I also want to know that is it any problem with inode table or something else,
No, this is exactly how things work.
37297424 oradata
62783488 45690336 16959680 73% /upwrtx19
Yes, your 45-37 Gb must have been those file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 11:39 PM
04-30-2008 11:39 PM
Re: BDF output wrong . . .
Filesystem kbytes used avail %used Mounted on
/dev/vguprtx06/lvol4
62783488 45690336 16959680 73% /upwrtx19
#
45690336 + 16959680 = 62650016
U do not have any problem with open files.Its OK.Since user+availabel equals to available space.
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 01:05 AM
05-01-2008 01:05 AM
Re: BDF output wrong . . .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 01:19 AM
05-01-2008 01:19 AM
Re: BDF output wrong . . .
there is a good descrption of your problem in the man page for the unlink system call: "man 2 unlink"
Follow Dennis' advice; if I remember correctly, you should then be able to execute this:
# lsof /upwrtx19 | grep deleted
which should reveal the PIDs of the processes holding the deleted files open.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 01:52 AM
05-01-2008 01:52 AM
Re: BDF output wrong . . .
Sometimes it observed that, when we delete some files from the file system, it will still shows the same size of the file system. This may be holding of that files or linked file is still hold by another instances.
For example, if you delete a log file and if it is tailed by a user. That file wont be deleted.Sometimes a process or thread can do this things.
you ma check your process details , who are holding what
#ps -ef|grep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 01:58 AM
05-01-2008 01:58 AM
Re: BDF output wrong . . .
# lsof /upwrtx19 | grep deleted
Not giving any records,
# unlink /upwrtx19
unlink: No such file or directory
How can we use unlink
I have read manual but I didn't get any example.
Please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 02:09 AM
05-01-2008 02:09 AM
Re: BDF output wrong . . .
>I have read manual but I didn't get any example.
You don't use unlink(2) directly, that's what rm(1) does. Basically unlink(2) describes the problem you have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 04:12 AM
05-01-2008 04:12 AM
Re: BDF output wrong . . .
If you know the filenames, may be you can try to grep those and see whether some of them are still opened, even if, those are removed from the dir.
lsof /upwrtx19 | grep filename (s)
if you can find any PIDs with those, just kill it.
If lsof, in anywany, does not help, if it is possible, to unmount /upwrtx19 , just unmount the filesystem and re-mount it back and check.
Regards,
Rasheed Tamton.