Operating System - HP-UX
1830634 Members
2782 Online
110015 Solutions
New Discussion

Re: DDS2 media on DDS4 Drive on rp7400 series

 
SOLVED
Go to solution

DDS2 media on DDS4 Drive on rp7400 series

I'm using RP7400 with DDS4 tape drive.

I received DDS2 media from Unisys Mainframe. Since the tape from proprietary machine, i use dd command to read it. (it no problem)

But when I want to write data from disk to DDS2 media using DDS4 drive. I face this problem

Permission denied
cant open /dev/rmt/0m

rgds
12 REPLIES 12
Mauro Gatti
Valued Contributor

Re: DDS2 media on DDS4 Drive on rp7400 series

Did you try to use /dev/rmt/c?t?d?BEST instead of /dev/rmt/0m or /dev/rmt/c?t?d?DDS
(with or without rewind)
Try to look "man 7 mt"


RGDS


Mauro
Ubi maior, minor cessat!
Steven E. Protter
Exalted Contributor

Re: DDS2 media on DDS4 Drive on rp7400 series

Sounds like a write tab issue.

My experience on standard dds drives is that they are downwardly compatbile with regards to media.

Your system is out of my area of expertise, but if I don't have the write tab set to allow write, i get a very simlar response from my DDS3 and ultrium drives.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Suresh Patoria
Super Advisor

Re: DDS2 media on DDS4 Drive on rp7400 series

Hi,

just check whether DAT is locked or not

Thanx
Naveej.K.A
Honored Contributor

Re: DDS2 media on DDS4 Drive on rp7400 series

Hi,
The DDS2 media will easily work on a DDS4 Dat Drive w/o any issues.

Now regarding the error u are facing? how you are copying the data? tar,cpio,dd??
In anyways, the problem you are facing is not related to any incompatiblity issue between the data catridge and the drive!!

As the previous posters had mentioned, you might have an open write protect tab!!

With best wishes
Naveej
practice makes a man perfect!!!
John Carr_2
Honored Contributor

Re: DDS2 media on DDS4 Drive on rp7400 series

is the tape write protected ?

Re: DDS2 media on DDS4 Drive on rp7400 series

I've tried

/dev/rmt/c?t?d?BEST
/dev/rmt/c?t?d?DDS
/dev/rmt/c?t?d?DDS2
/dev/rmt/0mn
/dev/rmt/0mb
/dev/rmt/0mbn

but the result is a same..I've check the write protect tab- its close.

I also tried

using tar command on DDS2 media - no problem
using dd command on DDS4 media - no problem

rgds
Naveej.K.A
Honored Contributor

Re: DDS2 media on DDS4 Drive on rp7400 series

I also tried

using tar command on DDS2 media - no problem
using dd command on DDS4 media - no problem

Does this mean your issue is sorted out??

If so please do assign points!!
practice makes a man perfect!!!
Keith Bevan_1
Trusted Contributor

Re: DDS2 media on DDS4 Drive on rp7400 series

Hi,

Just a couple more checks.

What is the status of the drive :-

mt -f /dev/rmt/0m status

Have you checked the drive does not need cleaning ?

Keith
You are either part of the solution or part of the problem

Re: DDS2 media on DDS4 Drive on rp7400 series

Hi Naveei,

using tar command on DDS2 media - no problem
using dd command on DDS4 media - no problem

using dd command on DD2 media - the problem appear

Hi Keith,

using command mt -f /dev/rmt/om status

result

Drive : hp c5683a
format : DDS-1 format
status : [45111300]bot write protected online compression immediate-report-mode
file : 0
block : 0

Note : the media we have set to write enable, the result is a same after we change the media (DDS2)

Rgds

Re: DDS2 media on DDS4 Drive on rp7400 series

Hi Naveei,

Correction

using tar command on DDS2 media - The problem exist
using dd command on DDS4 media - no problem

using dd command on DD2 media - the problem appear

Note : we have changed the drive but the result is a same

Hi Keith,

using command mt -f /dev/rmt/om status

result

Drive : hp c5683a
format : DDS-1 format
status : [45111300]bot write protected online compression immediate-report-mode
file : 0
block : 0

Note : the media we have set to write enable, the result is a same after we change the media (DDS2)


Rgds
Naveej.K.A
Honored Contributor
Solution

Re: DDS2 media on DDS4 Drive on rp7400 series

Hi,

I doubt the media you are using is a DDS1 rather than a DDS2. DDS4 drives can never write to a DDS1 catridge. But can read from it. I have had this experience in a Novell netware server. Hope this applies on a HP-Unix Box as well.

With Best Wishes
Naveej
practice makes a man perfect!!!
Keith Bevan_1
Trusted Contributor

Re: DDS2 media on DDS4 Drive on rp7400 series

Hi,

The status information provided suggests :-

1) The tape is a DDS1 (unlikely as you have suggested that its a DDS2).

or

2) The DDS tape contains the media-ID information and BOT information.
For backwards compatibility with early DDS tapes, the drive accepts DDS Tapes without leader info and tries to figure out the format of the BOT.
Occasionally, problems are encountered in trying to position the tape and recognize the media and the drive gets a little confused. In most cases, the tape is ejected following the failed read/rewind etc etc.
_______

I would suggest updating the drive with the most recent version of firmware, and then see how things progress.

Keith
You are either part of the solution or part of the problem