Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Oct 2017 21:05:10 +0200
From:      Harry Schmalzbauer <freebsd@omnilan.de>
To:        freebsd-scsi@freebsd.org
Subject:   Re: ZFS prefers iSCSI disks over local ones ?
Message-ID:  <59D530E6.6090506@omnilan.de>
In-Reply-To: <20171003172857.2497b931@mwoffice.virtualtec.office>
References:  <4A0E9EB8-57EA-4E76-9D7E-3E344B2037D2@gmail.com> <feff135a-3175-c5d0-eeb4-5639bb76789e@FreeBSD.org> <69fbca90-9a18-ad5d-a2f7-ad527d79f8ba@freebsd.org> <9342D2A7-CE29-445B-9C40-7B6A9C960D59@gmail.com> <caa120ab-5b88-8602-45b6-1fbbea9ad194@multiplay.co.uk> <A0EA3117-A40A-4163-AF84-76A08ABBFE4A@gmail.com> <49ADB654-E68B-4B88-AE8E-49F755092848@gmail.com> <20171003172857.2497b931@mwoffice.virtualtec.office>

next in thread | previous in thread | raw e-mail | index | archive | help
 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



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