Search This Blog

Tuesday, March 30, 2021

Redhat 8.3 configure LTO4 Tape Drive with SuperMacro SAS adapter

My Supermacro SAS adapter/Marvell 88SE9485 SAS controller support has been removed from Redhat 7/8. Check for the model:
# lspci -nn
01:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. 88SE9485 SAS/SATA 6Gb/s controller [1b4b:9485] (rev c3)
Install mvsas from https://elrepo.org/linux/dud/el8/x86_64/
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
yum install kmod-mvsas
Set /etc/stinit.def
#LTO4
manufacturer="HP" model = "Ultrium 4-SCSI"{
scsi2logical=1
can-bsr=1
auto-lock=1
two-fms=0
drive-buffering=1
buffer-writes
read-ahead=1
async-writes=1
can-partitions=0
fast-mteom=0
# If your stinit supports the timeouts:
timeout=180 # 3 minutes
long-timeout=14400 # 4 hours
#
mode1 blocksize=0 compression=0 density=0x00 # 800 GB, Creates a device file with compression disabled.
mode2 blocksize=0 compression=1 density=0x46 # 1600 GB, The density code for data compression enabled by default.
mode3 disabled=1
mode4 disabled=1
}
stinit -f /etc/stinit.def
mt -f /dev/st0 status
mt -f /dev/st0l status
Reboot and good to go. To check the Tape Drive status:
sg_logs -a /dev/st0

2 comments:

  1. One of the advantages of tape recording is the ability to erase and reuse tapes without the loss of recording quality. Through an electromagnetic erase head, a recorded signal can be removed, and the tape can be reused. If the recording tape breaks, it can be spliced and repaired.https://waltherstrong.com

    ReplyDelete
  2. It can take weeks to pack all your belongings if you don’t know what you are doing and if you’re not good at packing, you may expose your belongings to the risk of being damaged or lost. https://www.softboxsystems.com

    ReplyDelete