NoteFlare cannot use tape devices for archiving.
When archiving to tape devices, you must perform certain steps to ensure smooth operation.
Setting the Block Size for a New Tape Archive
When you enter the Archive menu and format a new tape archive, the default block size matches the value in the Block Size field in the Format menu. Keep track of the block size value for each tape in case you need to reset the block size at a later time.
To verify the block size of your tape device:
- In a command shell, log in as root.
- Verify the block size of your tape device by typing:
<archive device number>
This command provides feedback similar to the following:
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 65536 bytes.
Density code 0x40 (DLT1 40 GB, or Ultrium).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
Determining the Device Number for the Archive Device
If you receive an error message when verifying the block size, you may not be using the correct archive device number. Look in the software initialization configuration file to determine the correct number.
To determine the archive device number:
- In a terminal, type:
- Look for the line that begins with the following:
ClipMgtDeviceTape, /dev/st<archive device number>
The archive device number should be listed on this line. If it is not, or appears to be incorrect, consult the administrator for your system.
Resetting the Block Size for an Existing Tape Archive
If you rebooted the machine or reformatted another archive with a different block size, you must reset the block size for your archive in the command shell.
To reset the block size of your tape:
- In the command shell, log in as root.
- Set the correct block size by typing:
<archive device number> <block size of your tape device>
The block size for your tape is reset and you can continue to archive to this tape.