(Very) early cleardown or archive of your primary directories very important for performance.
Some admins leave it for weeks or months or years before getting around to the cull. At a design level you need to implement data culls or archive processess according to rules from "day one" to prevent unix directories becoming oversize due to laziness in archiving or removing old files.
Serious note: You may need to schedule downtime to backup, re-create & restore key directories in order to maintain performance.
Last edited by methyl; 01-18-2011 at 09:09 PM..
Reason: Typos
Another often overlooked option is putting the quiescent files in a zip file (with relative paths) and accessing them by something like:
so no temp raw copies are written (avoid wasted space, bandwidth, latency, cleanup, name collisions). It saves storage space and the files may flow faster out of a CPU unzip than raw off the disk. Some tools can traverse a zip as if it was a directory, and honoring relative paths stored inside the zip. For NFS files, the data traverses the network compresssed, adding speed and conserving bandwidth. Of course, you cannot seek in a compressed file stream fd/FILE*, but not all apps do seeks in flat files.
Hi Experts,
Need some help with a script which is definetly beyond my scripting skills.
Here is flat file that I have with 4 Key Columns
KEYCOLUMN1 KEYCOLUMN2 KEYCOLUMN3 KEYCOLUMN4
123ABC AEG MANCHESTER BIGBOX... (2 Replies)
Hey,
I actually do have a question which seems rather easy for those you know more about this topic, since I am pretty new to bashscripting and don't know where it's limits are I have to ask you guys :)
Imagine a system where all possible code execution methods (binary executables or... (15 Replies)
I need to change how a posting procedure currently works in order to improve load balancing but I am hitting a potential file contention problem that I was wondering if someone here could assist me with...
In a directory called FilePool I would have a bunch of files that are constantly coming in... (3 Replies)
I need to write a script which will check all the directories in / and find out which is separate filesystem or a directory inside /
suppose i have
/application -->/dev/hdisk0 is a partitiom
/abc --> is a directory
/xyz-->is a directory
/db-->/dev/hdisk1 is a partition
actually my / gets... (2 Replies)
Hi All,
I want to find the percentage occupied by the directory in the file system.
Say, i have the file system
/home/arun/work
under this file system i have the directories
/home/arun/work/yesterday
/home/arun/work/today
/home/arun/work/tomorrow
The size of the file system is... (5 Replies)
Hi all,
Complete and utter virgin Unix person here (I don't even have the OS yet)
As I'm doing a "looking into it" kinda thing before I move from MS I hope my questions are not inappropriate.
1. Should I get some kind off anti virus software. I know Unix is pretty good for not getting them... (2 Replies)
I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as... (4 Replies)
Can you give a very basic definition of file system vs. directory in unix. The context is around monitoring for disk capacity maxing out.
Why would /appl/sbe/inst_2/config/logs not be able to be because it is a directory
but appl/cce can be monitored because it is a unix file system. They... (1 Reply)