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, -- Before enlightenment - chop wood, draw water. After enlightenment - chop wood, draw water. Marko Cupa? https://www.mimar.rs/
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,
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