Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Max. Folder

Status
Not open for further replies.

beer

Programmer
Mar 13, 2001
19
US
Hello,

I am having a problem with our server Redhat 7.2. We currently have 30211 folders in the home directory, and for some reason, the server won't create user folder after we that. I wonder if there are any folder restrictions on Linux's folder structure. As we are upgrading our system to 8.0, I am afraid that it may also be a problem in 8.0

If anyone has any idea, please help. Thank you very much.

Beer
 
We partitioned the hard drive to three different spots. The one that stores all the user folders are close to full, but not. There should be enough space to create another folder in there.
 
We are using both ext 2 and ext 3 for our two servers. Thank you.
 

What does debugfs say on inodes??

Cheers Henrik Morsing
IBM Certified AIX 4.3 Systems Administration
 
Hello,

I have figured that the max sub-directories of a single directoy can have are 32000. We have come up with the solution where we can create the sub-directories of each english letter, i.e. a, b, c....etc. Currently, we have 32000 sub directories and moving them into each a, b, c directories is not the problem at all. However, we need to find out how to change the /etc/passwd to tell it the users' home directories have changed from /home/auser to /home/a/auser.

I have been searching on the web to see if there is any script that can help the whole day, but I have no such a luck so far. Therefore, if anyone that can give me any suggestion, it will be very very great.

Thank you very much,
Beer
 
Like Morsing suggested above, I'd look at the number of inodes on the filesystem. That's the only thing I've ever heard of limiting the number of files or directories.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top