Appending tp LTO 4 media

Richard Pieri richard.pieri-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Apr 2 14:22:39 EDT 2010


On Apr 2, 2010, at 1:06 PM, Stephen Goldman wrote:
> 
> I 'm not sure how to append to the existing tape ? 
> 
> Do you need to move to the end of the data - <mt -f/dev/st0 eod> 

For starters, you need to use the non-rewinding device: /dev/nst0
You can then do something like:

mt -f /dev/nst0 rewind
tar cf /dev/nst0 /usr
tar cf /dev/nst0 /var
tar cf /dev/nst0 /home
mt -f /dev/nst0 rewind
mt -f /dev/st0 asf 1
tar xf /dev/nst0

and restore the /var archive.

mt -f /dev/nst0 status

will return some useful information.

--Rich P.






More information about the Discuss mailing list