There's subj tape drive (LTO-2 tapes, SCSI connection) connected to Debian 8. And I can't understand if it can make "session" writes? And, if yes, how correctly it has to be done?
I mean, that I need to write
somedir1 on tape once, then, after time, write
somedir2 on same tape and tape device have to "append"
somedir2 to already written data on tape. Something like multisessions writes on CD/DVD.
'Cause now I can't find a way to create any "sessions".
How I am writing:
mt -f /dev/st0 eod - setting tape to the end of data
tar -czf /dev/st0 /somedir1 - writing
mt -f /dev/st0 eod - setting tape to the end of data again (cause tape device rewinds tape)
tar -czf /dev/st0 /somedir2 - writing
mt -f /dev/st0 rewind - rewinding tape.
Then, when reading data with
tar -tzf /dev/st0 it only lists
somedir2, but not