Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2006 20:26:26 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        OxY <oxy@field.hu>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: geli bugreport? fdisk error with non default sector size
Message-ID:  <20060130192626.GA928@garage.freebsd.pl>
In-Reply-To: <000901c625b8$68954120$0201a8c0@oxy>
References:  <000901c625b8$68954120$0201a8c0@oxy>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060130192626.GA928>