Skip to Main Content

Hardware

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Write to Tape Problem,

807557Oct 30 2008 — edited Oct 30 2008
Hi, all.

I have a problem of tape device, 'HP DAT-72'.

My program open tape device then write data to tape.

It work fail when write to tape, error code 22, invalid argument.

It write to tape 1MB at one time.
$ uname -a
SunOS NB-OMP 5.9 Generic_118559-39 i86pc i386 i86pc

$ cat /etc/release
                         Solaris 9 9/05 s9x_u8wos_05 x86
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 01 August 2005

$ iostat -En
rmt/0           Soft Errors: 2 Hard Errors: 0 Transport Errors: 0 
Vendor: HP       Product: C7438A           Revision: ZP5A Serial No:    9 

$ cat /var/adm/message
Oct 29 08:13:19 NB-OMP  errors after pkt alloc (b_flags=0x200125, b_error=0x16)
Oct 29 08:33:43 NB-OMP scsi: [ID 107833 kern.warning] 
WARNING: /pci@1d,0/pci1022,7450@2/pci1000,10c0@1,1/
st@0,0 (st15):
Oct 29 08:33:43 NB-OMP  errors after pkt alloc (b_flags=0x200125, b_error=0x16)
Oct 29 08:34:45 NB-OMP scsi: [ID 107833 kern.warning] 
WARNING: /pci@1d,0/pci1022,7450@2/pci1000,10c0@1,1/
st@0,0 (st15):
Oct 29 08:34:45 NB-OMP  errors after pkt alloc (b_flags=0x200065, b_error=0x16)
But, it write to tape 4K at one time, it work well without error.

And, other server work well.

It write to tape 1MB at one time, too.
$ uname -a
SunOS cscfomp 5.9 Generic_122301-25 i86pc i386 i86pc

$ cat /etc/release
                         Solaris 9 9/05 s9x_u8wos_05 x86
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 01 August 2005

$ iostat -En
rmt/0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: HP       Product: C7438A           Revision: ZP76 Serial No:    9 
I need your advice.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2008
Added on Oct 30 2008
2 comments
255 views