tar command fails to write to the tape device with error - 'Device or resource busy'

Solution Verified - Updated -

Issue

  • We are using tar command, and Tivoli application to write to the tape devices. Once the tape devices are accessed by Tivoli application, tar command could write to the tape devices only with block size higher than 3000. For any block size less than 3000, the following error message is observed:
$ tar -b2041 -cf /dev/st3 /bin
tar: Removing leading `/' from member names
tar: /dev/st3: Cannot write: Device or resource busy
tar: Error is not recoverable: exiting now

Environment

  • Red Hat Enterprise Linux 6.3
  • SCSI tape devices
  • HP SC08E SAS HBA, http://h18004.www1.hp.com/products/quickspecs/13651_na/13651_na.pdf

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content