Date: Sun, 17 Oct 1999 14:00:14 -0500 From: Dan Nelson <dnelson@emsphone.com> To: Gregory Carvalho <GregoryC@stcinc.com> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Difficulty with dump(8) Message-ID: <19991017140014.C72953@dan.emsphone.com> In-Reply-To: <380A1E76.F5E343FC@stcinc.com>; from GregoryC@stcinc.com on Sun, Oct 17, 1999 at 12:07:34PM -0700 References: <380A1E76.F5E343FC@stcinc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 17), Gregory Carvalho said: > I have created the following script, and I am executing it on FreeBSD > 3.2R with a HP DDS3 tape drive. It is not creating a volume for each > of the file systems on a single DDS3 cartridge, which I desire it to > do. > > #!/usr/local/bin/bash > > mt -f /dev/rsa0 erase 0 > for filesys in / /var /usr > do > dump -0au -f /dev/rsa0 $filesys > done > mt -f /dev/rsa0 offline > > Yesterday, I issued: > dump -0au -f /dev/rsa0 / > dump -0au -f /dev/rsa0 /var > > as a test, and it created two volumes on tape. "mt -f /dev/rsa0 fsf 1" > displayed /var and "mt -f /dev/rsa0 bsf 1" display /. This cannot have worked. /dev/rsa0 rewinds after each use, so your second dump must have overwritten the first. You want to use /dev/nrsa0 instead. Also the "erase" at the beginning is unnecessary. -- 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?19991017140014.C72953>