inode in solaris


 
Thread Tools Search this Thread
Operating Systems Solaris inode in solaris
# 1  
Old 07-05-2011
inode in solaris

Dear,

How can i check inode information in my Solaris box?


With Regards,
Mjoshi
# 2  
Old 07-05-2011
what kind of inode information do you need?
# 3  
Old 07-05-2011
If you mean inode usage data, you can use df like:
Code:
$ df -g /
/                  (/dev/md/dsk/d0    ):         8192 block size          1024 frag size
41310292 total blocks   18193814 free blocks 17780712 available        2486848 total files
 2293351 free files     22282240 filesys id
     ufs fstype       0x00000004 flag             255 filename length

(total files = number of inodes available, free files = number of inodes free)

If you want information about a particular inode, you can use the stat command, found in the coreutils package on sunfreeware.com:
Code:
$ stat a.out
  File: `a.out'
  Size: 6104            Blocks: 12         IO Block: 8192   regular file
Device: 1548032h/22315058d      Inode: 82          Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (  101/   hergp)   Gid: (  101/ rzadmin)
Access: 2010-05-19 17:28:16.409808000 +0200
Modify: 2010-05-19 17:29:49.233960000 +0200
Change: 2010-05-19 17:30:15.818544000 +0200

This User Gave Thanks to hergp For This Post:
# 4  
Old 07-12-2011
Run the command df -oi and the output will list the disks in your filesystem and the number of inodes used and free.
This User Gave Thanks to goose25 For This Post:
# 5  
Old 07-27-2011
for inode number of any file/directory u can try the command
Code:
ls -laibr

it will shouw u inode number for any file/directory..However if u have the inumber and want to get to the directory/file which has the known inumber try the command
Code:
find / -inum <inumber> -print

This User Gave Thanks to vivek.goel.piet For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Specify the inode of a file?

Is there any way to create a file on Solaris 10 (ZFS preferably, but UFS would be helpful as well) with a specific inode number? I need to create a file with a large inode, greater than a 32bit integer. I am trying to test a piece of software which may be incorrectly truncating large inodes down... (16 Replies)
Discussion started by: unblockable
16 Replies

2. UNIX for Dummies Questions & Answers

Inode usage

Environment: O.S Version HP-UX B.11.31 U ia64 What is the recommended Inode free nodes? On our server Unix Sys Admin, have setup warning email alert when % of I-node usage is above or equal at 5%. Sample Email: --------------------------------------------------- Subject: WARNING:... (6 Replies)
Discussion started by: Siva SQL
6 Replies

3. Solaris

Handling inode on solaris 9

Dear all, yesterday I had a big problem on Solaris 9. I cannot write anymore on /var. I checked the inode usage, and I see that for /var was at 100% with ifree = 0. I deleted some unused files (like old log on /var/tmp and /var/log), now I have ifree=19641 and 99% iused: root@ciy01 # df -F ufs... (12 Replies)
Discussion started by: Lord Spectre
12 Replies

4. Solaris

inode table in sun solaris

Hi, I would like to is it possible to repair inode table in solaris without running fsck? I am facing this issue in root file system, because to run fsck I have to bring system in single user mode with booting cdrom media. I facing strange issue in /var/adm/messages it is showing inode table... (12 Replies)
Discussion started by: manoj.solaris
12 Replies

5. Solaris

Size of an inode in Solaris 10

Can anyone know what is the size of an inode in Solaris 10 :D? (5 Replies)
Discussion started by: naag20
5 Replies

6. Solaris

How to increase Inode numbers in Solaris 10

Hi guys, need your help on this since i dont know much about solaris. the problem is i need to increase inodes space on /export/home/ root@BRF-DANCCM1 # /usr/ucb/df -i Filesystem iused ifree %iused Mounted on /dev/vx/dsk/bootdg/rootvol 53026 1162206 ... (7 Replies)
Discussion started by: ichiko
7 Replies

7. AIX

FS inode 58%

Hi Guys, I have this filesystem got big with inode: /dev/hd4 3670016 183664 95% 63705 58% /var I don't know why the system doesn't give alerts on this FS although it's 95% and why the inode is 58%. Any comments will be highly appreciated. Thanks, itik (1 Reply)
Discussion started by: itik
1 Replies

8. Solaris

about inode

how can i see inode table information of a perticler inode.anybody knows pls tell me. Than.Q (3 Replies)
Discussion started by: nag.mi2000
3 Replies

9. Red Hat

inode no and fd path

hi, can anyone please tell me where i can extract inode numbers and path associated with all file descriptors. i want these informations only. is there any system call or functions to get these things? i hav a RHEL 4. also /proc/pid/fd shows some file descriptor list. is that the proper path to... (1 Reply)
Discussion started by: sanjaykhuntia
1 Replies

10. Shell Programming and Scripting

INode

hi i am nitin... jus a new kid on the block... my query is... does the concept of region invovle sharin of inodes wen the sticky it is set... eg... if two process share two text regions... wat actually happens thank u (1 Reply)
Discussion started by: nitinsharma_ssn
1 Replies
Login or Register to Ask a Question