Sponsored Content
Operating Systems Solaris How to increase Inode numbers in Solaris 10 Post 302312992 by incredible on Monday 4th of May 2009 10:23:50 AM
Old 05-04-2009
You can either increase the size of file system using growfs or you can take the backup up the file system and then use the followign command:-

`newfs -i <nbpi> <other newfs parameters> to recreate the filesystem
"nbpi" is a confusing term but the smaller the number the more inodes in the filesystem.
 

10 More Discussions You Might Find Interesting

1. Solaris

How to increase or decrease inode number of the particular UFS filesystem

Hi Gurus I want to know the command & tips regarding, how to increase or decrease inode number of the particular ufs filesystem. Is it possible to do it in a live/production environment. Regards (3 Replies)
Discussion started by: girish.batra
3 Replies

2. 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

3. 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

4. Solaris

how to increase file size in solaris 10 os

hi, let me know how to increase file size in solaris 10 OS (4 Replies)
Discussion started by: meet2muneer
4 Replies

5. Shell Programming and Scripting

Awk : find progressive increase in numbers

NR_037575 -0.155613339079513 -0.952655362767482 -1.42096466949375 -0.797042023687969 -1.26535133041424 -0.468309306726272 NR_037576 0.59124585320226 0.408702582537126 0.888885242203586 -0.182543270665134 0.297639389001326 0.480182659666459... (4 Replies)
Discussion started by: quincyjones
4 Replies

6. Solaris

inode in solaris

Dear, How can i check inode information in my Solaris box? With Regards, Mjoshi (4 Replies)
Discussion started by: mjoshi87
4 Replies

7. Shell Programming and Scripting

increase/decrease multiple numbers in a filename.

I got a game that output map tiles of the session with the 0,0 position at the place you login/spawn. That makes making a map somewhat troublesome since the 0,0 will move. So I've been looking for a way to change the numbers in the filenames of all files in a folder by a certain value. The... (5 Replies)
Discussion started by: Ravenholdt
5 Replies

8. 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

9. Solaris

/sbin/rc0,rc5 and rc6 having same inode numbers

Hi All, While going through the old SUN docs, it occured to me that the run level initiating scripts /sbin/rc0,rc5 and rc6 have the same inode number. I understand they perform the same fuction (call /etc/rc0.d/K* and S* scripts) but still they are three different files and not linked to each... (2 Replies)
Discussion started by: satish51392111
2 Replies

10. Solaris

How to increase the size of rpool in Solaris 11?

Hi Please let me know how to increase the size of rpool in solaris 11 in ldom. I know how to map the new LUN to LDOM after that please let me know the procedure to increase the rpool and how to identify new disk in OBP level of ldom as I need to set the new/lun to be my new boot device. (5 Replies)
Discussion started by: hb00
5 Replies
MKFS(8) 						      System Manager's Manual							   MKFS(8)

NAME
mkfs - construct a file system SYNOPSIS
/sbin/mkfs [ -i bytes ] [ -s size ] [ -m gap ] [ -n modulus ] special DESCRIPTION
N.B.: file systems are normally created with the newfs(8) command. Mkfs constructs a file system by writing on the special file special. The size of the filesystem in logical blocks is specified by the -s size option. Logical blocks are 1K (2 sectors) under 2.11BSD. NOTE: The newfs(8) program's -s option is in units of sectors. Newfs(8) converts this to filesystem (logical) blocks for mkfs(8). The number of inodes is calculated based on the argument bytes to the -i option. The default is 4096. If more inodes are desired in a filesystem (there is an absolute maximum of 65500) then a lower value for bytes should be used, perhaps 3072 or even 2048. The flags -m gap and -n modulus determine the block interleaving of the freelist that will be constructed, where gap is the distance between successive 1024-byte blocks, and modulus is the number of blocks before the pattern repeats, typically one cylinder. The optimal values for these parameters vary with the speed and geometry of the disk, as well as the speed of the processor. Newfs(8) will calculate the correct values in almost all cases from the disklabel. SEE ALSO
fs(5), dir(5), disklabel(8), fsck(8), mkproto(8) newfs(8) BUGS
The lost+found directory is created but the boot block is left uninitialized (see disklabel(8).) 3rd Berkeley Distribution November 16, 1996 MKFS(8)
All times are GMT -4. The time now is 06:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy