1827482 Members
2083 Online
109965 Solutions
New Discussion

fbackup error

 
SOLVED
Go to solution
R.L
Occasional Advisor

fbackup error

Hi,

When I'm doing fbackup, it gave me an error message:
fbackup(3047): could not open output file /dev/rmt/0m
fbackup(3019): would you like to enter a new output file?

The command I used was "fbackup -vf /dev/rmt/0m -g gfile -c config_file"
Why is this error message means? and what is the solution for this kind of error?
How to determine the output file of the fbackup command?

Any help is appreciated.

Thanks!
6 REPLIES 6
Karthik_2
Regular Advisor

Re: fbackup error

R.L,
You need to make sure the following.
1.The device name you are using is the correct device(/dev/rmt/0m) some times by mistake we may replace 'zero' with 'o'.
2.There is a writable media in the tape drive.

Just use tar -cvf /dev/rmt/0m /tmp to check
if you can write to this tape using tar command.
If it works fbackup command should work ..

Cheers
Karthik...
Its ALL in the MATRIX
Philip Chan_1
Respected Contributor

Re: fbackup error

Hi,

That message means that the backup program could not open the tape device (/dev/rmt/0m). Possible cause was that there was no tape there in the tape drive. To verify, try the following rewind command,

mt -t /dev/rmt/0m rew

If the above worked okay, then try the fbackup command again.
Marcel Boon
Trusted Contributor
Solution

Re: fbackup error

Hi,

First, check of hp-ux see your tape drive with command : "ioscan -funC tape"
What you proberly see, are the device files used for your tape drive. bv. /dev/rmt/0m or /dev/rmt/1m and more...
(If there is no result you maybe have a problem with your connection. check cable...or whatever. )
Second, got to your /tmp and and try next command: tar cvf /dev/rmt/0m *
(or /dev/rmt/1m, see output ioscan)
If this doesn't work clean the tape.
Third : try your fbackup command.

Let us know if the problem still exist after
the given solutions,

Best Regards,

Marcel


See the man pages
R.L
Occasional Advisor

Re: fbackup error

Hi all,

I'm sorry for my late reply. The problem does not exist anymore.
Thanks for all your valuable help.

cheers,
R.L
Thierry Poels_1
Honored Contributor

Re: fbackup error

Hi,

if the tape is write protected fbackup also returns "cannot open ..."

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
rachelgomez_123
Advisor

Re: fbackup error

To troubleshoot an unsuccessful backup of a volume. Make sure that the hard disk is connected to the computer, turned on, and functioning properly. Run chkdsk /f /r to fix any errors on the hard disk (/f) and recover readable information from any bad sectors (/r). For more information about running chkdsk, see CHKDSK.

 

Regards,

Rachel Gomez