Operating System - HP-UX
1834586 Members
3837 Online
110069 Solutions
New Discussion

fbackup fail on hp-ux 11.11

 
SOLVED
Go to solution
Kuang Chen
Frequent Advisor

fbackup fail on hp-ux 11.11


fbackup -v -f /dev/rmt/0mn -g oracle_tree

Error message:
fbackup(3038): output file /dev/rmt/0m is not a valid device file for backup

==============================================
mt -f /dev/rmt/0m status
Drive: HP Ultrium 1-SCSI
Format:
Status: [41114000] BOT online compression immediate-report-mode
File: 0
Block: 0
=============================================
tape device look fine, and I used tar backup fine.

did I miss something?
13 REPLIES 13
Emiel van Grinsven
Valued Contributor

Re: fbackup fail on hp-ux 11.11

Hi,

Shouldn't you use
fbackup -v -f /dev/rmt/0m -g oracle_tree
instead of
fbackup -v -f /dev/rmt/0mn -g oracle_tree
?

Hth, E.
Jeff Schussele
Honored Contributor

Re: fbackup fail on hp-ux 11.11

Hi Kuang,

Is it possible you used the .../0mn for the tar & the tape needs to be rewound?
mt -f /dev/rmt/0m rew

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Kuang Chen
Frequent Advisor

Re: fbackup fail on hp-ux 11.11


I tried both /dev/rmt/0m and 0mn, and
have same error blow.

and tar I used "tar -cvf /dev/rmt/0m /"

fbackup(1421): no history is available for graph file oracle_tree (below level 0)
fbackup(1004): session begins on Tue Apr 23 10:43:01 2002
fbackup(3038): output file /dev/rmt/0m is not a valid device file for backup
fbackup(3019): would you like to enter a new output file?
Anthony deRito
Respected Contributor
Solution

Re: fbackup fail on hp-ux 11.11

Emiel van Grinsven
Valued Contributor

Re: fbackup fail on hp-ux 11.11

Hi,

try it without -f dev/rmt/0m(n)
it will write to default (which is tape)

HTH, E.
Charles McCary
Valued Contributor

Re: fbackup fail on hp-ux 11.11

Kuong,

Is it possible that your device files have changed for your tape? Do an ioscan and verify that your tape drive is indeed still at /dev/rmt/0m

Sukant Naik
Trusted Contributor

Re: fbackup fail on hp-ux 11.11

Hi,

I have faced similar problems earlier.

I use to fallback upon the default tape device /dev/rmt/0m and it has worked for me almost all the times.

So try your fbackup again with /dev/rmt/0m as the tape device.

It will work :-)

- Sukant
Who dares he wins
Kuang Chen
Frequent Advisor

Re: fbackup fail on hp-ux 11.11

ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.3.0 stape CLAIMED DEVICE HP Ultrium 1-SCSI
/dev/rmt/0m /dev/rmt/c0t3d0BEST
/dev/rmt/0mb /dev/rmt/c0t3d0BESTb
/dev/rmt/0mn /dev/rmt/c0t3d0BESTn
/dev/rmt/0mnb /dev/rmt/c0t3d0BESTnb

tape device fine.

Helen French
Honored Contributor

Re: fbackup fail on hp-ux 11.11

Hi,

Install this patch - PHCO_23914 (s700_800 11.11 fbackup(1M)/frecover(1M) Ultrium support) if not yet installed. That may solve the issue.

HTH,
Shiju
Life is a promise, fulfill it!
Kuang Chen
Frequent Advisor

Re: fbackup fail on hp-ux 11.11

"fallback upon the default tape device /dev/rmt/0m"

Sukant, what do you mean?
John Palmer
Honored Contributor

Re: fbackup fail on hp-ux 11.11

Hi,

You definitely need patch PHCO_23914 in order for fbackup to be able to use an Ultrium drive.

The use of the rewind/norewind device is not relevant to your problem. You can use either but the fbackup man page says that you 'should use the no-rewind device. fbackup ALWAYS rewinds the tape before writing data anyway.

Regards,
John
Kuang Chen
Frequent Advisor

Re: fbackup fail on hp-ux 11.11

Thank John,

I am doing download and install the
PHCO_23914

Sukant Naik
Trusted Contributor

Re: fbackup fail on hp-ux 11.11


What I meant fallback on /dev/rmt/0m is when all other options had failed for me, I used to use this device and it has worked for me in almost all the time.
Who dares he wins