Openwrt erweckt meine Icys zum neuem Leben.
Zitat vom Entwickler – Tobias Waldvogel
im glad to anounce that I finally managed provide a stable port of OpenWRT with a current kernel to the IB4220. For those who don’t know OpenWRT: It is a Linux distribution, which uses the flash memory as root filesystem, so the discs are data store only.
The major challenge was to get a current kernel running but together with the tremendous effort of some other contributors (like ElektroMan) I got finally a stable build.
Throughput is aprox. 12MB/s with Samba. The bottleneck is now Samba and I will try to make sendfile support working.
The TOE engine is working now and the netperf shows 170MBit throughput for TCP/IP (500Mbit for UDP). Disk performance on my system is 40MB/s when copying to /dev/null
Current kernel with all innovations
No hd idle problem as the whole systems runs from flash
Automatic e-mail notification in case of disk failure
Standard linux system
Nice web interface
Tons of packages available
No serial console cable required for upgrade
GUID partition support (Partions >2TB no problem)
Whole root filesystem in just 8MB flash, including Samba 3.3 with Kerberos, LDAP and Active Directory support
4MB left for additional packets
Fail safe mode if you ever delete anything important in the flash
MD with metadata 1.2 support
Image format compatible to Raidsonic (i.e. you can flash from RaidSonic firmware AND you can go back to RaidSonic (although there I cannot imagine ny reason )
Hardware support for encryption
Graphical user interface for partioning (has to be done by fdisk/parted/mdam so far)
Your raid partitions created with the RaidSonic Web interface will be available as /mnt/md1 without any additional effort.
Integrate transmission (torrent) into the web interface. You can use http://:9091 for now
Some additional background and tipps:
In order to fit the whole root filesystem into just 8MB (including Samba 3.3.16!!!!) the file system on Openwrt consists of two parts:
/rom on mtd2 (rootfs)
This is a readonly filesystem with squashfs using lzma for best compression
/overlay on mtd3 (rootfs_data)
This is a jffs2 filesystem to store all changes.
/ using overlay
This filesystem combines the other two into the root filesystem. Every change you do will be stored as a delta in /overlay. This is completely transparent for you.
All configuration settings are store in /etc/config. The preferred way is to use the web interface but you can adjust it also manually of course.
Recommended raid settings for best peformance
I personally prefer RAID10 with far2 layout. I gives you the same performance as RAID 0 but with RAID 1 protection. Write performance is slower than RAID 1 but I care more about read performance
(See the next posts). I will publish detailed steps how convert your existing data if you are interested.
Off – You just switched on your NAS and the bootloader is loading the kernel
Lit – Kernel loaded. Init scripts running
Blinking – Your NAS is ready. The heartbeat indicates the current system load
Green LED lit: Prompt for failsafe mode. Press the any button during the 2sec when it is lit and you enter failsafe mode.
Green LED heartbeat: Disk activity
However you can change the behaviour in the web interface. Anyway I thought this is the most useful setup.
You need some linux knowledge, a console cable is not required but might be helpful. Your existing disc configuration can be used, and can easily be upgraded to ext4.
Volle Infos unter