ZFS prefers iSCSI disks over local ones ?

Harry Schmalzbauer freebsd at omnilan.de
Wed Oct 4 19:05:14 UTC 2017


 Bezüglich Markus Wild's Nachricht vom 03.10.2017 17:28 (localtime):
>>> Any way however to set rotationrate to 7200 (or to a slightly greater value (*)) as well for iSCSI drives ?
>>> I looked through ctl.conf(5) and iscsi.conf(5) but did not found anything related.  
>> Sorry, (*) or to a slightly lower value (of course...).
>> I forgot to mention that as the initiator, target is a FreeBSD 11.0 server.
> We use this in our ctl.conf to ensure vmware doesn't consider the iscsi volumes to be ssd drives:
>
> [...]
>         lun 1 { path /dev/zvol/data/volumes/zvol1 ; option rpm 10000 }

mav@ also added the formfactor option in r273687, which is configurable
via ctl.conf(5) and documented in ctladm(8).
Another not very well knwon option is "product".
This is significant for WindowsServerBackup e.g.

A ctl.conf(5) LUN specification example I generally use:
lun 0 {
    # blocksize 4096 doesn't work for WSB2008, vhdx is prerequisite (2012+)!
    blocksize 4096
    device-id "da5"
    option vendor "FreeBSD-ctl"
    option product "BackVOL15-1"
    # RPM 0=not reported, 1=non-rotating(SSD), n>1024 rpm
    option rpm 7200
    # FormFactor 0=not reported, 1=5.25, 2=3.5, 3=2.5, 4=1.8, 5=less 1.8
inch
    option formfactor 2
    path /dev/da5
    serial "10000001"
}

-harry


More information about the freebsd-scsi mailing list