Short story:
I'm trying to access some TAR backups that are on LTO tapes. I have notes that in the past I used gnutar and mt commands. mt to mount and control the tape and gnutar to retrieve the archives. I've got gnutar installed, but can't for the life of me figure out how to get mt onto my Mac. Any help?
Long story:
About seven years ago I got some LTO tape backups from a studio. They are TAR archives on LTO. I eventually figured out how to get the tapes mounted and get the data off. But now that I want to migrate this date to LTFS I can't remember exactly how I got the TAR tapes mounted and my notes are lacking. And I can't figure out how I figured this out before.. My notes consist of the following…
**Use GNUTAR because TAR pulls zero byte files**
mt -f /dev/rst0 blocksize 524288
mt -f /dev/rst0 status
mt -f /dev/rst0 rewind
(end of data)
mt -f /dev/rst0 eod
(go to previous record)
mt -f /dev/rst0 bsfm 1
(go to next record)
mt -f /dev/rst0 fsf 1
mt -f /dev/rst0 erase
(unload the tape)
mt -f /dev/rst0 offline
(get data from tape to directory you are in)
gnutar -b 1024 -xvf /dev/rst0
(write data to tape)
gnutar -b 1024 -cvf /dev/rst0/test_A.tar B463R1S9
gnutar cvf /dev/rst0/test_A B463R1S9
I have two systems that I have found that have gnutar installed. BUT, neither of them appear to have mt installed. But obviously I was using mt to control the mounting of the tape and moving the tape from record to record. And I actually remember doing that part. So obviously I had a system that had mt installed. But how? I can't figure out where I got it from for the Mac. Or how I got it installed. I'm not even sure how I was ever that smart.
Jay
Posted by: Jay Mahavier <jay_mahavier@icloud.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |
No comments:
Post a Comment