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)
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)