GBDE on md0 fails (was Re: How to encrypt data on backup?)

Tak Pui LOU lou at man-97-187.ResHall.Berkeley.EDU
Thu Jul 3 17:24:36 PDT 2003


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 at 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 at freebsd.org mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> > >
>


More information about the freebsd-questions mailing list