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.
At the moment I am using a 16 GB class 4 SD card as the main drive on my netbook. It's formatted with ext4; in an effort to reduce wear and improve performance, I disabled the filesystem's journal. As far as performance and battery life go, that works extremely well.
However, I'm a little concerned about filesystem integrity without a journal. fsck times shouldn't be a problem, but how likely is irrepairable filesystem corruption in the event of an improper shutdown?
I would expect non-journaling filesystems to be safer than on a hard drive (since there's no hardware write cache). But if so, how much safer?
However, I'm a little concerned about filesystem integrity without a journal. fsck times shouldn't be a problem, but how likely is irrepairable filesystem corruption in the event of an improper shutdown?
Having been in your shoes but using a ext2 file system and Puppeee as a frugal install.
On improper shutdown. The card would fill with writes and be unbootable. I could fix this though by leaving the card in. Booting any other Linux distro with Gparted on it via another
pendrive. Open the sd card in gparted. Unmount it first. Then right click and pick check
and then apply. When done. Shutdown and pull the pendrive. Reboot into my fixed Puppeee sd
card. Nothing was lost.
Thanks... The answer so far seems to be that it's reasonably safe, provided you can get fsck to work (or fsck from a live medium). Which is cool, because even a cheapo SD card gives very good performance.
Edit: actually it turns out you can use a small journal (less than 16 MB or thereabouts) without serious performance impact, so that's what I'll do, in the interest of stability.
Last edited by Gullible Jones; 09-22-2013 at 07:10 AM.
Yeah, I got some nasty filesystem errors after suspending, and had to run fsck from a live CD. Journaling it is.
Edit: no, journaling doesn't make a difference, and the filesystem is actually clean and intact. I think this is some kind of issue with the mmc drivers that crops up on suspend.
Last edited by Gullible Jones; 09-23-2013 at 08:48 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.