My Oracle Support Banner

Oracle HSM: Write Perm Error, with tapenonstop Parameter In Use, Leaves Bad Tape Copy (Doc ID 2023708.1)

Last updated on JUNE 29, 2015

Applies to:

Oracle Hierarchical Storage Manager (HSM) and StorageTek QFS Software - Version 5.3 and later
Information in this document applies to any platform.


A file shows as having a valid copy but when attempting to stage it in it fails with an I/O error.  

The sls -D output of the file named "filename1" shows there is a valid copy made onto volume T02937. However, when attempting to stage it, the /var/opt/SUNWsamfs/devlog device log file shows a TapeAlert was returned:

  2015/02/15 23:17:30 4012 [8952:11] ../common/drive.c:570 detail Loaded 2645:T02937
  2015/02/15 23:17:33 3003 [8952:11] tape2.c:2206 all Label T02937 2008/11/11 13:47:56 blocksize = 2097152
  2015/02/15 23:17:33 4013 [8952:11] ../common/drive.c:625 detail Scanned 2645:T02937
  2015/02/15 23:17:33 1047 [8952:1802] mount.c:114 detail Load VSN T02937
  2015/02/15 23:53:00 12007 [8952:11] tapealert.c:513 all TapeAlert ver=5 eq=885 type=1 seq=9046 len=50 flags=0x0000000000080014 vsn=T02937

The /var/opt/SUNWsamfs/trace/sam-stagerd trace file shows an I/O error: 

  2015-02-24 03:52:01 copy-rm21[19810:3]: OS call error: Stager read failed inode: 1799181.1 expected: 2097152 got: -1: I/O error
  2015-02-24 03:52:01 copy-rm21[19810:3]: Error retry inode: 1799181.1  copy: 1 errno: 5
  2015-02-24 03:52:01 copy-rm21[19810:3]: Message 19031: Read failed on eq 881 errno: 5
  2015-02-24 03:52:01 copy-rm21[19810:3]: Error in writer buffer, slot:59 readErrno:5: I/O error
  2015-02-24 03:52:01 copy-rm21[19810:3]: Error response inode: 1799181 error: 5 fd: 6
  2015-02-24 03:52:01 sam-stagerd[20636:1]: Damage file: 'filename1' copy 1
  2015-02-24 03:52:01 sam-stagerd[20636:1]: Message 19029: File 'filename1' (inode 1799181.1), archive copy 1, is marked damaged.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.