On 07/08/18 13:04, Adam Weremczuk wrote:
On 07/08/18 12:31, Alan Brown wrote:

For LTO, there are a number of relatively easy ways of answering these questions _without_ moving the tape - as long as you have the latest version of sg3_utils installed

Thank you Alan.

The utilities look very promising.
The problem is my Bacula system runs on an old Debian wheezy offering sg3-utils 1.33-1 without sg_read_attr :( The tool does appear in version 1.42-2 on stretch but two stage distro upgrade is out of question ATM.

Is there any chance that one of the 1.33-1 tools:


Yes: sg_raw

sg_raw -o - -r 1024 -t 60 -v /dev/nst0 (or its /dev/sg) 8c 00 00 00 00 00 00 00  00 00 00 00 04 00 00 00

And pipe it through the script I posted at https://github.com/hreinecke/sg3_utils/issues/18



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to