On Sun, 21 Jul 2013 13:19:11 -0400
Kenneth R Westerback <[email protected]> wrote:
> Disks with logical sector sizes other than 512-bytes are supported.
> I am unaware of any outstanding issues with support for 4K sector
> devices.
> .... Ken

It's not possible to create softraid volumes (e.g. encryption) on 4k disks.
See also: http://marc.info/?l=openbsd-misc&m=136228918607382

http://www.openbsd.org/cgi-bin/man.cgi?query=bioctl&sektion=8&arch=&apropos=0&manpath=OpenBSD+Current
"Only devices with 512-byte sectors are supported."

While some disks emulate their 4k sectors as 512b, some don't.
E.g., I have a WD "My Book 1140" 3TB external USB disk, which reports 4k. 
Softraid doesn't work with it, I have to use vnd instead (for encryption).

# /dev/rsd6c:
type: SCSI
disk: SCSI disk
label: My Book 1140    
duid: 0000000000000000
flags:
bytes/sector: 4096
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 45599
total sectors: 732558336
boundstart: 64
boundend: 732547935
drivedata: 0 

kind regards,
Robert

Reply via email to