From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 17:24:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0738737B401; Thu, 3 Jul 2003 17:24:36 -0700 (PDT) Received: from man-97-187.ResHall.Berkeley.EDU (man-97-187.Reshall.Berkeley.EDU [169.229.97.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id E593F43FF3; Thu, 3 Jul 2003 17:24:34 -0700 (PDT) (envelope-from lou@man-97-187.ResHall.Berkeley.EDU) Received: from man-97-187.ResHall.Berkeley.EDU (localhost [127.0.0.1]) h640OZ24000909; Thu, 3 Jul 2003 17:24:35 -0700 (PDT) (envelope-from lou@man-97-187.ResHall.Berkeley.EDU) Received: from localhost (lou@localhost)id h640OYOi000906; Thu, 3 Jul 2003 17:24:34 -0700 (PDT) Date: Thu, 3 Jul 2003 17:24:34 -0700 (PDT) From: Tak Pui LOU To: Joshua Oreman In-Reply-To: <20030703165233.GC86503@webserver.get-linux.org> Message-ID: <20030703170402.I798@man-97-187.ResHall.Berkeley.EDU> 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org cc: current@freebsd.org Subject: GBDE on md0 fails (was Re: How to encrypt data on backup?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 00:24:36 -0000 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" > > > >