[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Error in backup while taking thru tar

I had schedule tar backup in ultrium 3581 tape library for following filesystem
tar3581.1st.sh backup of

/oracle_log_rss
/oracle_db_rss
/usr
/u01
/u02
/u03
/work/backup/expt/
/u05


 df -k
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4          1048576    433764   59%     1794     1% /
/dev/hd2          8388608   3021136   64%    54128     3% /usr
/dev/hd9var        524288    430980   18%      796     1% /var
/dev/hd3          2097152   2030492    4%      117     1% /tmp
/dev/hd1          1572864    328820   80%     2853     1% /home
/proc                   -         -    -         -     -  /proc
/dev/hd10opt       524288    495368    6%      421     1% /opt
/dev/lv_oracle_log    31457280  26013892   18%      409     1% /oracle_log
/dev/lv_oracle_db2    62914560  19207500   70%      108     1% /oracle_db_rss
/dev/lv_oracle_log2    13107200  12298504    7%       86     1% /oracle_log_rss
/dev/lv02        10485760   6847248   35%      450     1% /work_rss
/dev/lv00       183500800  53925860   71%      127     1% /oracle_db
/dev/lv01         5242880   3650816   31%   187515    15% /u01
/dev/lv03         5242880   4651120   12%     3787     1% /u02
/dev/lv04        45088768  10028264   78%   172053     7% /u03
/dev/lv05        33554432  14973764   56%    23068     2% /work
/dev/lv06         3145728   1739200   45%      191     1% /u05
/dev/lv07       183500800  19954848   90%      787     1% /oracle_backup


error in backup save  file displays the error as
a /work_rss/jitu/AIX SERVERS OPERATIONS MANUAL.doc 172 blocks
a /work_rss/jitu/Aix Report.zip 627 blocks
a /work_rss/jitu/NovemberReport.zip 11 blocks
a /work_rss/jitu/jitu1
a /work_rss/jitu/jitu1/NovemberReport.zip 11 blocks
a /work_rss/C 20 blocks
a /work_rss/backup
a /work_rss/backup/expt
a /work_rss/backup/expt/EXPBACKDATE
a /work_rss/backup/expt/EXPBACKDATE/rssprod280406.dmp 1230312 blocks
a /work_rss/backup/expt/EXPBACKDATE/rssprod280406.log 15 blocks
a /work_rss/backup/expt/EXPBACKDATE/rssprod280406rssvolimp.log 22 blocks
a /work_rss/LIST_USER_ROLE_PRIVS.sql 5 blocks
Backup to 3581 error. rc=2
Step1.4. Tape unmount start
Unloading medium to slot 7...
Releasing device...
Tape unmount completed. rc=0
Sun May 21 06:47:43 JST 2006
whats is the cause of the error.is it due to large filename?I cant take it manually as these are the production server and the oracle database cant be shut. but when i take the work_rss/LIST_USER_ROLE_PRIVS.sql 5 blocks backup manually where it stopped it is sucessfully done.

In other server
tail -20 tarDDS5.sh.log.Sun
a /work/ps/ps.log.2104 6368 blocks
a /work/ps/ps.log.Fri 6355 blocks
a /work/ps/ps.log.0205 6374 blocks
a /work/ps/ps.log.0805 12733 blocks
a /work/ps/ps.log.2604 6419 blocks
a /work/ps/ps.log.2804 6381 blocks
a /work/ps/ps.log.0905 6370 blocks
a /work/ps/ps.log.1005 6359 blocks
a /work/ps/ps.log.1105 6367 blocks
a /work/ps/ps.log.1205 6367 blocks
a /work/ps/ps.log.1505 6359 blocks
a /work/ps/ps.log.1605 6355 blocks
a /work/ps/ps.log.1705 6347 blocks
a /work/ps/ps.log.1805 6357 blocks
a /work/ps/ps.log.0304 6347 blocks
a /work/rakesh
a /work/rakesh/tarDDS5.sh 2 blocks
a /work/backup.log 20 blocks
Backup to DDS-5 error. rc=7
Sun May 21 04:54:12 JST 2006
 What is this rc indicates

Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           131072    103828   21%     1623     3% /
/dev/hd2         20971520   8812048   58%   150394     3% /usr
/dev/hd9var        131072     66316   50%     1441     5% /var
/dev/hd3          1048576   1013896    4%      309     1% /tmp
/dev/hd1           131072    126836    4%       43     1% /home
/proc                   -         -    -         -     -  /proc
/dev/hd10opt       131072     99812   24%      522     2% /opt
/dev/lv00         1310720    388048   71%     2011     1% /work
/dev/fwdump        262144    253876    4%       17     1% /var/adm/ras/platform

cat tarDDS5.lst
/usr
/work




0
harmsingh
Asked:
harmsingh
  • 2
1 Solution
 
gheistCommented:
rc is common notation for Return Code of program. Its output looks like it is tar.

I saw rc=2 couple of times not on AIX when files were deleted while tar was running.

Look into "smitty errpt" for tape and/or disk errors, I assume there are none.
0
 
gheistCommented:
Please explain why you gave grade C.
0
 
harmsinghAuthor Commented:
I had given good for all ur answers.what u had  given is right but it did not gave the error solution.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now