User: Password:
Subscribe / Log in / New account

Removing ext2 and/or ext3

Removing ext2 and/or ext3

Posted Feb 12, 2011 17:57 UTC (Sat) by pr1268 (subscriber, #24648)
Parent article: Removing ext2 and/or ext3

This seems like a serious issue - I have a couple of external-hard-drive-in-enclosures backing up my music directory (lots of mp3|ogg|flac files). Since I only make backups once every several weeks or so (my computer's music directory doesn't change all that often), I chose the non-journaling Ext2 for each.

So, if the proposed removal of Ext2/3 were to be realized, then my questions are:

  • Would I still be able to mount these drives? (Based on Jan's e-mail, I gathered the answer is Yes, but I'm still a little skeptical.)
  • Would I be able to mkfs a file system that's 100% Ext2-compatible? (I may have to mount these drives on a Windows PC, and IIRC there's still a Windows Ext2 driver available.)
  • If I were to upgrade to an Ext4-only kernel, would I still be able to boot/mount my Ext2 /boot partition and Ext3 / and /home partitions transparently?

Thanks in advance for answers/commentary/discussion!

(Log in to post comments)

Removing ext2 and/or ext3

Posted Feb 12, 2011 20:18 UTC (Sat) by ABCD (subscriber, #53650) [Link]

In order, the answers are: yes, yes, and yes.

I have, in the past, had a number of ext2 and ext3 filesystems that I have attempted to mount with a ext4-only kernel. So far as I can remember, in every case it worked just fine. I also have used mkfs.ext2/mkfs.ext3 to create ext2/3 filesystems on that same ext4-only kernel, mounted them on that system, copied files onto the filesystem, then mounted them on older systems that did not have ext4 support at all. Basically, everything worked perfectly transparently, without my having to change much of anything (I even left the "ext2" or "ext3" bit in /etc/fstab, and the kernel used the ext4 driver to mount the filesystems because I set CONFIG_EXT4_USE_FOR_EXT23=y).

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds