PDA

View Full Version : [ubuntu] Can I hot switch from ext4 to ext3? How?



grikdog
September 11th, 2009, 07:52 PM
I formatted my hard drive to ext4 (no reason, it seemed like the thing to do) when I installed Jaunty. Now I hear that ext4 is unstable. Is that true? This is just a home computer, a Dell Inspiron 1525 laptop. Do the ext4 issues affect me? Is it possible to switch back to ext3 with live data on the drive? Am I worried about nothing?

Thanks,
d

imhotep59
September 11th, 2009, 08:02 PM
I run with Jaunty and ext4 for 6 months without problem. I suggest you keep ext4 which is now stable.

grikdog
September 11th, 2009, 08:12 PM
I run with Jaunty and ext4 for 6 months without problem. I suggest you keep ext4 which is now stable.

I haven't had any data loss problems, and all seems well. Yesterday, I turned my wireless back on (Jaunty includes a proprietary Dell driver that Hardy did not, and I finally noticed that). When I shut down and rebooted (later), my screen came up in the wrong resolution, with additional functional annoyances. This was ameliorated by simply restarting and it hasn't happened again.

But it made me wonder...

Aside from that, I can't tell any difference between ext3 and ext4. Jaunty mangled a lot of things (especially video), so I have too many variables to follow. I'll proceed on the assumption that ext4 is not my problem, for now.

Thanks.
d

imhotep59
September 11th, 2009, 08:18 PM
I think the problem you experienced is not related to ext4. The bug reported with ext4 was about loss of very big files (several Gio).
Your problem with the resolution could be somewhere in the configuration of Xorg which was corrected after reboot ?

Udayakiran
September 12th, 2009, 05:37 AM
I think the problem you experienced is not related to ext4. The bug reported with ext4 was about loss of very big files (several Gio).
Your problem with the resolution could be somewhere in the configuration of Xorg which was corrected after reboot ?
Is the bug still there? I'm planning to use ext4 for my file server.

Udayakiran
September 12th, 2009, 05:40 AM
Sorry, triple post. :(

Udayakiran
September 12th, 2009, 05:41 AM
Sorry, again. :(

imhotep59
September 12th, 2009, 06:12 AM
Is the bug still there? I'm planning to use ext4 for my file server.

No the bug with ext4 is fixed.

Udayakiran
September 12th, 2009, 06:31 AM
No the bug with ext4 is fixed.


Whew!!! Thx...

shae
September 12th, 2009, 06:33 AM
Ext4 is rather safe now, but if you want to be sure, the newest kernels are probably a bit better at handling it (2.6.30+).

imhotep59
September 12th, 2009, 08:56 AM
Ext4 is rather safe now, but if you want to be sure, the newest kernels are probably a bit better at handling it (2.6.30+).

+1

That's probably why ext4 is the default file system in Karmic which runs with the kernel 2.6.31.

Some people say that the next FS will be btrfs and that ext4 is just a transition. Does anyone get more informations about btrfs and ubuntu ?

shae
September 13th, 2009, 12:57 AM
+1

That's probably why ext4 is the default file system in Karmic which runs with the kernel 2.6.31.

Some people say that the next FS will be btrfs and that ext4 is just a transition. Does anyone get more informations about btrfs and ubuntu ?

I think this has changed somewhat. Oracle who started btrfs just bought SUN, pending EU approval, who has their own filesystem called ZFS. Now that Oracle will probably own that code, they may relicense it as GPL.

If they do not, then btrfs will continue to be developed, at least by people not related to Oracle. But this may decrease the odds of it becoming successful.

Btrfs will have to come a very long way before Ubuntu begins to consider using it.

jacksaff
September 13th, 2009, 02:30 AM
Back to the original question, you can't change an ext4 formated partition to ext3. Ext4 is backwards compatible - ext4 understands ext3, but not the other way around. Ext4 can organise files into 'extents' that ext3 can't understand. You can mount an ext3 partition as ext4 no problems but it won't have the featrues that extents allow. You can also tweak an ext3 partition to become an ext4 one (basically defrag it and reorganise the data into extents), though if you do this you can't go back.