ZFS With Gpart partitions

Peter Maloney peter.maloney at brockmann-consult.de
Tue Jan 3 14:38:25 UTC 2012


On 01/03/2012 03:34 PM, Peter Maloney wrote:
> On 01/03/2012 02:01 PM, Dan Carroll wrote:
>> On 3/01/2012 10:27 PM, krad wrote:
>>> Just a not you dont appear to be 4k aligned on this drive. As the
>>> drive capacity is > 1.5 Tb you probably should be. You will also be
>>> ashift=9 as well. This may or may not be a problem for you. 
>> That was intentional, as I *thought* these drives were not 4k sector
>> drives.   I am not sure how I am supposed to tell.   They are WD RE4
>> drives.
>> I confess, however to knowing nothing about ashift=9.....   Could you
>> elaborate?
> Read this thread:
>
> ZFS using 'advanced format drives' with FreeBSD (8.2-RC3)
> http://forums.freebsd.org/showthread.php?t=21644
>
> (and of course don't play around and run the dd command, etc. for disks
> with valuable data on them)
>
And looking at dmesg or /var/log/messages should probably tell you what
your sector size is.

eg.
# dmesg | grep "da2:"

or

# grep "da2:" /var/log/messages

or

# bunzip2 -c /var/log/messages.1.bz2 | grep "da2:"
Nov 28 13:59:35 bcnas1 kernel: da2: <ATA ST33000650NS 0002> Fixed Direct
Access SCSI-6 device
Nov 28 13:59:35 bcnas1 kernel: da2: 600.000MB/s transfers
Nov 28 13:59:35 bcnas1 kernel: da2: Command Queueing enabled
Nov 28 13:59:35 bcnas1 kernel: da2: 2861588MB (5860533168 *512 byte
sectors*: 255H 63S/T 364801C)
>> -D
>> _______________________________________________
>> freebsd-fs at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>


-- 

--------------------------------------------
Peter Maloney
Brockmann Consult
Max-Planck-Str. 2
21502 Geesthacht
Germany
Tel: +49 4152 889 300
Fax: +49 4152 889 333
E-mail: peter.maloney at brockmann-consult.de
Internet: http://www.brockmann-consult.de
--------------------------------------------



More information about the freebsd-fs mailing list