- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- incorrect filesystem space shown in df
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
тАО03-01-2004 08:37 PM
тАО03-01-2004 08:37 PM
incorrect filesystem space shown in df
I have 2 ES40 servers in cluster with Tru64 5.1B PK2 .
Few days ago while creating some datafiles for tablespace in database our DBA created a datafile in one of the filesystems and for some reason he deleted the dbf file directly instead of unconfiguring it properly.
From then when I do a df -k I see that the boot disk for the 2nd server is showing 100% Capacity, whereas if I do a du to see which files are occupying the space it shows just 43 MB full out of 262 MB.
This is strange. Why is it showing so ?
Here is the output of df and du commands
# df -k root2_domain#root
Filesystem 1024-blocks Used Available Capacity Mounted on
root2_domain#root 262144 262144 0 100% /cluster/members/member2/boot_partition
# du -sk -x /cluster/members/member2/boot_partition
43450 /cluster/members/member2/boot_partition
Thanks in advance
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2004 09:01 PM
тАО03-01-2004 09:01 PM
Re: incorrect filesystem space shown in df
Can u confirm the following
1. Does the data file still appears as
configured?
2. What does lsfs (list file system) command
show ?
I would advise that
1. After making appropiate changes depending
on the output above, dismount the file
system and mount it back.
Let me know if this works.
Thanks
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2004 09:12 PM
тАО03-01-2004 09:12 PM
Re: incorrect filesystem space shown in df
By the way what is this lsfs command ? Is it in Tru64 Unix 5.1B ? I was unable to find such command.
Thanks
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2004 09:20 PM
тАО03-01-2004 09:20 PM
Re: incorrect filesystem space shown in df
One cannot umount the boot_partition of a running cluster member. To avoid rebooting the member associated with this partition, you could check with lsof or fuser if any process has still an open filedescriptor to a now deleted file in /cluster/members/member2/boot_partition and kill that process.
Note; "showfdmn -k root2_domain" and "/sbin/advfs/vdf -k root2_domain" are usually more accurate in showing the used space.
Rgds,
Johan.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2004 09:24 PM
тАО03-01-2004 09:24 PM
Re: incorrect filesystem space shown in df
the file system acted very normal. When you rm a file, you just delete the directory entry. As long as oracle had an open on the datafile, it was still existent. The moment, it was dropped, the last reference to it was gone and the file space released.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2004 09:26 PM
тАО03-01-2004 09:26 PM
Re: incorrect filesystem space shown in df
Ok :)) lsfs (is AIX command), run any command on your True Unix that lists filesystems ...
this command basically lists the filesystems from /etc/filesystem
if you cannot figure out the equivalent command let me know. I should be able to get that for you
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2004 10:39 PM
тАО03-01-2004 10:39 PM
Re: incorrect filesystem space shown in df
Use "showfdmns" to get the real counters on an advfs filesystem!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 11:36 PM
тАО03-02-2004 11:36 PM
Re: incorrect filesystem space shown in df
heres the showfdmn output
# showfdmn -k root2_domain
Id Date Created LogPgs Version Domain Name
3fc452e0.0109464d Wed Nov 26 12:44:40 2003 512 4 root2_domain
Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 262144 213760 18% on 256 256 /dev/disk/dsk5a
Here it is showing proper results. But why it is not showing correctly in df output. As Ralf said df refers quota files, so is there any way to correct this problem so that df also shows correct status.
Thanks Michael - you rightly pointed out that untill oracle released the file it still showed as space occupied, because I remember that after deleting the datafile entry from tablespace it was showing free space in that filesystem
So finally shall I conclude that actually there is no problem with the root2_domain#root fileset ?
Regards
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2004 07:21 AM
тАО03-03-2004 07:21 AM
Re: incorrect filesystem space shown in df
Yes Ninad, the root2_domain is OK, and no, df will not be corrected because it has to comply wih UNIX standards that were developped sometime in the past where UFS was 'the' filesystem.
If you want you can define an alias for your shell so that when you type 'df' it really calls /sbin/advfs/vdf.
Johan.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2004 06:28 PM
тАО03-03-2004 06:28 PM
Re: incorrect filesystem space shown in df
So you can check and verify the quota files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2004 10:21 PM
тАО03-03-2004 10:21 PM
Re: incorrect filesystem space shown in df
Now I will remember to use showfdmn or vdf for Advfs domains and I will check for quotas.
Regards
Ninad