Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ SAN Client and Fibre Transport Guide
  3. Appendix A. AIX Specific Configuration Details
  4. Creating AIX no rewind device files for tape drives
NetBackup™ SAN Client and Fibre Transport Guide

Creating AIX no rewind device files for tape drives

NetBackup uses no rewind device files for tape drives and for NetBackup SAN Clients. During system startup, the AIX cfgmgr command configures all the devices that are necessary to use the system. If necessary, you can use the following procedure to check for and create a no rewind device file.

To check for and create a no rewind device file

  1. Display the I/O controllers in the system by using the following command:
    /usr/sbin/lsdev -C  | grep I/O

    The following sample output shows that SCSI controller 1 (00-01) has been assigned the logical identifier scsi0.

    scsi0  Available 00-01    SCSI I/O Controller
  2. Display the SCSI and Fibre Channel devices in the system by using the following command. For SCSI devices, use scsi for the type; for Fibre Channel Protocol devices, use fcp for the type.
    /usr/sbin/lsdev -C  -s type

    The following example shows two disk drives and a tape drive:

    hdisk0  Available 00-01-00-0,0 400 MB SCSI Disk Drive
    hdisk1  Available 00-01-00-1,0 400 MB SCSI Disk Drive
    rmt0    Available 00-01-00-3,0 Other SCSI Tape Drive

    If the device files for the tape drives exist, they appear in the output as rmt0, rmt1, and so on. The previous example output shows rmt0.

  3. If a device file does not exist for the wanted tape drive, create it by using the following command:
    /usr/sbin/mkdev -c tape -s scsi -t ost -p controller -w id,lun

    The following are the arguments for the command:

    • controller is the logical identifier of the drive's SCSI adapter, such as scsi0, fscsi0, or vscsi1.

    • scsi_id is the SCSI ID of the drive connection.

    • lun is the logical unit number of the drive connection.

  4. To verify, display the SCSI device files by using the lsdev command, as follows:
    /usr/sbin/lsdev -C -s scsi
    hdisk0  Available 00-01-00-0,0 400 MB SCSI Disk Drive
    hdisk1  Available 00-01-00-1,0 400 MB SCSI Disk Drive
    rmt0    Available 00-01-00-3,0 Other SCSI Tape Drive
    rmt1    Available 00-01-00-5,0 Other SCSI Tape Drive

    The output shows that the rmt1 device file was created.

  5. If the device files do not exist on an FCP controller, use the following command to create them:
    /usr/sbin/cfgmgr -l device

    device is the controller number from step 1.

  6. Ensure that the device is configured for variable-mode and extended file marks. Use the chdev command, as follows (dev is the logical identifier for the drive (for example, rmt1)).
    /usr/sbin/chdev -l dev -a block_size=0
    /usr/sbin/chdev -l dev -a extfm=yes
  7. To configure the drive manually in NetBackup, enter the following device file pathname:
    /dev/rmt1.1

Feedback

Was this page helpful?
Previous

About no rewind device files on AIX

Next

Disabling the AIX dynamic tracking

Feedback

Was this page helpful?