Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2010 12:09:54 +0300
From:      Zeus V Panchenko <zeus.panchenko@gmail.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: to clone geli flash drive ...
Message-ID:  <20100923090954.GB90077@relay.ibs.dn.ua>
In-Reply-To: <20100923073456.GA1784@garage.freebsd.pl>
References:  <20100923070929.GA90077@relay.ibs.dn.ua> <20100923073456.GA1784@garage.freebsd.pl>

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

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)



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