Date: Thu, 23 Sep 2010 09:34:56 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Zeus V Panchenko <zeus.panchenko@gmail.com> Cc: freebsd-geom@freebsd.org Subject: Re: to clone geli flash drive ... Message-ID: <20100923073456.GA1784@garage.freebsd.pl> In-Reply-To: <20100923070929.GA90077@relay.ibs.dn.ua> References: <20100923070929.GA90077@relay.ibs.dn.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 23, 2010 at 10:09:29AM +0300, Zeus V Panchenko wrote: > Hi All, >=20 > is there way to clone dedicated geli configured flash drive? >=20 > i mean something like this: >=20 > 1. plug in geli configured dedicated flash drive to be clonned=20 > (it detects lets say da0) > 2. plug in new flash drive to clone p.1 drive to=20 > (it detects lets say da1) > 3. dd if=3D/dev/da0 of=3D/dev/da1 bs=3D10240 conv=3Dsync > 4. geli attach -k <the_same_key_used_for_p1_device> /dev/da1s1 >=20 > i was trying and it has no effect, geli unattacheble and data is > corrupted :( >=20 > am i wrong to think it is possible somehow? It should be possible. Could you provide the output of: # geli dump /dev/da0s1 | head # geli dump /dev/da1s1 | head # diskinfo -v /dev/da[01]s1 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkybAx8ACgkQForvXbEpPzSMPQCgmvrE6mOS7m0sQTQ5Mi+aKGdH e9QAn20NMZk/wUiFEorpm8UIK6sFQNay =Ush0 -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100923073456.GA1784>