01-18-2011
(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
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: kd9626
1 Replies
2. UNIX for Dummies Questions & Answers
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)
Discussion started by: duke0001
4 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: dhula
2 Replies
4. Shell Programming and Scripting
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)
Discussion started by: Arunprasad
5 Replies
5. Shell Programming and Scripting
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)
Discussion started by: pchangba
2 Replies
6. AIX
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)
Discussion started by: philplasma
3 Replies
7. Cybersecurity
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)
Discussion started by: disaster
15 Replies
8. Shell Programming and Scripting
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)
Discussion started by: PG3
2 Replies
LEARN ABOUT LINUX
vgcfgrestore
VGCFGRESTORE(8) System Manager's Manual VGCFGRESTORE(8)
NAME
vgcfgrestore - restore volume group descriptor area
SYNOPSIS
vgcfgrestore [-d|--debug] [-f|--file filename] [-l[l]|--list] [-h|--help] [-M|--Metadatatype1|2] [-t|--test] [-v|--verbose] VolumeGroupName
DESCRIPTION
vgcfgrestore allows you to restore the metadata of VolumeGroupName from a text backup file produced by vgcfgbackup. You can specify a
backup file with --file. If no backup file is specified, the most recent one is used. Use --list for a list of the available backup and
archive files of VolumeGroupName.
OPTIONS
-l | --list -- List files pertaining to VolumeGroupName
List metadata backup and archive files pertaining to VolumeGroupName. May be used with the -f option. Does not restore Vol-
umeGroupName.
-f | --file filename -- Name of LVM metadata backup file
Specifies a metadata backup or archive file to be used for restoring VolumeGroupName. Often this file has been created with vgcfg-
backup.
See lvm for common options.
REPLACING PHYSICAL VOLUMES
vgdisplay --partial --verbose will show you the UUIDs and sizes of any PVs that are no longer present. If a PV in the VG is lost and you
wish to substitute another of the same size, use pvcreate --restorefile filename --uuid uuid (plus additional arguments as appropriate) to
initialise it with the same UUID as the missing PV. Repeat for all other missing PVs in the VG. Then use vgcfgrestore --file filename to
restore the volume group's metadata.
SEE ALSO
lvm(8), vgcreate(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGCFGRESTORE(8)