Operating System - HP-UX
1753300 Members
7155 Online
108792 Solutions
New Discussion юеВ

Re: backup problem on tape library

 
Md. Nazmul Hassan
Occasional Advisor

backup problem on tape library

Hi,

whem i put fbackup -f /dev/rmt/0m -i /backupfup this command, i got this error output file /dev/rmt/3mn is not a valid device file for backup.

Can any one help me in this issue??

Nazmul
19 REPLIES 19

Re: backup problem on tape library

Whay have you started 2 seperate thereads for the same issue? One of these will probably get deleted by an admin.

Can you confirm that you definately entered

fbackup -f /dev/rmt/0m -i /backupfup

and that the command responded by complaining about /dev/rmt/3mn ?

You haven't just eneterd a typo there??

fbackup doesn't support "no-rewind on close" tape devices, so you should never use /dev/rmt/3mn or /dev/rmt/0mn - you should use /dev/rmt/3m or /dev/rmt/0m (or whatever rewind-on-close tape device you have).

Of course you can have more issues with rewind-on-close tape devices if the kernel parameter st_san_safe is set to 1.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Joelmel Roche
Valued Contributor

Re: backup problem on tape library

Md. Farhan A Azam
Trusted Contributor

Re: backup problem on tape library

Asalam o aleykum,

Can u post the out put of below command..

#ioscan -fnC tape

Tape Library model,

and the full error which u are getting.

Md. Nazmul Hassan
Occasional Advisor

Re: backup problem on tape library

Hi,

Thanks for quick response. Please find below the output of ioscan -fnC tape and fbackup command's output.

I shall wait for your quick suggestions.
Thanks in advanced.

tape 2 0/3/0/0/0/0.1.0.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/2m /dev/rmt/c15t0d0BEST
/dev/rmt/2mb /dev/rmt/c15t0d0BESTb
/dev/rmt/2mn /dev/rmt/c15t0d0BESTn
/dev/rmt/2mnb /dev/rmt/c15t0d0BESTnb
tape 3 0/3/0/0/0/0.1.1.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/3m /dev/rmt/c16t0d0BEST
/dev/rmt/3mb /dev/rmt/c16t0d0BESTb
/dev/rmt/3mn /dev/rmt/c16t0d0BESTn
/dev/rmt/3mnb /dev/rmt/c16t0d0BESTnb


#fbackup -i /test -I index.test -f /dev/rmt/2m
fbackup(1004): session begins on Thu Jan 15 05:40:26 2009
fbackup(3038): output file /dev/rmt/2m is not a valid device file for backup

Torsten.
Acclaimed Contributor

Re: backup problem on tape library

How about your OS version and patch level?

Is your system really able to handle a LTO-4 (driver!)?

Did this ever work?

Please post

# ll /dev/rmt

too and let us see what 0m really is.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
sujit kumar singh
Honored Contributor

Re: backup problem on tape library

Hello,


u can see by doing again an

#ioscan -fnCtape
#insf
#insf -e

just again can u check that stape module though this driver is there in the system , can u still check one thing?

#kcmodule | grep -i stape and post the O/P?


u can see also by doing a rewind and see if tape loads and status.

#mt -t /dev/rmt/3mn rewind
#mt -t /dev/rmt/3mn status

also what if u are trying to take a tar backup on the tape?


#tar cvf /dev/rmt/3mn /tmp

what does this show???


Regards
sujit


Torsten.
Acclaimed Contributor

Re: backup problem on tape library

For example this patch:

http://www13.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_38496&sel={hpux:11.11,}&BC=main|search|

Patch Description: s700_800 11.11 fbackup(1M), frecover(1M) cumulative patch



says

...
Enhancement request for Ultrium tape drive support
...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
sujit kumar singh
Honored Contributor

Re: backup problem on tape library

Also one thing , this seems to be an FC Tape ,

can u also confirm that u have schgr properly driver installed in the system?


#kcmodule | grep -i stape
#kcmodule | grep -i schgr


If this is an 11.31 system try making the following cimmand, this shall install all the pass through drivers for all the HW reqd.
#mksf -p
the corresponding drivers shall be estape and eschgr in 11iv3

Regards
Sujit
Md. Nazmul Hassan
Occasional Advisor

Re: backup problem on tape library

Hi Sujit,

here is the output what u request

# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tape 2 0/3/0/0/0/0.1.0.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/2m /dev/rmt/c15t0d0BEST
/dev/rmt/2mb /dev/rmt/c15t0d0BESTb
/dev/rmt/2mn /dev/rmt/c15t0d0BESTn
/dev/rmt/2mnb /dev/rmt/c15t0d0BESTnb
tape 3 0/3/0/0/0/0.1.1.255.0.0.0 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/3m /dev/rmt/c16t0d0BEST
/dev/rmt/3mb /dev/rmt/c16t0d0BESTb
/dev/rmt/3mn /dev/rmt/c16t0d0BESTn
/dev/rmt/3mnb /dev/rmt/c16t0d0BESTnb
# insf
# insf -e
insf: Installing special files for asio0 instance 2 address 0/0/1/2
insf: Installing special files for sdisk instance 0 address 0/2/1/0.0.0.0.0
insf: Installing special files for stape instance 2 address 0/3/0/0/0/0.1.0.255. 0.0.0
insf: Installing special files for schgr instance 3 address 0/3/0/0/0/0.1.0.255. 0.0.1
insf: Installing special files for stape instance 3 address 0/3/0/0/0/0.1.1.255. 0.0.0
insf: Installing special files for schgr instance 1 address 0/3/0/0/0/0.1.1.255. 0.0.1
insf: Installing special files for sdisk instance 12 address 0/3/0/0/0/0.1.5.0.0 .0.1
insf: Installing special files for sctl instance 6 address 0/3/0/0/0/0.1.5.255.0 .0.0
insf: Installing special files for sdisk instance 13 address 0/3/0/0/0/0.1.6.0.0 .0.1
insf: Installing special files for sctl instance 8 address 0/3/0/0/0/0.1.6.255.0 .0.0
insf: Installing special files for ipmi instance 0 address 250/0
insf: Installing special files for asio0 instance 3 address 250/1
insf: Installing special files for sasd instance 0 address 0/2/1/0
insf: Installing special files for fcd instance 0 address 0/3/0/0/0/0
insf: Installing special files for fcd instance 1 address 0/3/0/0/0/1
insf: Installing special files for fcd instance 2 address 0/4/0/0/0/0
insf: Installing special files for fcd instance 3 address 0/4/0/0/0/1
insf: Installing special files for esdisk instance 1 address 64000/0xfa00/0x0
insf: Installing special files for esctl instance 12 address 64000/0xfa00/0x4
insf: Installing special files for estape instance 4 address 64000/0xfa00/0x9
insf: Installing special files for estape instance 5 address 64000/0xfa00/0xa
insf: Installing special files for eschgr instance 2 address 64000/0xfa00/0xb
insf: Installing special files for eschgr instance 5 address 64000/0xfa00/0x14
insf: Installing special files for esdisk instance 14 address 64000/0xfa00/0x15
insf: Installing special files for pseudo driver cn
insf: Installing special files for pseudo driver mm
insf: Installing special files for pseudo driver arp
insf: Installing special files for pseudo driver ptym
insf: Installing special files for pseudo driver ptys
insf: Installing special files for pseudo driver devkrs
insf: Installing special files for pseudo driver dmem
insf: Installing special files for pseudo driver ip
insf: Installing special files for pseudo driver dev_config
insf: Installing special files for pseudo driver strlog
insf: Installing special files for pseudo driver sad
insf: Installing special files for pseudo driver nuls
insf: Installing special files for pseudo driver pwr
insf: Installing special files for pseudo driver rawip
insf: Installing special files for pseudo driver stcpmap
insf: Installing special files for pseudo driver asyncdsk
insf: Installing special files for pseudo driver tcp
insf: Installing special files for pseudo driver telm
insf: Installing special files for pseudo driver tels
insf: Installing special files for pseudo driver echo
insf: Installing special files for pseudo driver tlclts
insf: Installing special files for pseudo driver tlcots
insf: Installing special files for pseudo driver dlpi
insf: Installing special files for pseudo driver tlcotsod
insf: Installing special files for pseudo driver udp
insf: Installing special files for pseudo driver vols
insf: Installing special files for pseudo driver dmp
insf: Installing special files for pseudo driver ptm
insf: Installing special files for pseudo driver pts
insf: Installing special files for pseudo driver beep
insf: Installing special files for pseudo driver framebuf
insf: Installing special files for pseudo driver klog
insf: Installing special files for pseudo driver sy
insf: Installing special files for pseudo driver kepd
insf: Installing special files for pseudo driver diag2
insf: Installing special files for pseudo driver root
insf: Installing special files for pseudo driver escsi
# mt -t /dev/rmt/3mn rewind
/dev/rmt/3mn: No such device or address
# mt -t /dev/rmt/3mn status
Drive: HP Ultrium 4-SCSI
Format:
Status: Tape media is not present
File: 0
Block: 0
# tar cvf /dev/rmt/3mn /test
tar: cannot open /dev/rmt/3mn
#

Please update me what's wrong here??

Nazmul.