Mark Lanctot;268900 Wrote:
> pippin's use of IDE flash modules and his explanation of the new flash
> failure management techniques makes a flash-based OS partition a very
> interesting proposition. Googling around, there are flash modules up
> to 8 GB which plug directly into an IDE socket, no adapter required!
Have had success with IDE-CF, SATA-CF, and IDE DOM modules for OS
storage with SS. FreeNAS embedded is very simple to configure, and
several Linux distros work well with / mounted ro. Alternatively, it
could be as simple as mounting / with "rw,noatime" options if you don't
want to enforce ro.
CentOS/RHEL 5 has a particularly simple method called "readonly-root"
from the Stateless Linux Fedora initiative that mounts / ro and
automatically mounts various common things in /var to a ramdisk as part
of the standard init scripts.
It's also useful to leverage Linux kernel support for "laptop mode",
which can defer writes for long periods of time. It also has useful
documentation & debugging tools to identify processes doing avoidable
IO.
FreeNAS does support CIFS, though performance with NFS is better. Have
gotten away from FreeNAS recently due to the limited feature function
of the FreeBSD kernel compared with Linux (mostly non-working WOL, very
limited hibernate/suspend, etc.).
Transitioning away from FreeNAS/SlimNAS-- have experimented with an
automated approach based on CentOS (Linux).
- 'kickstart'
(http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Installation_Guide/s1-kickstart2-options.html)
('1' (http://wiki.centos.org/TipsAndTricks/KickStart), '2'
(http://watzmann.net/blog/index.php?title=kickstarting_into_puppet))
OS install to IDE DOM
- 'puppet'
(http://www.reductivelabs.com/trac/puppet/wiki/PuppetBestPractice)
configuration for:
- OS (WOL)
- MySQL
- SqueezeCenter (from SlimDevices 'yum repository'
(http://repos.slimdevices.com/yum/))
- Samba
- 'readonly-root' (http://usher.ucsd.edu/trac/wiki/UsherMakeROFS)
- 'hibernation' (http://www.tuxonice.net/) (suspend2)
- (maybe soon) 'laptop mode' (http://www.samwel.tk/laptop_mode/)
Compared with SlimNAS, this has the advantage of direct support from
Logitech/SlimDevices, working WOL, and fast resume from hibernation
(works in VMWare, haven't tried on real hardware). Unfortunately it
lacks a user friendly web UI other than SC7 itself.
If there's interest I might blog the details. No real surprises getting
it to work.
Apologies for being a bit off-topic, but it might be useful for others
considering a flash based BSD/Linux approach.
--
syburgh
------------------------------------------------------------------------
syburgh's Profile: http://forums.slimdevices.com/member.php?userid=14239
View this thread: http://forums.slimdevices.com/showthread.php?t=43319
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix