First file system /oraarch/fs1771 contains the below database archive directories
OS00DB1 OS00DB2 OS00DB3
and second file system /oraarch/fs1772 contains database arch directories
OS00DB1 OS00DB2 OS00DB3
disk usage using du command:
oracle > du *
0 OS00DB1
1496 OS00DB2
38818792 OS00DB3
Inside each directory archive files will be stored with .arc extension
ex:/oraarch/fs1772/OS00DB3/1_1035_721234582.arc
/oraarch/fs1772/OS00DB2/1_1035_721234594.arc
.
.
I need to find the unique database name that is causing the archive file system crossing threshold value and check which database actually reaching the threshold value and appropriate script needs to run.
Having 3 archive directories on a single filesystem is a bad idea : if for any reason one of the archive directory fills the FS, it will also freeze the 2 other databases.
You'd better to separate 3 differents FS and mount each of them on their own directories so that if a problem occurs, the problem will not impact the 2 other database.
cd /oraarch/fs2718
>ls
DB0070
cd DB0070
.arc files exists in this directory
pwd
/oraarch/fs2718/DB0070
Archive backup script location is /u01/apps/script/DB0070_ar.ksh
some other database archive scripts are also there in servers which are migrated to another server.
I want to call the script by checking the database name in archive destination respective database archive should run.
Please let me know if you need any more details
Thanks in advance,
---------- Post updated 10-17-13 at 08:51 AM ---------- Previous update was 10-16-13 at 09:14 AM ----------