How to increase Inode numbers in Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris How to increase Inode numbers in Solaris 10
# 1  
Old 01-25-2008
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/

Code:
root@BRF-DANCCM1 # /usr/ucb/df -i
Filesystem             iused   ifree  %iused  Mounted on
/dev/vx/dsk/bootdg/rootvol
                       53026 1162206     4%   /
/dev/vx/dsk/bootdg/var
                        8008  719928     1%   /var
/dev/vx/dsk/bootdg/opt
                        8123  479173     2%   /opt
/dev/vx/dsk/bootdg/home
                     4169154 1401662    75%   /export/home

any good and effective suggestion on this?
try to ask some people and they said i have to backup /export/home/ and then format the partition. and dump the data back to /export/home/.

Server is SUN Netra 240 running solaris 10. since the customer didt allow me to ssh remotely from outside. i have to go to the datacentre and troubleshoot it directly. (it will take 2hrs travel time..from my house to the datacentre)
# 2  
Old 01-25-2008
Quote:
Originally Posted by ichiko
any good and effective suggestion on this?
try to ask some people and they said i have to backup /export/home/ and then format the partition. and dump the data back to /export/home/.
Yes, that the way to do it.
While you do that, take the opportunity to migrate your slice to a zfs pool and /export/home to zfs and then forget about all of these pesky file-system annoyances forever ...
# 3  
Old 05-04-2009
How to increase Inode capacity in Solaris but in root filesystem

Hello, I have a similar problem but in the "/" root directory in Solaris 8 Containers Branded Zone. Smilie

I have 50GB space free but only 2000 free inodes numbers.
If I put in the root filesystem more then 2000 files I obtain the "Not enough space free" message while the space is still a lot free.

Because is Solaris 8 and is the root filesystem I can't make the same solution based in ZFS filesystems. Can someone help me about this?
Thanks a lot!
# 4  
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.
# 5  
Old 05-04-2009
create a new filesystem with the needed inode size and clone the zone... haven't done this with a branded zone but maybe it's worth a try?!
# 6  
Old 05-04-2009
Quote:
Originally Posted by vermelius
Because is Solaris 8 and is the root filesystem I can't make the same solution based in ZFS filesystems.
I didn't check but why wouldn't a branded Solaris 8 zone be installed on ZFS ?
On Solaris Express on x86, I have Linux zones running on ZFS with no issues.
# 7  
Old 05-04-2009
Hello and thanks to all the people.

I don't have experience whit ZFS filesystems and I'm fighting with Solaris Containers Branded Zone for Solaris 8.

jlliagre: I read that a instance of Solaris 8 installed in a Solaris Containers Branded Zones can be installed in a ZFS filesystem. I believe that the problem could be that afther from the Solaris 8 we couldn't take advantadge of this features.

Solaris 8 containers have limitations, for example I don't have disks:
SunOS 5.8# format
Searching for disks...done
No disks found!
I can't use growfs (inexist in Solaris8) and if I use newfs I can't put any raw device.
jlliagre: Can you, in your linux zones running on ZFS, change the inodes capacity with newfs "newfs -i <nbpi>"? or perhaps in ZFS it is innecessary forever to do that.

Thanks a lot again!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question