Date: Wed, 21 Feb 2001 14:50:21 +0000 From: "Randy B. Lim" <randy.lim@aht.com> To: "Scott B. Gale" <scott@doheny.beach.net>, questions@FreeBSD.ORG Cc: randy.lim@aht.com Subject: Re: How to change the tape size in the dump command Message-ID: <3A93D5AD.5BA6AE19@aht.com> References: <Pine.BSF.4.21.0102201625170.55096-100000@doheny.beach.net>
next in thread | previous in thread | raw e-mail | index | archive | help
The following is what I got with the dump command, It seemed dump detect the end
of tape(But I just use
# mt -f /dev/ht0 rewind
to set the tape in the beginning position.
[root@fwdoc rblim]# /sbin/dump -0u -B 30000000 -f /dev/ht0 /dev/da0s1a1
DUMP: Date of this level 0 dump: Wed Feb 21 15:07:45 2001
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/hda1 (/) to /dev/ht0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 4384518 tape blocks on 0.15 tape(s).
DUMP: End of tape detected
DUMP: Closing /dev/ht0
DUMP: Change Volumes: Mount volume #2
DUMP: Is the new volume mounted and ready to go?: ("yes" or "no")
The information about the tape is
[root@fwdoc rblim]# dmesg | grep ht0
ide-tape: hdd <-> ht0: OnStream DI-30 rev 1.05
ide-tape: hdd <-> ht0: 990KBps, 64*32kB buffer, 10208kB pipeline, 60ms tDSC
Any ideas?
"Scott B. Gale" wrote:
> On Tue, 20 Feb 2001, Randy B. Lim wrote:
>
> > Hi,
> >
> > I got a 30 GB IDE tape (/dev/nht0) and I want to dump 4GB /root partition to
> > the tape. How to use the dump command to let the 4GB dumped to one single
> > tape?
>
> If the -a "auto-size" option isn't working to get dump to size the tape
> properly you can use the -B option to specify how many 1k blocks the tape
> will hold. For instance, to do a level zero backup of my root partition
> (with device name /dev/da0s1a) onto a 30 GB tape in device /dev/nht0 I
> would use the following command:
>
> dump -0u -B 30000000 -f /dev/nht0 /dev/da0s1a
>
>
> I've been told it is generally better practice to use the device name to
> specify the root partition rather than "/". You can get the device name
> by using the df command.
>
> >
> > Best Regards,
> >
> > -Randy
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
> Hope this helps!
>
> Scott B. Gale
> Dana Point Communications
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?3A93D5AD.5BA6AE19>
