Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 17:24:34 -0700 (PDT)
From:      Tak Pui LOU <lou@man-97-187.ResHall.Berkeley.EDU>
To:        Joshua Oreman <oremanj@www.get-linux.org>
Cc:        current@freebsd.org
Subject:   GBDE on md0 fails (was Re: How to encrypt data on backup?)
Message-ID:  <20030703170402.I798@man-97-187.ResHall.Berkeley.EDU>
In-Reply-To: <20030703165233.GC86503@webserver.get-linux.org>
References:  <3F038D44.2040402@man-97-187.ResHall.Berkeley.EDU> <20030703021018.GA82907@webserver.get-linux.org> <20030703012641.L21010@man-97-187.ResHall.Berkeley.EDU> <20030703165233.GC86503@webserver.get-linux.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The machine with the tape drive has no OS installed on it yet. Anyway, I
tried it with vnode. "dump" runs without any problem. But, "restore"
stops after a few minutes. I did the following:

% mdconfig -a -t vnode -f img0 -u md0
% gbde init /dev/md0 -i -L lock
I change the sector size to 2048.
% gbde attach md0 -l lock
% dump -0aLu -b 2 -f /dev/md0.bde /home
% mdconfig -a -t vnode -f img1 -u md1
% newfs /dev/md1
% mount /dev/md1 /mnt
% cd /mnt
% restore -r -f /dev/md0.bde
...
The program stops and stay as a runaway process. Can't interrupt, quit,
kill, etc. When I reboot the machine, it still won't stop. I have to push
the reset button.

%uname -a
FreeBSD man-97-187.ResHall 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jul  3
13:01:40 PDT 2003     lou@man-97-187.ResHall:/usr/obj/usr/src/sys/SPITFIRE
i386

---
Lou

On Thu, 3 Jul 2003, Joshua Oreman wrote:

> On Thu, Jul 03, 2003 at 01:35:51AM -0700 or thereabouts, Tak Pui LOU wrote:
> > Hi Josh,
> >
> > Thanks. That may work for me if the GBDE works on tape device. Does it?
>
> I don't know... get a tape and try it!
>
> -- Josh
>
> >
> > ---
> > Lou
> >
> > On Wed, 2 Jul 2003, Joshua Oreman wrote:
> >
> > > On Wed, Jul 02, 2003 at 06:56:20PM -0700 or thereabouts, Tak Pui Lou wrote:
> > > > Hello,
> > > >
> > > > Is there any way to encrypt the backup created by dump while it is
> > > > writing to the media? I mean without pipe because I want dump to
> > > > calculate the media length by itself.
> > >
> > > I don't know if this will work for you, but have you thought about
> > > GBDE? Or are you running 4.x?
> > >
> > > -- Josh
> > >
> > > >
> > > > ---
> > > > Lou
> > > >
> > > > _______________________________________________
> > > > freebsd-questions@freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> > >
>



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