1835894 Members
2926 Online
110086 Solutions
New Discussion

Connecting MO unit

 
romano r
Frequent Advisor

Connecting MO unit

Hello,
I'm trying to connect a MO unit (Maxoptix T6-5200) to a 715 box. I find the same problem even in HP-UX10.20 than 11i: running diskinfo, mediainit,... the result is: "can't access /dev/dsk/c.... I/O error". The jumper settings seems ok (as suggested by the manufacturer).

thanx
Romano
8 REPLIES 8
Paula J Frazer-Campbell
Honored Contributor

Re: Connecting MO unit

Hi

If iocan can "See" the disk then most likly it is the jumper settings.

Might be trial and error, I would start with default first.


Paula
If you can spell SysAdmin then you is one - anon
Stefan Schulz
Honored Contributor

Re: Connecting MO unit

Hi Romano,

if you get an I/O error on a removable disc it's most likely the writeprotect setting.

Check if your MO which is in the drive is set write protected.

You could also try to mount it read only. This should work. But it sounds like you would like to write to them.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Frank Slootweg
Honored Contributor

Re: Connecting MO unit

If you still need help, then please post (the hardware address of the MO unit) and the output from:

ioscan -fn -H ....
diskinfo /dev/rdsk/...

"mediainit": Don't use that until you have proven to yourself that it is needed. See the thread "How/when (not) to use mediainit?"
(<>). While that does not specifically cover MO disks, it is still applicable, *unless* you have a MO disk which you *know* (not think) is not-LLF-ed.
romano r
Frequent Advisor

Re: Connecting MO unit

HI Frank here the outputs:
#ioscan -fn -H 2/0/1.3.0
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 3 2/0/1.3.0 sdisk CLAIMED DEVICE MaxoptixT6-5200
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
#diskinfo /dev/rdsk/c0t3d0
SCSI describe of /dev/rdsk/c0t3d0:
vendor: Maxoptix
product id: T6-5200
type: direct access
size: 0 Kbytes
bytes per sector: 0
#mount /dev/dsk/c0t3d0 /mo_unit
/dev/dsk/c0t3d0: Device busy
#diskinfo /dev/dsk/c0t3d0
diskinfo: can't open /dev/dsk/c0t3d0: I/O error

HI Stefan,
I've to write on it, anyway even setting write protection nothing change.

Hi Paula,
I'm gonna play with jumpers...

thank you
Romano
Vincent Farrugia
Honored Contributor

Re: Connecting MO unit

Hello,

Both diskinfo and mediainit require the use of the RAW device file (/dev/rdsk/c0t3d0). That is why it is giving you errors when you try to run them using the block device file (/dev/dsk/c0t3d0).

See man diskinfo and man mediainit for details.

HTH,
Vince
Tape Drives RULE!!!
Frank Slootweg
Honored Contributor

Re: Connecting MO unit

Because you get *some* result from diskinfo(1M), you can assume that the driver, interface, cable, controller are OK. (The diskinfo information comes from the controller in the MO drive.)

Because diskinfo says
> size: 0 Kbytes
> bytes per sector: 0
there is some problem with the *media*.

What do you know about the media? Is it hardware compatible with *this* drive? Is it formatted? If not, can you format it elsewhere (As I said, please do not use mediainit(1M), at least not yet.).
Ulrich Deiters
Frequent Advisor

Re: Connecting MO unit

If your MO was turned off at boot time, do an "ioscan", because HP-UX will otherwise not be able to see the device. If you use a fresh MO disk, create a file system on the raw device first:
/usr/sbin/newfs -F hfs -L /dev/rdsk/cXtYd0 .
Michael Lampi
Trusted Contributor

Re: Connecting MO unit

I'd try mediainit using the raw device file (/dev/rdsk/c...). The media is probably not formatted.

Otherwise, since you can obtain status information via diskinfo, I agree that the SCSI cabling is probably just fine.
A journey of 1000 steps ends in a mile.