Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


Closed Thread
  Search this Thread
Old 10-22-2012, 11:52 AM   #1
LQ Newbie
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
How to overcome 32,000 subdirectory limit in Ubuntu Server 11.04 Natty

I have a server (Ubuntu 11.04 Natty with reiserFS) that holds and serves product images, that's it's only job. There are several applications that are pulling images from this server.

Images are automatically put into directories according to their unique identifier during a nightly batch job. Unfortunately, I now have too many product ID's (over 32,000). Other applications rely on the directory structure staying intact as it is now. I cannot update the file system because it is a Mediatemple (ve) server and I don't have access to control the hardware.

I need to find a solution that allows me to get over the 32,000 subdirectory limit and haven't been successful thus far.

I can modify the directory structure in which the images are loaded to further subdivide and avoid the issue, but as I mentioned, I still need to maintain my directory structure for the production_images folder.

Here is a solution I thought about but not sure how to implement:

Have all images loaded and subdivided in a folder called MB_Sync and them have a symlinked folder called production_images. Any directories added to MB_Sync would be linked in production_images. It would be based on the following structure:

Product ID
production_images (symlinked folder)
Product ID
How can I create the symlink to pull from the category folders in MB_Sync and just give me the Product ID directory in production_images?
Old 10-22-2012, 11:57 AM   #2
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392
Cross-posting is against the LQ rules. Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.

Continue in the other/original thread:

Reported for closure.
Old 10-22-2012, 12:00 PM   #3
LQ Newbie
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Sorry about that...I'm a newb
Old 10-22-2012, 01:26 PM   #4
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
As druuna said. Kevin, if you post a thread in a forum and then you want it to be moved to a more suitable forum for better exposure, just report your own post (see the report button in the lower-right corner of your post) and ask a moderator to move it. Anyway, welcome to LinuxQuestions!

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Overcome 32,000 Subdirectory Limit on Ubuntu Server 11.04 Natty kevin.watson Linux - Newbie 5 10-24-2012 02:08 AM
LXer: Natty Ubuntu - Natty Narwhal Inspired Theme for Nokia Smartphones LXer Syndicated Linux News 0 06-10-2011 11:30 AM
LXer: How to upgrade from Ubuntu 10.04, 10.10 to Ubuntu 11.04 Natty Narwhal | Desktop & Server LXer Syndicated Linux News 0 04-01-2011 05:00 AM
Limit size of a subdirectory carlmarshall Linux - Newbie 6 07-16-2008 12:52 AM
How to overcome the 2GB Ftp limit in redhat 7.2 running kernel 2.4.7-10 Ryleco Linux - Software 0 09-07-2004 10:23 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration