Saturday, December 5, 2009

Replaced 700G HD with 1T HD in FreeNAS ZFS Pool

BeforeAfter

Roughly followed the procedure here to do this.

Friday, December 4, 2009

Dead WD10EADS


Took around 5 days to replace under warranty.

ZFS Versions

Version info
http://hub.opensolaris.org/bin/view/Community+Group+zfs/N
FreeNAS 0.7

VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS version
2 Ditto blocks (replicated metadata)
3 Hot spares and double parity RAID-Z
4 zpool history
5 Compression using the gzip algorithm
6 bootfs pool property
Solaris snv_129
VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS version
2 Ditto blocks (replicated metadata)
3 Hot spares and double parity RAID-Z
4 zpool history
5 Compression using the gzip algorithm
6 bootfs pool property
7 Separate intent log devices
8 Delegated administration
9 refquota and refreservation properties
10 Cache devices
11 Improved scrub performance
12 Snapshot properties
13 snapused property
14 passthrough-x aclinherit
15 user/group space accounting
16 stmf property support
17 Triple-parity RAID-Z
18 Snapshot user holds
19 Log device removal
20 Compression using zle (zero-length encoding)
21 Deduplication
22 Received properties

Saturday, November 28, 2009

iPhoneTips

SSH KeepAlive

#By default, your ssh daemon probably will kick you out after a period of no activity.
#I like to set the following in sshd_config:
TCPKeepAlive yes
ClientAliveInterval 60

Photos directory

/private/var/mobile/Media/DCIM

FreeNAS 0.7 on Abit BP6 motherboard

Confirming that FreeNAS 0.7 works on the Abit BP6 motherboard.

The server was made mostly from old spare parts:
  • Abit BP6 (no mods, caps haven't been replaced)
  • 1x Celeron 366Mhz (not overclocked)
  • 256MB RAM
  • nVidia GeForce2 MX400 64MB AGP
  • Intel 82559 Pro/100 NIC
  • 6 HDs of various sizes setup in JBOD
  • CF to IDE adapter, +128M CF Card (for FreeNAS)
  • xsonic 350W power supply
Had a few problems as some parts died, including two video cards and two sticks of RAM. Also a 10G HD (from a Xbox 1) caused lockups.

Another Celeron, or overclocking, might help as CPU is the bottleneck when doing a rsync.

USB & FDD controller, parallel & serial ports were all turned off in the BIOS.

CPU Load during a remote rsync:


FreeNAS 0.7 BP6 Screenshots

FreeNAS 0.7 BP6 dmesg

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 16 16:45:05 UTC 2009
root@vmbsd72i386:/usr/obj/freenas/usr/src/sys/FREENAS-i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (374.06-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x665 Stepping = 5
Features=0x183fbff
real memory = 268369920 (255 MB)
avail memory = 148140032 (141 MB)
ACPI APIC Table:
ioapic0 irqs 0-23 on motherboard
wlan: mac acl policy registered
kbd1 at kbdmux0
cryptosoft0: on motherboard
padlock0: No ACE support.
acpi0: on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, fef0000 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit> port 0x4008-0x400b on acpi0
acpi_button0: on acpi0
pcib0: port 0xcf8-0xcff,0x4000-0x4041,0x5000-0x500f on acpi0
pci0: on pcib0
agp0: on hostb0
pcib1: at device 1.0 on pci0
pci1: on pcib1
vgapci0: mem 0xdc000000-0xdcffffff,0xd0000000-0xd7ffffff at device 0.0 on pci1
isab0: at device 7.0 on pci0
isa0: on isab0
atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0
ata0: on atapci0
ata0: [ITHREAD]
ata1: on atapci0
ata1: [ITHREAD]
uhci0: port 0xd000-0xd01f irq 19 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: on uhci0
usb0: USB revision 1.0
uhub0: on usb0
uhub0: 2 ports with 2 removable, self powered
pci0: at device 7.3 (no driver attached)
fxp0: port 0xd400-0xd43f mem 0xdf100000-0xdf100fff,0xdf000000-0xdf0fffff irq 17 at device 13.0 on pci0
miibus0: on fxp0
inphy0: PHY 1 on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address:
fxp0: [ITHREAD]
atapci1: port 0xd800-0xd807,0xdc00-0xdc03,0xe000-0xe0ff irq 18 at device 19.0 on pci0
atapci1: [ITHREAD]
ata2: on atapci1
ata2: [ITHREAD]
atapci2: port 0xe400-0xe407,0xe800-0xe803,0xec00-0xecff irq 18 at device 19.1 on pci0
atapci2: [ITHREAD]
ata3: on atapci2
ata3: [ITHREAD]
acpi_tz0: on acpi0
speaker0: port 0x61 on acpi0
atkbdc0: port 0x60,0x64 irq 1 on acpi0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
cpu0: on acpi0
pmtimer0 on isa0
orm0: at iomem 0xc0000-0xcc7ff,0xd0000-0xd0fff,0xd1000-0xd27ff,0xef000-0xeffff pnpid ORM0000 on isa0
fdc0: No FDOUT register!
ppc0: parallel port not found.
sc0: at flags 0x100 on isa0
sc0: VGA <16 flags="0x300">
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
uhid0: on uhub0
Timecounter "TSC" frequency 374064400 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to accept, logging limited to 5 packets/entry by default
interrupt storm detected on "irq18:"; throttling interrupt source
md0: Preloaded image 98566144 bytes at 0x80ed6c78
ad0: 122MB at ata0-master PIO4
ad2: 286168MB at ata1-master UDMA33
ad3: 28629MB at ata1-slave UDMA33
ad4: 78166MB at ata2-master UDMA66
ad5: 28629MB at ata2-slave UDMA66
ad6: 76319MB at ata3-master UDMA66
ad7: 305244MB at ata3-slave UDMA66
Trying to mount root from ufs:/dev/md0
fxp0: link state changed to UP
This module (opensolaris) contains code covered by the
Common Development and Distribution License (CDDL)
see http://opensolaris.org/os/licensing/opensolaris_license/
WARNING: ZFS is considered to be an experimental feature in FreeBSD.
ZFS WARNING: Recommended minimum RAM size is 512MB; expect unstable behavior.
ZFS filesystem version 6
ZFS storage pool version 6

BP6 Backup NAS



A server made of old parts which will run FreeNAS, and used to backup another NAS.