File Systems

Compiling bacula client gives link errors

I was trying to recompile sysutils/bacula-client on a FreeBSD 8.4 jail when I encountered some perplexing link errors. It took me a while to figure it out, but with the help of some IRC conversation, we figured it out. I started off by deleting the old (quite old) port: bacula-client-5.0.3 Then I recompiled: cd /usr/ports/sysutils/bacula-client && make install clean The errors in question are: I tried recompiling a few ports, such as gettext. […]

Compiling bacula client gives link errors Read More »

The Bacula Tutorial jail server

One of the challenges of providing hands-on demonstrations is giving everyone their own sandbox to play in. I don’t want people to spend time on installing software. I want people to learn about the software in question, specifically Bacula. With this in mind, I’ve been building up a solution based on FreeBSD 9.1, ZFS, and jails. My solution is pretty nifty, but I don’t think it’s anything special. The key is simplicity. The

The Bacula Tutorial jail server Read More »

Creating a ZFS-only box – the first look

I’m about to start setting up a ZFS-only box using FreeBSD 8.2. There will be no UFS volumes in this system. Every previous server I have set up has always booted from a gmirror’d UFS system first, then mounted a ZFS array. This time, everything will be on ZFS. I’ve described this server previously when I first chose the parts back in January. Now, the push is on to get this system installed

Creating a ZFS-only box – the first look Read More »

Oops, I deleted my boot partition

About a week ago, I was doing some HDD benchmark tests and I accidentally specified the boot drive as the source for a test. Oops. Everything was OK. Until I rebooted. It would not boot. I figured I knew what happend. I’d munged my boot code. And I knew how to fix it. However, I didn’t realize that I’d also deleted the boot partition. I asked on the FreeBSD dev IRC channel. db

Oops, I deleted my boot partition Read More »

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 »

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 »

Scroll to Top