Old file system discovered after disabling ext4 journaling
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.
Old file system discovered after disabling ext4 journaling
I bought a ssd drive for my laptop, installed it, installed Windows 7, installed Kubuntu 11.04.
Till then everything worked fine, and I had following partitions on my disc:
It worked fine. While using 11.04 I encountered a serious bug in nvidia 270.41.06, and decided to switch to Kubuntu 10.10. I installed 10.10 on the very same /dev/sda5 (clicking a checkbox to format it). Everything worked fine, grub was installed and pointing to win7, and kubuntu 10.10. I disabled ext4 journaling as above, rebooted, and found, that grub now points to win7 and 11.04, and that system (which should have been removed during installation of 10.10) loads perfectly fine.
I checked where 11.04 had been installed - still /dev/sda5. Win7 loads fine as well, so no linux on /dev/sda2 I checked if there was 10.10 kernel in /boot - no. File system on sda5 had no trace of 10.10.
I formatted sda5 with gparted, installed 10.10 again, disabled journaling and situation repeated, whole file system on sda5 changed. Enabling journaling did nothing, 10.10 didn't come back.
I deleted sda3, sda5, sda6, made them again, installed 10.10, disabled journaling, and finally had my 10.10 on ext4 without journaling. So this is kind of solved, but I would still like to know that the hell happend? For the moment it looked like two file systems coexistened on one partition. This is some magic for me. Could somebody explain to me what happend, or just give a link to a page covering this topic?
Do you mean "extended partition" -> sda3, "two logical partitions" -> sda5, sda6? Then I know it's okay, but it doesn't answer my question.
Or do you mean "extended partition" -> sda5, "two logical partitions" -> sda5, sda5? Then it's weird for me.
To be precise, the question is: why, after disabling journaling on sda5, 10.10 files disappeared, and 11.04 files appeared, even though the latter were earlier formatted?
Update: the problem is back. After i DELETED sda3, sda5 and sda6, made them again, installed 10.10 on sda5, disabled journaling, made a few reboots it looked fine. But today, 11.04 is back again!
Update2: from live cd I did $ sudo dd if=/dev/zero of=/dev/sda5, deleted sda3, sda5 and sda6, made them again 7GB earlier on disc (by shrinking sda2), installed 10.10, rebooted, got some errors, rebooted, got 11.04! Still the very same 11.04, from the very begining. This have to have something to do with SSD maping or ext4 with journaling or both...
Update3: it is not disabling journaling, that travels back in time to 11.04, but making a cold start. After a cold start installation of 10.10 is simply lost.
I booted from live cd, did sudo hdparm -W0 /dev/sda to set write cache off, installed 10.10, did cold restart, and... no change. 11.04 again.
Update4: ok, this is a hardware issue. No changes in files are saved after a cold start on 11.04 nor Win7.
I know what they were because I made them. Many times during this weekend...
When I disabled journaling I probably did cold restart and associated the former with the problem. But I was wrong, this is a disc error, it's now cold dead.
I'm still impressed by my disc, which cached whole partition, as i did dd. It also cached whole 10.10 installation between warm restarts. You can't trust your ssd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.