From owner-freebsd-geom@FreeBSD.ORG Mon Jan 30 19:26:47 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 7838E16A420 for ; Mon, 30 Jan 2006 19:26:47 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2AD843D48 for ; Mon, 30 Jan 2006 19:26:39 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 97A3550A7F; Mon, 30 Jan 2006 20:26:36 +0100 (CET) Received: from localhost (dlt101.neoplus.adsl.tpnet.pl [83.24.49.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6793150A16; Mon, 30 Jan 2006 20:26:30 +0100 (CET) Date: Mon, 30 Jan 2006 20:26:26 +0100 From: Pawel Jakub Dawidek To: OxY Message-ID: <20060130192626.GA928@garage.freebsd.pl> References: <000901c625b8$68954120$0201a8c0@oxy> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <000901c625b8$68954120$0201a8c0@oxy> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 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: Mon, 30 Jan 2006 19:26:47 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 30, 2006 at 05:15:37PM +0100, OxY wrote: +> hi! +>=20 +> 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 +>=20 +> it succed, but after then i tried to use #fdisk -f part.cfg /dev/ad2.eli= =20 +> 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 witho= ut +> any error.. +>=20 +> did i do something wrong or is this a bug? Could you give me output of: # diskinfo /dev/ad2 /dev/ad2.eli --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD3mhiForvXbEpPzQRAqcIAKCVMkip+vFq2CXIVKc9NJkpq1kgnwCgu6Id yHvrEfbgozSD+7bTIBD9Jz4= =2dj0 -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--