to clone geli flash drive ...

Zeus V Panchenko zeus.panchenko at gmail.com
Thu Sep 23 09:09:57 UTC 2010


Pawel Jakub Dawidek (pjd at 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)


More information about the freebsd-geom mailing list