LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 10-22-2012, 10:52 AM   #1
kevin.watson
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:

MB_Sync
Category
Product ID
Language
image.jpg
production_images (symlinked folder)
Product ID
Language
image.jpg
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, 10:57 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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: https://www.linuxquestions.org/quest...ty-4175433514/

Reported for closure.
 
Old 10-22-2012, 11:00 AM   #3
kevin.watson
LQ Newbie
 
Registered: Oct 2012
Posts: 4

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

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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 01:08 AM
LXer: Natty Ubuntu - Natty Narwhal Inspired Theme for Nokia Smartphones LXer Syndicated Linux News 0 06-10-2011 10: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 04:00 AM
Limit size of a subdirectory carlmarshall Linux - Newbie 6 07-15-2008 11:52 PM
How to overcome the 2GB Ftp limit in redhat 7.2 running kernel 2.4.7-10 Ryleco Linux - Software 0 09-07-2004 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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