Tuesday, January 13, 2009

Setup Stalker NAS-server

This is the final setup in terms of hardware components:

CPU: Intel C2D E8400@3.00GHz
Motherboard: Gigabyte GA-G33M-S2H
Memory: 1GB Kingston (kit of 2x512MB) KHX6400D2LLK2_1G
Harddisk: 1TB Samsung HD103UJ
PSU: standard noname 350W
Lights: 2x15cm CCFL UV-green
CDROM: LITE-ON DVDRW SHM-165H6S/HQSA

This build will be running as a NAS-server. Although the cpu is too heavy for this purpose, I'm still using it that way. Maybe I'll change it in the future.

I have installed freeNAS and the system boots from a 128KB usb-stick. This is the welcome screen.

This configuration uses between 68 and 71 watts when running idle.

At first the power saving features were not enabled. For that I opened a ssh-shell with the following command:

Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.

Welcome to FreeNAS!

> sysctl -a | egrep -i 'dev.cpu.0.freq'
dev.cpu.0.freq: 2988
dev.cpu.0.freq_levels: 2988/-1 2614/-1 2241/-1 1867/-1 1494/-1 1120/-1 747/-1 373/-1
>


To enable power saving I added the option powerd_enable YES to the System|Advanced|rc.conf configuration. This is the result. The power consumption remains the same (?).

Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.

Welcome to FreeNAS!

> sysctl -a | egrep -i 'dev.cpu.0.freq'
dev.cpu.0.freq: 373
dev.cpu.0.freq_levels: 2988/-1 2614/-1 2241/-1 1867/-1 1494/-1 1120/-1 747/-1 373/-1
>

Initially I transferred my harddisk from window xp to freeNAS. The disk was formatted with NTFS and contained some files. So I started using freeNAS without reformatting the drive as I assumed this wouldn't give me any problem. I was wrong after each reboot the NTFS partition forgets newly written files and produces errors. I put the harddisk back into my xp-machine and ran chkdsk and tried it again. But no luck. The only way to be sure your data stays intact with freeNAS is to use it with its own native filesystem UFS.

This is the final look.




No comments: