newfs – i where to look for changed inode density


 
Thread Tools Search this Thread
Operating Systems Solaris newfs – i where to look for changed inode density
# 1  
Old 05-28-2009
newfs – i where to look for changed inode density

Hi All,

While creating the ufs file system with newfs - i where can I see the change, I mean if the density of inode has been increased where I can see it.

I tried with fstyp –v <slice> however not sure as where to look for the information.

Will appreciate if I can get some help from you all!

Thanks

-----Post Update-----

Hey i got the answer for this question with the help of man df

we can use

#df -F ufs -o i <slice> to find the details related to used and free inode .

Thanks

Last edited by kumarmani; 05-28-2009 at 04:12 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Unable to create file system (newfs)

Hi I have the following cenario: I have requested a LUN from the NetApp to create a file system, and the netapp admin provide me with one as you can see below, but after following all the steps, I could not create a file system on the device: # format Searching for disks...done ... (11 Replies)
Discussion started by: fretagi
11 Replies

2. Shell Programming and Scripting

Script to echo "File permissions or ownership changed from required " when accidentally changed.

Hi All, I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :( which have similar names ( /var in root and var of some other directory ).:confused: Can some one suggest me with the... (1 Reply)
Discussion started by: shiek.kaleem
1 Replies

3. Solaris

stepping through newfs

On a RAID-5 solaris 9 server, we replaced a bad disk. Upon boot up, a mount point failed: vxvm:vxvol: ERROR: Volume IQ_Staging is not startable; some subdisks are unusable and the parity is stale With Sun tech support, we tried vxvol start and vxvol resync, but it remained... (3 Replies)
Discussion started by: abstractrick
3 Replies

4. Shell Programming and Scripting

awk - calculation of probability density

Hi all! I have the following problem: I would like to calculate using awk a probability of appearing of a pair of numbers x and y. In other words how frequently do these numbers appear? In the case of only one integer number x ranged for example from 1 to 100 awk one liner has the form: awk... (4 Replies)
Discussion started by: jarowit
4 Replies

5. Solaris

difference between mkfs and newfs

hi what is the difference between mkfs and newfs (2 Replies)
Discussion started by: madhudeepan
2 Replies

6. Solaris

newfs

Hi, can someone please help me create a newfs on my unix server ? thankyou venhart (7 Replies)
Discussion started by: venhart
7 Replies

7. Solaris

why cant i do a newfs?

what do you make of this ?? all I want to do is newfs a slice of disk..... # uname -a SunOS myhost 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V240 # cat /etc/release Solaris 10 8/07 s10s_u4wos_12b SPARC Copyright 2007 Sun Microsystems, Inc. All... (4 Replies)
Discussion started by: robsonde
4 Replies

8. UNIX for Advanced & Expert Users

newfs hotspares: solaris volume manager

I'm running sun volume manager on solaris 9. I have two hotspares and are currently on standby. Both are not being utilized. Can I newfs both of them? Do I need to deleted the hostpares first, then newfs? hsp002: 2 hot spares Device Status Length Reloc ... (3 Replies)
Discussion started by: xnightcrawl
3 Replies

9. UNIX for Dummies Questions & Answers

newfs, mounting, new partitions, HELP!!

Looking for a good online primer/intro to creating a new file system, mounting, and eventually using NFS. Do you use newfs then mount or mount then newfs, how do you work with a new partition to create a new file system.... it's all a bit confusing. The man pages are a little too verbose and... (1 Reply)
Discussion started by: charliewade
1 Replies
Login or Register to Ask a Question
NEWFS(8)						      System Manager's Manual							  NEWFS(8)

NAME
newfs - construct a new file system SYNOPSIS
/sbin/newfs [ -N ] [ -m free-gap ] [ -n free-modulus ] [ -i bytes ] [ -s size ] [ -T disk-type ] special DESCRIPTION
Newfs is a ``friendly'' front-end to the mkfs(8) program. Newfs(8) will normally read the disklabel from the drive to determine the parti- tion sizes. If the driver for the disk does not support disklabels the -T option must be used to force a search of /etc/disktab for parti- tion information about drive-type. Newfs calculates the appropriate parameters to use in calling mkfs, then builds the file system by forking mkfs. -N causes the mkfs command which would be executed to be printed out without actually creating the file system. The disk specified by spe- cial must be online though so that newfs can read the disklabel. -m allows the specification of the block interleaving of the free list. If not specified or outside the range 1 thru 32 then a value of 2 is used. -n parameter is the freelist modulus (when the -m pattern repeats) and is calculated by newfs to be 1 cylinder in size by default. -i specifies how many bytes per inode to assume when calculating how many inodes to allocate. The default is 4096 bytes per inode. If this results in too few inodes being allocated (there is an absolute maximum of 65500) then decrease the bytes number (which must lie between 512 and 65536). -T must be used if the disk specified by special has not been labeled with the disklabel(8) program. In this case disk-type is used by getdisklabel(3) when searching /etc/disktab. This option is used when the underlying device driver does not support disklabels. Care must be taken that the contents of /etc/disktab match the partition tables in the kernel. -s specifies how many sectors the file system is to contain. There are two sectors per file system block, therefore size should be even. This parameter must be less than or equal to the partition size (as determined from the disklabel or /etc/disktab). An error is printed and no action is taken if the partition size is 0 or too large. NOTE: Mkfs deals in units of filesystem blocks not sectors. Newfs uses sectors. FILES
/etc/disktab disk geometry and partition information mkfs to actually build the file system SEE ALSO
getdisklabel(3), disklabel(8), disktab(5), diskpart(8), fs(5), fsck(8), mkfs(8) BUGS
newfs(8) no longer places boot blocks on the filesystem. That duty has been moved to the disklabel(8) program. If you must place a boot block on a disk whose driver does not support disklabels use dd(1). 4.2 Berkeley Distribution April 12, 1996 NEWFS(8)