Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 1998 14:07:12 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Jeff Kletsky <Jeff@Wagsky.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: multi-session dump on single tape
Message-ID:  <19980808140712.A26139@emsphone.com>
In-Reply-To: <l03110701b1f189096690@[192.168.6.3]>; from "Jeff Kletsky" on Fri Aug  7 22:07:20 GMT 1998
References:  <l03110701b1f189096690@[192.168.6.3]>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 07), Jeff Kletsky said:
> which seems to work fine for tar and a single dump, but I have not been
> able to determine the "magic" required to place multiple dump sessions on a
> single tape.
> 
> I have tried the following, then using restore -t, restore -t -s 1, restore
> -t -s 2, with mt rewind and mt fsf thrown in liberally and in various
> combinations to see if the dump is there.
> 
> mt erase
> dump -0au /
> 
> works,
> but any of the following seem to leave only a single session on the tape
> 
> mt erase
> dump -0au /
> dump -0au /var

dump defaults to /dev/rst0, which is a "rewind-on-close device".  Try

mt rewind
dump 0auf /dev/nrst0 /
dump 0auf /dev/nrst0 /var
mt rewind

A quick way to see how many files are on a tape (and the blocksize and
total size of each file) is to run "tcopy /dev/rst0".

	-Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980808140712.A26139>