How to change directory limit in Solaris?


 
Thread Tools Search this Thread
Operating Systems Solaris How to change directory limit in Solaris?
# 1  
Old 10-14-2010
How to change directory limit in Solaris?

Hi,

I am using Solaris 10.

i was trying to make a new directory in /u04 but it don't let me make directory unless i remove some other directories.

i issued the following command

Code:
 
df -F ufs -o i
Filesystem             iused   ifree  %iused  Mounted on
/dev/dsk/c1t0d0s0     225189 4748507     5%   /
/dev/dsk/emcpower2a   210933 24640075     1%   /BKP
/dev/dsk/emcpower1a    67942 24783066     0%   /u01
/dev/md/dsk/d91       650607 92702289     1%   /u03
/dev/dsk/emcpower0a    51971 62072637     0%   /u02
/dev/md/dsk/d92      1240164   10204    99%   /u04

/u04 is showing 99% what does it mean?
can we change this %age by modifying any config file? if yes, will it be safe or what cautions are required. what are possible solutions?

Kindly make me fully understand about its solutions and precautions and explanation,
# 2  
Old 10-14-2010
you are running out of inodes...

inode - Wikipedia, the free encyclopedia
# 3  
Old 10-14-2010
Quote:
Originally Posted by malikshahid85
can we change this %age by modifying any config file?
You can change this percentage by removing files and/or directories from the filesystem but the maximum number of inodes is set at filesystem creation time only. It can't be adjusted later.
Quote:
what are possible solutions?
Backup your filesystem, rebuild it with a larger inode density (or better switch to ZFS), then restore.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Limit directory Size in AIX

Hello I have a disk mounted on my AIX server and inside the disk, I want to create 3 directories with max size limit, so that the directories can be limited to pre-defined size. Eg: My total disk size is 350 GB and I want to limit dir1 to max of 100 GB, dir 2 to 75 GB and dir 3 to 60 GB and... (3 Replies)
Discussion started by: karumudi7
3 Replies

2. Red Hat

Is there limit on number of ACLs' per directory in Redhat

I work on a distribution application on Linux which generates bulk reference data extract feeds and stores them on a Linux server. I have several consumer applications access the files stored on this Linux server using FTPS protocol. However in order for consumer applications to have access to... (2 Replies)
Discussion started by: waavman
2 Replies

3. Solaris

Limit bash/sh user's access to a specific directory

Hello Team, I have Solaris 10 u6 I have a user test1 using bash that belong to the group staff. I would like to restrict this user to navigate only in his home directory and his subfolders but not not move out to other directories. How can I do it ? Thanks in advance (1 Reply)
Discussion started by: csierra
1 Replies

4. UNIX for Advanced & Expert Users

setfacl directory limit

hello, I am using XFS filesystem & ACL (setfacl/getfacl). I can set ACL entries only for 21 users per one directory. For the 22nd user it shows invalid argument. Has somebody the same problem? I need to override this limit. thnks in advance david (3 Replies)
Discussion started by: sigd
3 Replies

5. UNIX for Dummies Questions & Answers

Directory size limit

Hey everyone I'm trying to limit the size a directory can be under Solaris 10. I can find plenty of guides to do it for user home directories, ut what I'm after is an absolute limit, regardless of the user. For example: I want /export/example/ to never pass say 5 GB, no matter what user is... (3 Replies)
Discussion started by: goodvikings
3 Replies

6. Solaris

root can not change the permission of old oracle archive directory in solaris 8

I am using oracle 9i with sun solaris 8 on Sun E 250 server.earlier we are taking backup of oracle archive files on /orabackup directory.in which archive file are stored with ...arc.Z extension. now we have changed the archive backup directory.now when we are trying to delete earlier directory... (3 Replies)
Discussion started by: mahanalok
3 Replies

7. Linux

Limit directory size

Hello I want to limit the size of a directory; so a user cant copy more staff inside it then 5 Giga for example.. eg. /nfs/temp/jhon size can not increase more that 5Gb I havnt found anything on the net. Is there a way to do it? (2 Replies)
Discussion started by: jredx
2 Replies

8. UNIX for Dummies Questions & Answers

can I limit the size of a directory?

Hi, I am not root, but I need to limit the size of my directory, so that it cannot contain more than 200M of stuff inside. Is this possible? Also, how can I see the total size of that directory? If I do ls -ltrd, it does not give me the size of all the files inside the directory. And if I do df... (6 Replies)
Discussion started by: JamesByars
6 Replies

9. UNIX for Advanced & Expert Users

limit to number of files in a given directory

Everyone, We are on a unix AIX 4.3 platform and our application is written as such that all configuration files must reside in a specific directory. Currently there are over 10,000 files in this directory (and growing at about 300 per month). My question is is there a physical limit to the... (2 Replies)
Discussion started by: hedrict
2 Replies

10. UNIX for Dummies Questions & Answers

Directory limit

I'm setting up a file server for users. Does anyone know how I can limit each users directory to 500MB? -------------- Runing Solaris 8 (3 Replies)
Discussion started by: merlin
3 Replies
Login or Register to Ask a Question