Editing LTO Tape/6
From Bibliotheca Anonoma
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
LTO-6 | LTO-6 | ||
SAS Drive is assumed to be used (for now). | SAS Drive is assumed to be used (for now). | ||
Line 14: | Line 12: | ||
== HBA (Host Bus Adaptor) == | == HBA (Host Bus Adaptor) == | ||
Line 35: | Line 22: | ||
To check to see that a tape drive is accessible, first check that /dev/tape/by-id exists and contains an nst0 device. If so, the Linux kernel already detected your tape drive and no further drivers are necessary. As for software though... | To check to see that a tape drive is accessible, first check that /dev/tape/by-id exists and contains an nst0 device. If so, the Linux kernel already detected your tape drive and no further drivers are necessary. As for software though... | ||
== Backup Software == | == Backup Software == | ||
Line 44: | Line 29: | ||
=== Tar (Simplest) === | === Tar (Simplest) === | ||
See [[LTO Tape]] | |||
See [[LTO Tape]] | |||
=== LTFS (Medium) === | === LTFS (Medium) === | ||
Build from the upstream | Build from the upstream source code rather than using vendor source code, which sucks. A handy source rpm is provided. | ||
https://github.com/LinearTapeFileSystem/ltfs/wiki | https://github.com/LinearTapeFileSystem/ltfs/wiki | ||
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/packaging_and_distributing_software/packaging-software_packaging-and-distributing-software#building-source-rpms | https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/packaging_and_distributing_software/packaging-software_packaging-and-distributing-software#building-source-rpms | ||
In RHEL/CentOS 8, install the dependencies: | In RHEL/CentOS 8, install the dependencies: | ||
sudo dnf install rpm-build rpmdevtools | |||
First, create the rpmbuild setuptree in your home directory. | First, create the rpmbuild setuptree in your home directory. | ||
rpmdev-setuptree | |||
Download [https://github.com/piste2750/rpm-ltfs/blob/master/ltfs.spec this .spec file, and place it into ~/rpmbuild/SPECS/ltfs.spec]. Then run the following src.rpm packaging command. | Download [https://github.com/piste2750/rpm-ltfs/blob/master/ltfs.spec this .spec file, and place it into ~/rpmbuild/SPECS/ltfs.spec]. Then run the following src.rpm packaging command. | ||
rpmbuild -bb ~/rpmbuild/SPECS/ltfs.spec | |||
Install the dependencies needed to build the source rpm. | Install the dependencies needed to build the source rpm. | ||
sudo dnf builddep ~/rpmbuild/SRPMS/ltfs-2.4.1.2-10254.src.rpm | |||
Build an rpm from a .src.rpm file: | Build an rpm from a .src.rpm file: | ||
rpmbuild --rebuild ~/rpmbuild/SRPMS/ltfs-2.4.1.2-10254.src.rpm | |||
Now the rpms can be installed | Now the rpms can be installed | ||
cd ~/rpmbuild/RPMS/x86_64 | cd ~/rpmbuild/RPMS/x86_64 | ||
sudo dnf localinstall ltfs-2.4.1.2-10254.x86_64.rpm ltfs-debuginfo-2.4.1.2-10254.x86_64.rpm ltfs-debugsource-2.4.1.2-10254.x86_64.rpm | sudo dnf localinstall ltfs-2.4.1.2-10254.x86_64.rpm ltfs-debuginfo-2.4.1.2-10254.x86_64.rpm ltfs-debugsource-2.4.1.2-10254.x86_64.rpm | ||
=== BareOS (Enterprise) === | === BareOS (Enterprise) === | ||
Line 103: | Line 69: | ||
https://www.bareos.org/en/ | https://www.bareos.org/en/ | ||