Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1368914.1
Update Date:2018-01-08
Keywords:

Solution Type  Problem Resolution Sure

Solution  1368914.1 :   Oracle ZFS Storage Appliance: NDMP Backup Server encounters Tape IO Error during LTO-5 tape drive initial access, places drive in "Append Only Mode"  


Related Items
  • Sun ZFS Storage 7420
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Oracle ZFS Storage ZS3-2
  •  
  • Sun Storage 7210 Unified Storage System
  •  
  • Sun ZFS Backup Appliance
  •  
  • Oracle ZFS Storage ZS4-4
  •  
  • Sun Storage 7410 Unified Storage System
  •  
  • Sun Storage 7310 Unified Storage System
  •  
  • Sun ZFS Storage 7120
  •  
  • Oracle ZFS Storage ZS3-4
  •  
  • Sun ZFS Storage 7320
  •  
  • Oracle ZFS Storage Appliance Racked System ZS4-4
  •  
  • Oracle ZFS Storage ZS3-BA
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>ZFS Storage>SN-DK: 7xxx NAS
  •  
  • _Old GCS Categories>Sun Microsystems>Storage - Disk>Unified Storage
  •  


NDMP backups to directly attached Ultrium 5 drives fail on ZFSSA

In this Document
Symptoms
Changes
Cause
Solution


Created from <SR 3-4561683371>

Applies to:

Sun ZFS Storage 7420 - Version All Versions and later
Sun Storage 7110 Unified Storage System - Version All Versions and later
Sun Storage 7210 Unified Storage System - Version All Versions and later
Sun Storage 7310 Unified Storage System - Version All Versions and later
Sun Storage 7410 Unified Storage System - Version All Versions and later
7000 Appliance OS (Fishworks)
ZFSSA
ak 2010.Q3.4 and before
NDMP
IBM Ultrium 5
Symantec NetBackup 7.1 and higher


Symptoms

To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - Disk Storage ZFS Storage Appliance Community


On a Sun ZFS Storage 7420, NBU backups using a direct attached IBM Ultrium 5 drive could fail, while backups via network are run successfully.

Tests writing to and reading from the drive with tar succeeds without problems.

When running the NBU backup we see following entries in /var/ak/logs/system.sys:

Sep 20 13:06:03 cluster.fs /usr/lib/ndmp/ndmpd[17702]: [ID 702911 daemon.error] Failed to open device /dev/rmt/0n: Device busy.
Sep 20 13:20:24 cluster.fs /usr/lib/ndmp/ndmpd[17702]: [ID 702911 daemon.error] Tape read error: I/O error.

 

In the ndmp debug logs on the 7420 we see (when the backup starts):

10/07 10:59:02 DEBUG: [26][common_tape_open:1271]:Adapter device opened: /dev/rmt/0n
10/07 10:59:02 DEBUG: [26][is_tape_unit_ready:2579]:Unit not ready
10/07 10:59:05 DEBUG: [26][is_tape_unit_ready:2579]:Unit not ready
10/07 10:59:08 DEBUG: [26][is_tape_unit_ready:2579]:Unit not ready
10/07 10:59:11 DEBUG: [26][is_tape_unit_ready:2587]:Unit didn't get ready

 

In the NBU bptm log we see:

12:59:55.228 [5404] <2> manage_drive_attributes: report_attr, fl1 0x00200049, fl2 0x00000000
12:59:55.228 [5404] <2> manage_drive_attributes: Media is protected with APPEND_ONLY

 

and when the backup session tries to write to tape:

13:00:28.740 [5404] <4> write_backup_position: allow overwrite scsi command failed
13:00:28.740 [5404] <16> write_backup_position: allow overwrite operation failed to media id 0242L5, drive index 3, address 43188870

 

 

Changes

SCSI Stream Commands (SSC-4) has introduced a new data protection feature for tape drives called "Append Only Mode".

This feature causes the drive to prevent the overwrite of data on a cartridge unless the writing application performs a pre-authorization for the overwrite.

Pre-authorization for overwrite is a done with a new SCSI command (Allow Overwrite) that informs the drive that the data block at the current location is going to be overwritten.

Any attempt to overwrite a data block without pre-authorization returns a write protect error.

IBM LTO-5 drives support this feature (even with LTO-4 media).

Once set, LTO-5 drives remain in append mode until power cycled.


Cause

The new feature introduced in NetBackup 7.1 can cause NDMP backup failures.

The Append-Only Mode described in  Symantec Tech Note TECH143890 causes the drive to prevent the overwrite of data on a cartridge unless the writing application performs a pre-authorization for the overwrite.

This feature is supported on IBM LTO-5 drives  with LTO-4 or LTO-5 media.

The feature is enabled by default and does not normally cause any issues if all systems accessing the tape device are NetBackup 7.1 Media Servers.

 

Solution

The solution to this issue is:


1.  Login on the NetBackup Master server

2.  Create a file /usr/openv/netbackup/db/config/DISABLE_APPEND_MODE (or <install_path>\netbackup\db\config\DISABLE_APPEND_MODE on Windows)   

# touch /usr/openv/netbackup/db/config/DISABLE_APPEND_MODE

3.  Restart netbackup

4.  Test backups

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback