Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mksysb error in AIX V5.2.0.0

Status
Not open for further replies.

110877

MIS
Nov 14, 2001
25
AU
Hi everyone,
I wrote a little script to backup the rootvg. Here is it;

chdev -l 'rmt0' -a block_size='5120'
mksysb -i -p /dev/rmt0
chdev -l 'rmt0' -a block_size='1024'

this script get call from the crontab. This script work on AIX 4.3 but now that we have upgraded to AIX 5.2.0.0 this appear to have this error message:-

>Start time of backup Fri Feb 27 04:00:00 EET 2004
>rmt0 changed

>Creating information file (/image.data) for rootvg...

>Creating tape boot image./dev/rmt0.1 rewind 1 failed: A >system call received a parameter that is not valid.

>0512-044 mksysb: Cannot access device /dev/rmt0.1.
> tctl rewind failed with return code 2.

>rmt0 changed

Can someone tell why I am getting this error message and what I need to do to fix this problem?

Many thanks in advance,
Patrick (27-Feb-2004)
 
It looks like the tape drive definition might have changed. Post the output of "lsdev -Cc tape"

BV
 
Dear bjverzal,
Here is the result of the command "lsdev -Cc tape"

f80:/live_dat/data/halas =>lsdev -Cc tape
rmt0 Available 11-09-00-3,0 IBM 3580 Ultrium Tape Drive
smc0 Available 11-09-00-1,0 IBM 3581 Tape Medium Changer
f80:/live_dat/data/halas =>

dblair,
We have an "Ultrium Tape Autoloader SL7"

Also it works on AIX4.3.3 but since we upgraded we have had problem.

HELP!!!

Pat (110877)
 
How about "lslpp -l devices.scsi.tape" and
"lslpp -l Atape.driver"

BV
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top