From owner-freebsd-scsi@freebsd.org Wed Oct 4 19:05:14 2017 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E25BE4055B for ; Wed, 4 Oct 2017 19:05:14 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3FCC6DCF7 for ; Wed, 4 Oct 2017 19:05:13 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v94J5AGb017613 for ; Wed, 4 Oct 2017 21:05:10 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id AFDD5487; Wed, 4 Oct 2017 21:05:10 +0200 (CEST) Message-ID: <59D530E6.6090506@omnilan.de> Date: Wed, 04 Oct 2017 21:05:10 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: Re: ZFS prefers iSCSI disks over local ones ? References: <4A0E9EB8-57EA-4E76-9D7E-3E344B2037D2@gmail.com> <69fbca90-9a18-ad5d-a2f7-ad527d79f8ba@freebsd.org> <9342D2A7-CE29-445B-9C40-7B6A9C960D59@gmail.com> <49ADB654-E68B-4B88-AE8E-49F755092848@gmail.com> <20171003172857.2497b931@mwoffice.virtualtec.office> In-Reply-To: <20171003172857.2497b931@mwoffice.virtualtec.office> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: ACL 129 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Wed, 04 Oct 2017 21:05:10 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 19:05:14 -0000 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