04-16-2014
Thanks Don, unfortunately I had already tried searching using lsof for anything like that.
In this case it was a mount point that had got itself in a weird state. It was still mounted according to df but wasn't actually mounted so the app was spamming the log in that folder which was now part of /
Got it sorted in the end
Weird that it was showing as mounted when it wasn't though.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm really, really new to writing scripts, but have been asked to generate a report that will show available space for a disk, space used by particular subdirectories on the disk and totals. I can get the information I need with du and df and output it to a text file but I'm stumped as to how to... (3 Replies)
Discussion started by: DesperateDBA
3 Replies
2. UNIX for Dummies Questions & Answers
How would I go about finding the about of disk space occupied by a certain directory?
For example, /u1/cvera => 530 MB
Thanks =) (3 Replies)
Discussion started by: cvera8
3 Replies
3. UNIX for Dummies Questions & Answers
how can we determine the disk space
used by a certain directory? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
4. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
5. Shell Programming and Scripting
Hi all,
FreeBSD7.1 @ sh.
In a backup script I am trying to get the blocks used by the backup once completed.
I am using the function:
#!/bin/sh
spaceused()
{
du -d 0 "${1}" | awk -F"+" '{ print $1 }
}
to return the blocks used of said directory and contents.
Via. command line... (7 Replies)
Discussion started by: Festus Hagen
7 Replies
6. UNIX Desktop Questions & Answers
Issue with disk space usage
I have the following line in my "df -h" output:
Filesystem Size Used Avail Capacity Mounted on
/dev/ad4s1a 496M 495M -39M 109% /
What is the issue with having 9% excess utilisation? How can I find out what this partition is... (2 Replies)
Discussion started by: figaro
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
8. HP-UX
hi,
In HP unix, how can check the space usage in Mb
bdf will give me the output in Bytes i guess.
Also, how can i check the directory size in hp unix.
Thx (4 Replies)
Discussion started by: bang_dba
4 Replies
9. AIX
Hello.
I have a clean-up script that deletes > 5days old files on /archive/idocs directory. This script runs twice a week, Tuesday and Friday. This creates a log file that shows the current space usage before and after the files were deleted from the directory.
On Feb 3, the script ran and... (2 Replies)
Discussion started by: udelalv
2 Replies
10. Shell Programming and Scripting
Hi all,
I am looking for help with a script for displaying the space available from a df - h command for / (root).
The problem is: If it is below 700 MB I have jobs that are failing... Is there a way I can do a calculation? If it above 700 MB it is good, if it is below 700 MB it will fail.... (5 Replies)
Discussion started by: gartie
5 Replies
LEARN ABOUT DEBIAN
mounted.ocfs2
mounted.ocfs2(8) OCFS2 Manual Pages mounted.ocfs2(8)
NAME
mounted.ocfs2 - Detects all OCFS2 volumes on a system.
SYNOPSIS
mounted.ocfs2 [-d] [-f] [device]
DESCRIPTION
mounted.ocfs2 is used to detect OCFS2 volume(s) on a system. This tool assumes that the nodes detected on the system are part of the same
cluster as the one specified in /etc/ocfs2/cluster.conf.
OPTIONS
-d Lists the OCFS2 volumes along with their labels and uuids. If a device is not specified, it scans all the devices in /proc/parti-
tions.
-f Lists the OCFS2 volumes along with the list of nodes that have mounted the volume. The node names are listed if the O2CB cluster is
online. Note: As this information is gathered using dirty-read, the information may be stale.
EXAMPLES
[root@node1 ~]# mounted.ocfs2 -d
Device FS Stack UUID Label
/dev/sdb1 ocfs2 local 2D1C9636FE38462DB43A75D1DA592207 vmvol
/dev/sdj1 ocfs2 o2cb FF2E239B02D941FEAF25BDAE8DD553B9 dbstore
[root@node1 ~]# mounted.ocfs2 -f
Device FS Nodes
/dev/sdb1 ocfs2 node15, node1
SEE ALSO
mkfs.ocfs2(8) fsck.ocfs2(8) tunefs.ocfs2(8) debugfs.ocfs2(8) ocfs2console(8) o2cb(7)
AUTHORS
Oracle Corporation
COPYRIGHT
Copyright (C) 2004, 2010 Oracle. All rights reserved.
Version 1.6.4 September 2010 mounted.ocfs2(8)