Open Source

ZFS tuning

Wyze uses this tuning on his 2GB NAS box. # Dynamically adjust write limit based on previous txg commits to attempt # to maintain a 2-second commit time vfs.zfs.txg.synctime_ms=”2000″ # Set a minimum write limit of 50MB which is slightly more than the default vfs.zfs.write_limit_min=”50M” # Default vfs.zfs.write_limit_shift appears to be “3” which on a system # with 2GB RAM such as this one results in a write_limit_max of 256MB, which # is […]

ZFS tuning Read More »

The hardware is ready. What tests to run?

I think I’m now at the point where I have all the hardware assembled and it’s ready for testing. Now I’m trying to determine what set of fio tests to run. If you know of a set of standard tests, or just have some of your own, please let me know in the comments. The hardware The disks I have assembled are all available via the LSI 9211-8i. The basic hardware specs are:

The hardware is ready. What tests to run? Read More »

Testing the benchmark scripts – 1

I’m getting very slow throughput on these drives during my first set of tests. I have no idea why… The drive in question is: $ grep ada2 /var/run/dmesg.boot ada2 at ahcich4 bus 0 scbus5 target 0 lun 0 ada2: <ST2000DM001-1CH164 CC24> ATA-8 SATA 3.x device ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada2: Previously was known as ad12 Here

Testing the benchmark scripts – 1 Read More »

Benchmarking the TOSHIBA DT01ACA300 – ZFS

This is a repeat of a benchmark I did yesterday. The drive is a TOSHIBA DT01ACA300 3TB HDD. This is a 7200 RPM SATA III drive. Tests were run with FreeBSD 9.1 in the hardware listed below. Tonight, we’re going to do the partitions slightly differently, and try ZFS. The hardware We are testing on the following hardware: motherboard – SUPERMICRO MBD-H8SGL-O ATX Server Motherboard (Supermicro link): $224.99 CPU – AMD Opteron 6128

Benchmarking the TOSHIBA DT01ACA300 – ZFS Read More »

How I upgrade my WordPress installations

I have three blogs run on WordPress. Each runs on its own installation of WordPress. Why? Because all the single-install solutions I’ve seen were not very attractive. Convince me otherwise. Following the official instructions, I drew up this set of instructions which work for me. Hopefully, they work for you too. But I’m sure it’d going to be cryptic at first. My WordPress is installed in the directory wordpress.installed. The webserver looks for

How I upgrade my WordPress installations Read More »

zfsroot guides – which one to use?

I started looking around for guides for creating a zfsroot. Here is what I’ve glanced at so far, along with some of my comments. I plan to create an 8 drive array, running raidz2. FreeBSD wiki page – seems OK ZFS-only booting by Ollivier Robert – based on 8.0, but I need to read it through again OPTI­MIZED FOR 4K-SECTOR DRIVES – interesting, but not set up the way I want my system

zfsroot guides – which one to use? Read More »

Benchmarking the Samsung SSD 840 PRO Series DXM03B0Q – ZFS

Following on from yesterday’s benchmark, I’m adding in some ZFS tests. All hardware is the same. Of note: $ zdb | grep ashift ashift: 9 $ sudo diskinfo -v ada0 Password: ada0 512 # sectorsize 128035676160 # mediasize in bytes (119G) 250069680 # mediasize in sectors 0 # stripesize 0 # stripeoffset 248085 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. S12PNEACB31368P # Disk

Benchmarking the Samsung SSD 840 PRO Series DXM03B0Q – ZFS Read More »

MIRROR/gm0 has changed from COMPLETE to DEGRADED

GEOM Watch sent me an email this morning: The status of GEOM MIRROR/gm0 has changed from COMPLETE to DEGRADED. The following components have been lost: ad6 Remaining components: ad3 Here’s the smartctl output: [dan@ngaio:~] $ sudo smartctl -a -i /dev/ad6 smartctl 5.43 2012-06-30 r3573 [FreeBSD 8.2-STABLE i386] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Maxtor DiamondMax Plus 9 Device Model: Maxtor 6Y120M0 Serial

MIRROR/gm0 has changed from COMPLETE to DEGRADED Read More »

Aligned versus not aligned

In this post, we’re going to demonstrate why aligning your disk partitions can be a good idea. For starters, we’re going to go with the default alignment, do a test, then align, and redo the test. But first, in case you have no idea what I’m talking about, this randomly discovered post may be a useful primer. Create the scheme on the disk This command creates a GPT scheme on the drive. Create

Aligned versus not aligned Read More »

Scroll to Top