Follow these steps to restore a file from the second image.
- Be sure the tape block size is 512 by entering the following command: #
lsattr -E -l rmt0.
If the block size is not correct,
use the following command to set it to 512: # chdev -l rmt0 -a block_size=512.
- Make sure the tape is rewound. If the tape is not rewound, enter
the following command: # tctl -f /dev/rmt0 rewind
- Extract the necessary files by entering: # restore -xvq
-s2 -f /dev/rmt0.1.filename
Note: The
filename should be the full path, and always preceded with a .
(dot character), such as ./tapeblksz.
- Rewind the tape by entering: # tctl -f /dev/rmt0 rewind
- Change the block size back to its original value, if necessary.