From owner-freebsd-geom@FreeBSD.ORG Thu Sep 23 09:09:57 2010 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61F60106566C; Thu, 23 Sep 2010 09:09:57 +0000 (UTC) (envelope-from zeus@relay.ibs.dn.ua) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7018C8FC18; Thu, 23 Sep 2010 09:09:56 +0000 (UTC) Received: from relay.ibs.dn.ua (localhost [127.0.0.1]) by relay.ibs.dn.ua with ESMTP id o8N99seh061461; Thu, 23 Sep 2010 12:09:54 +0300 (EEST) Received: (from zeus@localhost) by relay.ibs.dn.ua (8.14.4/8.14.4/Submit) id o8N99s3K061460; Thu, 23 Sep 2010 12:09:54 +0300 (EEST) Date: Thu, 23 Sep 2010 12:09:54 +0300 From: Zeus V Panchenko To: Pawel Jakub Dawidek Message-ID: <20100923090954.GB90077@relay.ibs.dn.ua> References: <20100923070929.GA90077@relay.ibs.dn.ua> <20100923073456.GA1784@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20100923073456.GA1784@garage.freebsd.pl> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.1-RELEASE X-Editor: GNU Emacs 23.2.1 Cc: freebsd-geom@FreeBSD.org Subject: Re: to clone geli flash drive ... X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: zeus.panchenko@gmail.com List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 09:09:57 -0000 Pawel Jakub Dawidek (pjd@FreeBSD.org) [10.09.23 10:35] wrote: > It should be possible. Could you provide the output of: I have to apologize ... i just now have repeated all steps and this time it works! ... but i was doing that on the same box where the original (to be clonned) device was created while the first time i was talking about in the initial post was performed on other box with other flash reader ... all the same, here are the results: uname -a FreeBSD zeeeus.ibs 7.2-STABLE #0: Sat Jun 5 07:07:24 EEST 2010 i386 dmidecode ... System Information Manufacturer: ASUSTeK Computer INC. Product Name: 901 ... original is da0, the clone is da1 > # geli dump /dev/da0s1 | head geli dump /dev/da0s1 | head Metadata on /dev/da0s1: magic: GEOM::ELI version: 3 flags: 0x10 ealgo: Blowfish-CBC keylen: 384 aalgo: HMAC/SHA512 provsize: 1974034944 sectorsize: 4096 keys: 0x01 > # geli dump /dev/da1s1 | head geli dump /dev/da1s1 | head Metadata on /dev/da1s1: magic: GEOM::ELI version: 3 flags: 0x10 ealgo: Blowfish-CBC keylen: 384 aalgo: HMAC/SHA512 provsize: 1974034944 sectorsize: 4096 keys: 0x01 > # diskinfo -v /dev/da[01]s1 diskinfo -v /dev/da0s1 /dev/da0s1 512 # sectorsize 1974034944 # mediasize in bytes (1.8G) 3855537 # mediasize in sectors 239 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. diskinfo -v /dev/da1s1 /dev/da1s1 512 # sectorsize 1974034944 # mediasize in bytes (1.8G) 3855537 # mediasize in sectors 239 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. -- Zeus V. Panchenko IT Dpt., IBS ltd GMT+2 (EET)