From owner-freebsd-geom@FreeBSD.ORG Tue Jan 31 09:44:39 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B694B16A420; Tue, 31 Jan 2006 09:44:39 +0000 (GMT) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4501043D45; Tue, 31 Jan 2006 09:44:39 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 0E48C11A50D; Tue, 31 Jan 2006 10:44:17 +0100 (CET) Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id 30531-06; Tue, 31 Jan 2006 10:44:16 +0100 (CET) Received: from oxy (dsl217-197-187-23.pool.tvnet.hu [217.197.187.23]) by green.field.hu (Postfix) with ESMTP id BC11F119C90; Tue, 31 Jan 2006 10:44:16 +0100 (CET) Message-ID: <001001c6264a$f391eca0$0201a8c0@oxy> From: "OxY" To: "Pawel Jakub Dawidek" References: <000901c625b8$68954120$0201a8c0@oxy> <20060130192626.GA928@garage.freebsd.pl> Date: Tue, 31 Jan 2006 10:44:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Cc: freebsd-geom@freebsd.org Subject: Re: geli bugreport? fdisk error with non default sector size X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 09:44:39 -0000 i will send it a couple hours later, i am away from the test machine right now. i've got one question: is it neccesary to leave the /boot unencrypted or it has no effect that i get non system disk message during boot after encrypted the whole system disk.. On Mon, Jan 30, 2006 at 05:15:37PM +0100, OxY wrote: +> hi! +> +> i tried to encrypt my root partition and the whole hard disk.. +> used this cmd to initalize geli: +> #geli init -b -s 4096 -l 256 /dev/ad2 +> +> it succed, but after then i tried to use #fdisk -f part.cfg /dev/ad2.eli +> and it gave me an error: length must be multiple of sector size.. +> when i gave 4096,8192, so on to length the error was the same.. +> i tried to init the provdier without -s switch, then the fdisk ran without +> any error.. +> +> did i do something wrong or is this a bug? Could you give me output of: # diskinfo /dev/ad2 /dev/ad2.eli -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! ----- Original Message ----- From: "Pawel Jakub Dawidek" To: "OxY" Cc: Sent: Monday, January 30, 2006 8:26 PM Subject: Re: geli bugreport? fdisk error with non default sector size