09-10-2008
Number of used inodes..?
Hello Experts
How can i know Number of used and free inodes in a file system?
thanx in advance..
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Could someone please explain to me the concept of INodes?
Colour me a DOS/MacOS junkie, but I don't quite understand.
Is there any relation to clusters, or physical distro.?
ty. (3 Replies)
Discussion started by: boris888
3 Replies
2. Solaris
Does anyone know what command I can run to check how many inodes are in use on a specific filesystem. On Data General servers I used to run the df -k command to check the status of the inodes for all file system.s (1 Reply)
Discussion started by: soliberus
1 Replies
3. Solaris
hi
i need to find all the files that r linked to the current file as i need to delete the file as well as few of its links :confused:
thnx in advance (1 Reply)
Discussion started by: livemyway
1 Replies
4. UNIX for Dummies Questions & Answers
how is the location of inodes in the physical disk.
are they sequential like:
bootblock|superblock|inode1|inode2| ....| datablock1|datablock2|datablock3
or are they distributed among data blocks like:
bootblock|superblock|inode1|datablock1|inode2|datablock2|datablock3|inode3
|datablock4 (3 Replies)
Discussion started by: gfhgfnhhn
3 Replies
5. Linux
Any good sites, tutorials that explain Inodes clearly and completely ? (3 Replies)
Discussion started by: nitin09
3 Replies
6. Solaris
Hi ,
Can someone help me to increase "inode" in solaris 9?
Thanks in advance,
Gowtham (8 Replies)
Discussion started by: gowthamakanthan
8 Replies
7. Filesystems, Disks and Memory
Hi, sorry to have written in other language i think i could do that.
I would to know
A file system use inodes indexed allocation as a method of allocating space.
In the inode blocks are 10 references to direct, 1 indirect reference to a single block, 1 block indirect reference to a reference to... (1 Reply)
Discussion started by: maryprin
1 Replies
8. Solaris
Dear Forum,
Please help me i have SUNW,Sun-Fire-V240 with sun solaris 8,if i check inode in /var like below:
# df -F ufs -o i
Filesystem iused ifree %iused Mounted on
/dev/md/dsk/d0 62354 310638 17% /
/dev/md/dsk/d3 372992 0 100% /var... (2 Replies)
Discussion started by: fredginting
2 Replies
9. UNIX for Advanced & Expert Users
How can i trace Inode structure and modify it in UNIX kernel?
We want to change the inode structure in the sense that we want to add a new field to the inode data structure. So we want to know how and where to trace inode (7 Replies)
Discussion started by: Group_Inode
7 Replies
10. Shell Programming and Scripting
Hi,
Is there a restriction in the number of inodes a particular directory can have in Solaris.
If so how can we determine that.
Regards (3 Replies)
Discussion started by: @bhi
3 Replies
LEARN ABOUT DEBIAN
rfio_statfs
RFIO_STATFS(3) Rfio Library Functions RFIO_STATFS(3)
NAME
rfio_statfs - get information about a mounted filesystem
SYNOPSIS
#include <sys/types.h>
#include "rfio_api.h"
int rfio_statfs (const char *path, struct rfstatfs *statfsbuf);
Under Linux, for large files:
#define _LARGEFILE64_SOURCE
#include <sys/types.h>
#include "rfio_api.h"
int rfio_statfs64 (const char *path, struct rfstatfs64 *statfsbuf);
For large files, under other systems:
#include <sys/types.h>
#include "rfio_api.h"
int rfio_statfs64 (const char *path, struct rfstatfs64 *statfsbuf);
DESCRIPTION
rfio_statfs gets information about a mounted filesystem.
path specifies the logical pathname relative to the current directory or the full pathname of any file in this filesystem.
statfsbuf
is a pointer to a rfstatfs structure:
struct rfstatfs {
long totblks ; /* Total number of blocks */
long freeblks ; /* Number of free blocks */
long bsize ; /* Block size */
long totnods ; /* Total number of inodes */
long freenods ; /* Number of free inodes */
};
struct rfstatfs64 {
signed64 totblks ; /* Total number of blocks */
signed64 freeblks ; /* Number of free blocks */
long bsize ; /* Block size */
signed64 totnods ; /* Total number of inodes */
signed64 freenods ; /* Number of free inodes */
};
The 64 bits function must be used for large filesystems. It has the same syntax as the normal statfs function except that it uses a rfs-
tatfs64 structure.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
ENOENT The named file/directory does not exist or is a null pathname.
EACCES Search permission is denied on a component of the path prefix.
EFAULT path or statfsbuf is a NULL pointer.
ENOTDIR A component of path prefix is not a directory.
ENAMETOOLONG The length of path exceeds CA_MAXPATHLEN or the length of a path component exceeds CA_MAXNAMELEN.
SENOSHOST Host unknown.
SENOSSERV Service unknown.
SECOMERR Communication error.
SEE ALSO
Castor_limits(4)
AUTHOR
LCG Grid Deployment Team
LCG
$Date: 2005/09/20 12:07:09 $ RFIO_STATFS(3)