From owner-freebsd-stable@freebsd.org Mon Oct 12 12:17:05 2015 Return-Path: Delivered-To: freebsd-stable@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 54E7FA11415 for ; Mon, 12 Oct 2015 12:17:05 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAC819CF for ; Mon, 12 Oct 2015 12:17:04 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by wicgb1 with SMTP id gb1so47986974wic.1 for ; Mon, 12 Oct 2015 05:16:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=cQrhnW81OdKFDAjaLuCTmQGtepx7iWde1kJY/jHdfDE=; b=A9RnRXhvMNuzoY1iQP2A+j50fP5hVzKsw1eiC7cMPYmk/idYE6PA7aNAh2qEs5Jrac dFnJAXxg2w133b6fwqwWCP2wkFxRykaLs32VKzBPbNCNC5bTd6qj9B6qBU/s84KUMG0M xcEew2AW+u9zu0IqGxrXrnmox5UCoYygaqnGqjj+pInI2A+MiEb/MLVYUdc3PB0OV4vp hww27HvimHaHUXYd3KU+UR1HFfDc30oGiUQ2gxsqAG5r/9SOBadOoUC9qrn2KuCIrY2M Ft05sYd3YAepWo8ZbVK81J2sdAbjZE2xeAi3VrY/Yf8hD22Gmqx0+S/+QVS7eqDM1pxl g0bQ== X-Gm-Message-State: ALoCoQk649wvpMRMZoFtj6xb7p45SaJ1VA73m7jSqqaJQIEql7o8ep+Aw6Kp7xgmwEUui88AQ1dL X-Received: by 10.180.102.169 with SMTP id fp9mr15201315wib.29.1444652217482; Mon, 12 Oct 2015 05:16:57 -0700 (PDT) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by smtp.gmail.com with ESMTPSA id gc14sm10292209wic.12.2015.10.12.05.16.56 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Oct 2015 05:16:56 -0700 (PDT) Subject: Re: help with partitioning - huge stripesize To: freebsd-stable@freebsd.org References: <20151012134614.0a95076b@efreet.kappastar.com> From: Steven Hartland Message-ID: <561BA4BB.6030507@multiplay.co.uk> Date: Mon, 12 Oct 2015 13:16:59 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151012134614.0a95076b@efreet.kappastar.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2015 12:17:05 -0000 As you say using RAID for ZFS is a bad idea, so ideally change the hardware. If not see if your RAID controller has a stripe size option to help or just ignore the warning, its just a warning as it will be non-optimal performance. On 12/10/2015 12:46, Marko Cupać wrote: > Hi, > > I've got HP ProLiant DL320g5p server with HP Smart Array E200 RAID > controller and 4X300Gb SAS disks. > > I'd like to use it for hosting jails on ZFS, but no matter how I create > zpool, I always get a warning about non-native block size: > > block size: 8192B configured, 1048576B native > > I know it is optimal for ZFS to have direct access to disks, but HP > Smart Array E200 apparently does not support JBOD mode. I tried to > configure both single RAID-5 logical volume and four RAID-0 > logical volumes, in both cases diskinfo gives me the following: > > 512 # sectorsize > 299966445568 # mediasize in bytes (279G) > 585871964 # mediasize in sectors > 1048576 # stripesize > 643072 # stripeoffset > 71798 # Cylinders according to firmware. > 255 # Heads according to firmware. > 32 # Sectors according to firmware. > PA6C90R9SXK07P # Disk ident. > > With hardware I have, is it better to create single RAID-5 logical > volume in HP Smart Array E200 and let ZFS think it deals with single > physical drive, or four RAID-0 logical volumes and let ZFS think it > deals with four physical drives? > > Can I just ignore warning about non-native block size? If not, how can > I make it go away? > > Thank you in advance,