Re: usb external hd question

2008-02-27 Thread RW
On Tue, 26 Feb 2008 19:58:14 +0100
Miguel Giral [EMAIL PROTECTED] wrote:


 also, a side question. When attaching a geli provider, i get this:
 
 GEOM_ELI: Device ad4s3.eli created.
 GEOM_ELI: Encryption: Blowfish-CBC 256
 GEOM_ELI: Crypto: software
 WARNING: Expected rawoffset 14548865, found 14548865
 
 i've been getting it since i edited the label of ad4s3.eli
 I don't really know if it's a bad thing to get that warning, since
 both numbers are the same. 

If you look at the source code (in /usr/src/sys/geom/geom_bsd.c), it's
dividing the offsets by a sector-size when it prints them out. So they
only the same when rounded-down to a sector boundary. I guess you are
using a larger sector-size for geli, and specified a fraction of a
sector somewhere in the disklabel.

BTW it doesn't make much difference, but I don't see any point in using
anything other than 448 bits for blowfish under geli. Unlike the other
ciphers, no part of its performance is affected by keysize. 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


usb external hd question

2008-02-26 Thread Miguel Giral
Hi

I bought an external usb hd but i can just get FreeBSD (both 6.2 and 7)
to recognice it if the drive is switched on and plugged in during system
boot up. Case in which i get the drive detected with both partitions i
made in it. (da0 da0s1 da0s2)
If i switch it on in an already running system, only an empty usb device
is created (da0). Anything i could do for FreeBSD to detect both
partitions if i switch the drive on in a already booted up system?


also, a side question. When attaching a geli provider, i get this:

GEOM_ELI: Device ad4s3.eli created.
GEOM_ELI: Encryption: Blowfish-CBC 256
GEOM_ELI: Crypto: software
WARNING: Expected rawoffset 14548865, found 14548865

i've been getting it since i edited the label of ad4s3.eli
I don't really know if it's a bad thing to get that warning, since both
numbers are the same. just wondering.

Thank you,
-M

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb external hd question

2008-02-26 Thread Joshua Isom


On Feb 26, 2008, at 12:58 PM, Miguel Giral wrote:


Hi

I bought an external usb hd but i can just get FreeBSD (both 6.2 and 7)
to recognice it if the drive is switched on and plugged in during 
system

boot up. Case in which i get the drive detected with both partitions i
made in it. (da0 da0s1 da0s2)
If i switch it on in an already running system, only an empty usb 
device

is created (da0). Anything i could do for FreeBSD to detect both
partitions if i switch the drive on in a already booted up system?



I don't know what's the proper method, but running `/etc/rc.d/devfs 
restart` seems to work for me for similar issues.




also, a side question. When attaching a geli provider, i get this:

GEOM_ELI: Device ad4s3.eli created.
GEOM_ELI: Encryption: Blowfish-CBC 256
GEOM_ELI: Crypto: software
WARNING: Expected rawoffset 14548865, found 14548865

i've been getting it since i edited the label of ad4s3.eli
I don't really know if it's a bad thing to get that warning, since both
numbers are the same. just wondering.

Thank you,
-M

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]