> frecover(5403): Unable to open or identify device at /dev/rmt/0m
You issued the frecover -V command without specifying a tape to read which is option -f. If you do not have a tape drive at /dev/rmt/0mn then you will get an error message. You will also get an error if there is no tape inserted in the drive.
Your first error message "magic value is incorrect" means that the tape in the drive is written in some other format -- it is not an fbackup tape and frecover can do nothing with it.
You script should be rewritten to handle all these errors:
1. The device file does not exist (test with -c)
2. There is no tape inserted (test with mt status option)
3. The tape is not in fbackup format (test with frecover -V)
If any of these tests fail, then your script should report the error and quit.
Bill Hassell, sysadmin