Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-23 Thread Ivan Voras
On 23/08/2011 11:59, Aled Morris wrote: On 23 August 2011 10:52, Ivan Voras wrote: I agree but there are at least two things going for making the increase anyway: 1) 2 TB drives cost $80 2) Where the space is really important, the person in charge usually knows it and can choose a non-defaul

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-23 Thread Aled Morris
On 23 August 2011 10:52, Ivan Voras wrote: > > I agree but there are at least two things going for making the increase > anyway: > > 1) 2 TB drives cost $80 > 2) Where the space is really important, the person in charge usually knows > it and can choose a non-default size like 512b fragments. > >

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-23 Thread Ivan Voras
On 23/08/2011 03:23, Peter Jeremy wrote: On 2011-Aug-22 12:45:08 +0200, Ivan Voras wrote: It would be suboptimal but only for the slight waste of space that would have otherwise been reclaimed if the block or fragment size remained 512 or 2K. This waste of space is insignificant for the vast ma

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-22 Thread Peter Jeremy
On 2011-Aug-22 12:45:08 +0200, Ivan Voras wrote: >It would be suboptimal but only for the slight waste of space that would >have otherwise been reclaimed if the block or fragment size remained 512 >or 2K. This waste of space is insignificant for the vast majority of >users and there are no perf

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-22 Thread Ivan Voras
On 19/08/2011 14:21, Aled Morris wrote: On 19 August 2011 11:15, Tom Evans wrote: On Thu, Aug 18, 2011 at 6:50 PM, Yuri wrote: Some latest hard drives have logical sectors of 512 byte when they actually have 4k physical sectors. ... Shouldn't UFS and ZFS drivers be able to either read

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-19 Thread Aled Morris
On 19 August 2011 11:15, Tom Evans wrote: > On Thu, Aug 18, 2011 at 6:50 PM, Yuri wrote: > > Some latest hard drives have logical sectors of 512 byte when they > actually > > have 4k physical sectors. > ... > Shouldn't UFS and ZFS drivers be able to either read the right sector size > > from th

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-19 Thread Pieter de Goeje
On Friday, August 19, 2011 12:15:30 PM Tom Evans wrote: > On Thu, Aug 18, 2011 at 6:50 PM, Yuri wrote: > > Some latest hard drives have logical sectors of 512 byte when they > > actually have 4k physical sectors. Here is the document describing what > > to do in such case: > > http://ivoras.net/bl

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-19 Thread Tom Evans
On Thu, Aug 18, 2011 at 6:50 PM, Yuri wrote: > Some latest hard drives have logical sectors of 512 byte when they actually > have 4k physical sectors. Here is the document describing what to do in such > case: > http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html . > For UFS: n

ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-18 Thread Yuri
Some latest hard drives have logical sectors of 512 byte when they actually have 4k physical sectors. Here is the document describing what to do in such case: http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html . For UFS: newfs -U -f 4096 /dev/da0 For ZFS: gnop create -S 409