From owner-freebsd-stable@freebsd.org Tue Oct 13 07:28:59 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 8EDF9A125A1 for ; Tue, 13 Oct 2015 07:28:59 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from host202-129-static.10-188-b.business.telecomitalia.it (host202-129-static.10-188-b.business.telecomitalia.it [188.10.129.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4739C9AB for ; Tue, 13 Oct 2015 07:28:58 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from [192.168.0.60] (unknown [192.168.0.60]) by host202-129-static.10-188-b.business.telecomitalia.it (Postfix) with ESMTP id 93664122E49; Tue, 13 Oct 2015 09:20:19 +0200 (CEST) Subject: Re: help with partitioning - huge stripesize To: =?UTF-8?Q?Marko_Cupa=c4=87?= , freebsd-stable@freebsd.org References: <20151012134614.0a95076b@efreet.kappastar.com> From: Maurizio Vairani Message-ID: <561CB0B3.2090008@cloverinformatica.it> Date: Tue, 13 Oct 2015 09:20:19 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 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: Tue, 13 Oct 2015 07:28:59 -0000 Il 12/10/2015 13:46, Marko Cupać ha scritto: > 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, Hi, in my HP ProLiant Microserver Gen8, via BIOS, is possible to disable the Dynamic HP Smart Array B120i RAID Support and enable the SATA AHCI Support. ZFS works as expected and the block size is correct. Regards, Maurizio