Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am currently working on a project at the office where we are trying to get two of our LBHA's into a solid state device.
Currently I have two SuperMicro 1u's with 1GB of RAM and a 4GB CF card. I have installed CentOS 5.0 on the CF and it works great but CF cards are rated at no more than one million read/writes to the device before they fail.
Is there a HOWTO or a site that I could visit to find out how to get linux to run from RAM and everytime the system is rebooted it will load a fresh copy of Linux into RAM eliminating the possiblity of a failed hard disk.
Isn't CentOS too big to fit into the available RAM? I think that looking into Knoppix may offer some pointers on how to do it. And maybe you could run a liveCD instead of centOS? That would eliminate the CF card entirely - seems the surest way of preventing it from failing.
There is Gigabyte's I-RAM. It uses regular memory with battery backup that connects through SATA. It does not work yet in Linux because the device is missing a few SATA commands in its firmware. Another solid-state hard drive is E-Disk from Bitmicro.
There are other types of non-volatile memory. There is FRAM (ferroelectric RAM). It has unlimited writes. One problem is its maximum capacity is 512 KB. Then there is MRAM and it has the same capacity limits. Companies still think Flash is the best which it is not.
Yes, it is possible to fit a whole OS in RAM. You need to use a 64-bit OS and use ECC 16 GB or more of RAM. Look up /dev/ram on the internet.
Fedora 7's live cd is under 800 mb so I would think one could easily run in 4gb. You might look at how Fedora 7 is doing it because it has the option to run from ram(the version I tried was 64bit). The initial loadup is significant but once up it runs well. Bare minimum is 1gb ram.
What's an LBHA? It's possible to boot a system off of the network.
An easier thing since you already have it booting fine off the CF card is to simply configure things so that it doesn't write to the card much. Modify /etc/fstab to mount the root partition as ext2 insteand of ext3 and mount it with the "noatime" option. That will get rid of periodic writes for journalling and file (read) access time updating. Remove any references to swap partitions, of course.
Then, add entries in /etc/fstab to mount several directories in tmpfs (in RAM). Here's what I use:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.