Hi
I am working on SunOS 5.6
#mt -f /dev/rmt/0cbn status
DLT4000 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
with the following scripts :
mt -f /dev/rmt/0cbn rewind
tar cvf /dev/rmt/0cbn /oracle* 2>/home/oracle/oracle.log
tar cvf /dev/rmt/0cbn /data01 2>>/home/oracle/oracle.log
tar cvf /dev/rmt/0cbn /redolog 2>>/home/oracle/oracle.log
1) will /oracle* /data01 /redolog be tar to tape or only /redolog left at the end of the script ?
2) is 2 for error output ? in the above case, will the content of the tar be store to oracle.log or only the error will store to the oracle.log ?
3) is
tar cvf /dev/rmt/0cbn /oracle* /data01 /redolog > /home/oracle/oracle.log 2> oracle.error
recomended instead ?
4) is n in 0cbn stand for no rewind or just a device name ?
Please help
Thank you very much
Neo
I am working on SunOS 5.6
#mt -f /dev/rmt/0cbn status
DLT4000 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
with the following scripts :
mt -f /dev/rmt/0cbn rewind
tar cvf /dev/rmt/0cbn /oracle* 2>/home/oracle/oracle.log
tar cvf /dev/rmt/0cbn /data01 2>>/home/oracle/oracle.log
tar cvf /dev/rmt/0cbn /redolog 2>>/home/oracle/oracle.log
1) will /oracle* /data01 /redolog be tar to tape or only /redolog left at the end of the script ?
2) is 2 for error output ? in the above case, will the content of the tar be store to oracle.log or only the error will store to the oracle.log ?
3) is
tar cvf /dev/rmt/0cbn /oracle* /data01 /redolog > /home/oracle/oracle.log 2> oracle.error
recomended instead ?
4) is n in 0cbn stand for no rewind or just a device name ?
Please help
Thank you very much
Neo