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

2003-07-03 Thread Tak Pui LOU
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 [EMAIL PROTECTED]:/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
> > > >
> > > > ___
> > > > [EMAIL PROTECTED] mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > >
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to encrypt data on backup?

2003-07-03 Thread Joshua Oreman
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
> > >
> > > ___
> > > [EMAIL PROTECTED] mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> >
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to encrypt data on backup?

2003-07-03 Thread Tak Pui LOU
Hi Josh,

Thanks. That may work for me if the GBDE works on tape device. Does it?

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


Re: How to encrypt data on backup?

2003-07-02 Thread Joshua Oreman
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
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to encrypt data on backup?

2003-07-02 Thread Tak Pui Lou
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.

---
Lou
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"