Storing more than 4 million files on a 4 TB filesystem

Hi all,

I'm running a system with a 4TB md device (made up of 4 luns from my attached storedge systems). On that, I created a UFS filesystem, which gives me nearly 4 TB storage available.

However, lately, I got the "out of inodes", as we have 4 million files stored on this filesystem. However, only 2 TB in storage is used. As 1M is the smallest blocksize available, I cannot increase the amount of inodes, thus cannot store more files on it.

So, how can I change/recreate the filesystem so that I can store more than 4 million files on it?

-bg

[584 byte] By [Belnet] at [2007-11-25 23:14:46]
# 1
Look at the manpage for newfs and check out the "-i nbpi" section. You'll have to recreate the fs as I don't think tunefs can do that automagically.
torreysun at 2007-7-5 18:04:01 > top of Java-index,Storage Forums,Storage General Discussion...
# 2

Dear Sirs,

I've the same problem. Using a RAID-System I got 1.4 TB available space to create an UFS. I've tried

newfs -T /dev/md/dsk/d0 with the following results:

df -k

/dev/md/dsk/d0143265557665560 14182634641%/U

df -o i

/dev/md/dsk/d0414613720%/U .

How can I increase the number of inodes?

I'm using Solaris 9. "do" is a concatenation of 2 "virtual" disks provided by the RAID-system.

With best regards

Johannes H.

ir-jh@igb-berlin.de

jh10m47 at 2007-7-5 18:04:01 > top of Java-index,Storage Forums,Storage General Discussion...
# 3
Make sure you have the patches that allow for multi-terabyte UFS. A seach on Sunsolve.sun.com should help.
torreysun at 2007-7-5 18:04:01 > top of Java-index,Storage Forums,Storage General Discussion...