02-15-2013
Well, where the inodes hide until closed varies with operating system and perhaps with file system. With Solaris, /proc suffices. Some of the file names in there give device and inode by number, as I recall, and may also be there as /dev/fd/some-number. Some file systems can actually lose track of space with overload, and need a reboot or more to rebuild the fs.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
How can I check whether a directory has enough space to create file? I have checked the space is availabe in the file system.
For example: the directory /var/tmp resides in root file system. In the root file system currently 20% (5.5gb) space availabe. but how can I check the in the /var/tmp,... (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
2. UNIX for Dummies Questions & Answers
Ok,
I have a drive on my unix system that looks like this:
/dev/hd4 0.38 0.00 100% 4316 3% /
I can't find any file on that drive that would account for the 400MB. How can I thoroughly find the culprit of this space? I've done ls -al, but don't see anything that... (1 Reply)
Discussion started by: bbbngowc
1 Replies
3. Filesystems, Disks and Memory
Good morning,
I seem to be running into an issue with some drives I have attached to my solaris server. The drives are attached correctly, the partitions are arranged with fdisk, the ext3 filesystem is setup using mkfs, and finally the drive is mounted.
When I use xdd to perform read/write... (3 Replies)
Discussion started by: mrpogo07
3 Replies
4. 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
5. Shell Programming and Scripting
for diskname in $(lspv |awk '{print $1}')
do
lquerypv -h /dev/|awk '/'$diskname'/ { print ; exit }'
done
No output is returning from the loop.
I think awk put an extra space to the command - lquerypv -h /dev/
so that the command is executed as i.e. lquerypv -h /dev/ hdisk230 with a space... (7 Replies)
Discussion started by: Daniel Gate
7 Replies
6. Solaris
HI All,
Recently during oracle install I realized that I did not have enough swap space.
So I -
1. Created a swap file "swap_fille1" in /rpool using mkfile -
# ls -ltr /rpool
total 10487121
drwxr-xr-x 3 root root 3 Dec 21 12:09 boot
drwxr-xr-x 2 root root ... (10 Replies)
Discussion started by: sumeet
10 Replies
7. Shell Programming and Scripting
Hello all,
i am new to linux , and please need your help and suggestion on....
when vi 1.txt :set list, it looks like
$ is displaying the end of line
Filter: vlan1-BUM-1M $
BUM-1M 0 ... (4 Replies)
Discussion started by: samoptimus
4 Replies
8. HP-UX
Hi,
I am not sure how many scripts / java processes running on my HP-UX server.
I need to calculate the total heap of these processes.
I then need to recommend increasing the swap memory to be increase and equal to total heap if that is the right concept.
Currently we are facing... (2 Replies)
Discussion started by: mohtashims
2 Replies
9. UNIX for Advanced & Expert Users
I have Solaris-10 with mutiple zones running in it. My Big Brother monitoring is complaining for very less swap space available, but I am not able to find, what process has consumed its swap space and how to clear it. All zones including global server have almost blank /tmp with very less data.... (3 Replies)
Discussion started by: solaris_1977
3 Replies
10. Solaris
I am trying to create soft partition
metaclear -r d109
metainit d109 -p d100 -o 178423817 -b 33554432
After i did this i saw the df -k
/dev/md/dsk/d109 0 779600337 0 0% /test
df -k shows that it is full? also i have tried adding no logging entry in /etc/vfstab... (0 Replies)
Discussion started by: gull05
0 Replies
df_hfs(1M) df_hfs(1M)
NAME
df_hfs: df - report number of free CDFS, HFS, or NFS file system disk blocks
SYNOPSIS
FStype] specific_options] [special|directory]...
DESCRIPTION
The command displays the number of free 512-byte blocks and free inodes available for file systems by examining the counts kept in the
superblock or superblocks. If a special or a directory is not specified, the free space on all mounted file systems is displayed. If the
arguments to are path names, reports on the file systems containing the named files. If the argument to is a special of an unmounted file
system, the free space in the unmounted file system is displayed.
Options
recognizes the following options:
Report only the number of kilobytes (KB) free.
Report the total number of blocks allocated for swapping to the file system
as well as the number of blocks free for swapping to the file system. This option is supported on HFS file systems
only.
Report the number of files free.
Report only the actual count of the blocks in the free list
(free inodes are not reported). When this option is specified, reports on raw devices.
Report only on the
FStype file system type (see fstyp(1M)). For the purposes of this manual entry, FStype can be one of and for the
CDFS, HFS, and NFS file systems, respectively.
Report the entire structure described in
statvfs(2).
Report the total number of inodes,
the number of free inodes, number of used inodes, and the percentage of inodes in use.
Report the allocation in kilobytes (KB).
Report on local file systems only.
Report the file system name.
If used with no other options, display a list of mounted file system types.
Specify options specific to the HFS file system type.
specific_options is a comma-separated list of suboptions.
The available suboption is:
Report the number of used and free inodes.
Report the total allocated block figures and the number of free blocks.
Report the percentage of blocks used,
the number of blocks used, and the number of blocks free. This option cannot be used with other options.
Echo the completed command line, but perform no other action.
The command line is generated by incorporating the user-specified options and other information derived from This
option allows the user to verify the command line.
When is used on an HFS file system, the file space reported is the space available to the ordinary user, and does not include the reserved
file space specified by
Unreported reserved blocks are available only to users who have appropriate privileges. See tunefs(1M) for information about
When is used on NFS file systems, the number of inodes is displayed as -1 . This is due to superuser access restrictions over NFS.
EXAMPLES
Report the number of free disk blocks for all mounted file systems:
Report the number of free disk blocks for all mounted HFS file systems:
Report the number of free files for all mounted NFS file systems:
Report the total allocated block figures and the number of free blocks, for all mounted file systems:
Report the total allocated block figures and the number of free blocks, for the file system mounted as /usr:
WARNINGS
does not account for:
o Disk space reserved for swap space,
o Space used for the HFS boot block (8K bytes, 1 per file system),
o HFS superblocks (8K bytes each, 1 per disk cylinder),
o HFS cylinder group blocks (1K-8K bytes each, 1 per cylinder group),
o Inodes (currently 128 bytes reserved for each inode).
Non-HFS file systems may have other items that this command does not account for.
The option, from prior releases, has been replaced by the option.
FILES
File system devices.
Static information about the file systems
Mounted file system table
SEE ALSO
du(1), df(1M), fsck(1M), fstab(4), fstyp(1M), statvfs(2), mnttab(4).
STANDARDS CONFORMANCE
df_hfs(1M)