Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hi all,
I have run a file server (mdk 9.2) as a test. It has used samba to share a public directory with XPee and other linux clients and worked flawlessly with ext3. Then a "power failure" "occured" , the public subdirectory structure was not damaged, but all the files _in_ each directory were gone. (as far as I can tell, nothing happened to the system itself which was running on the very same hard disk) This is strange, isn't it? Is there something I should have done to prevent that? I thought ext3 doesn't "mind" a power failure ... or did samba cause this problem...?
Well, ext3 "minds" powerfailures a bit. The journal makes it possible to avoid filesystem corruption most of the time. But the only files that would be affected, if any, would be files that were being written to at the time of the powerfailure. Losing ALL your files is incredibly unlikely, though not impossible. Try running fsck with the option for journal recovery?
Hi again,
thanks for the hints. There wasn't even a lost+found directory. I performed a fsck and got a "no problems" answer. So I tried e2fsck -f /dev/hda1 and a lost+found directory was created but nothing was put into it. Furthermore, e2fsck didn't find anything suspicious. I'm not sure about your hint
"Try running fsck with the option for journal recovery"
When I "man fsck.ext3" I only find an option for using an external journal. Did I miss something there?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.