Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 09:27:42 -0000
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        <Ivailo.TANUSHEFF@raiffeisen.bg>
Cc:        Patrick Dung <patrick_dkt@yahoo.com.hk>, pgsql-admin@postgresql.org, owner-freebsd-fs@freebsd.org, freebsd-fs@freebsd.org, freebsd-jail@freebsd.org
Subject:   Re: [ADMIN] ZFS-FreeBSD + postgresql performance
Message-ID:  <5E70894E80E24CF5AF894DAF80DCF04E@multiplay.co.uk>
References:  <20131023162545.GA19794@pcjas.obspm.fr> <1382548465.32073.37624113.6AA8DB42@webmail.messagingengine.com> <52683855.6060609@gmx.net> <OF0B1DBA74.B7B14575-ONC2257C0E.001EC20A-C2257C0E.00239411@LocalDomain> <1382716422.13782.YahooMailNeo@web193504.mail.sg3.yahoo.com> <DF66E5265C9A470A8EFABA893D5BE384@multiplay.co.uk> <OFA2082B0A.0C83667D-ONC2257C12.0025E1CF-C2257C12.00260AD4@LocalDomain>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: <Ivailo.TANUSHEFF@raiffeisen.bg>
>> ----- Original Message ----- 
>> From: "Patrick Dung" <patrick_dkt@yahoo.com.hk>
>> Sent: Friday, October 25, 2013 4:53 PM
>> Subject: Re: [ADMIN] ZFS-FreeBSD + postgresql performance
>> 
>> 
>> >> I would also recommend to use 4K sector size using
>> >
>> > gnop and zpool export/import.
>> 
>> This will have no effect, the ashift for a pool is set at creation.
>> 
>>     Regards
>>     Steve
>> 
> 
> That's the idea: to set the ashift during the creation of the pool. Never 
> did that before?
> 
> gnop create -S 4096 /dev/gpt/disk0
> gnop create -S 4096 /dev/gpt/disk1
> zpool create mirror /dev/gpt/disk0.nop /dev/gpt/disk1.nop
> zpool export zroot
> gnop destroy /dev/gpt/disk0.nop
> gnop destroy /dev/gpt/disk1.nop
> zpool import zroot

First if your on 10 or 11 you don't need this unless you have a disk
which is 4k but is reporting 512b and isnt in our list of quirks.

If you still need to do this you only need to do gnop create / destroy
onone disk per top level vdev so in your example thats only one disk.

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.




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