Date: Wed, 8 Jul 2020 16:43:29 -0700 From: Ihor Antonov <ihor@antonovs.family> To: freebsd-questions@freebsd.org Subject: Re: Are there any real advantages of ext4 over ext2 ? Message-ID: <585af9d4-7218-9755-6a5e-e37354913873@antonovs.family> In-Reply-To: <7e89c45e-aaae-1b42-18a5-1c45ec07b145@holgerdanske.com> References: <DB8PR06MB64426C4BB725C23C544C6E3AF6670@DB8PR06MB6442.eurprd06.prod.outlook.com> <7e89c45e-aaae-1b42-18a5-1c45ec07b145@holgerdanske.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> See: > > https://en.wikipedia.org/wiki/Ext2 > > https://en.wikipedia.org/wiki/Ext4 Apart from some edge cases the only meaningful difference is jornaling. Ext2 is simple FS and does not have a journal, ext3 and ext4 can have journal (and they usually do by default) but it can be disabled. They all are backwards compatible. You should be able to read ex2 volume with ext3/4 driver. But not sure if the other way works. It would be an interesting exercise to try to disable all possible features on ext4 volume (like journal) and try to read it in read-only mode with ext2 driver (but there is a high chance it might not work) > I recently learned that FreeBSD supports ext2 and have formatted a USB > HDD with ext2 for this reason, but have yet to test it with FreeBSD. > OpenZFS is available and works on both platforms. But, I have not tried > moving ZFS devices between platforms. I expect the crux would be > limiting the feature flags to the common subset. OpenZFS does work across Linux/FreeBSD as long as you use common subset of features. I had to re-format my Linux ZFS drive recently because it had feature@dnodesize enabled, and FreeBSD does not support this feature yet. -------------- Ihor Antonov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?585af9d4-7218-9755-6a5e-e37354913873>