From: "Jörg Sommer" <joerg@alea.gnuu.de>
To: linux-ext4@vger.kernel.org
Subject: ext4 fails on ext2 filesystems
Date: Sun, 18 Jan 2009 02:35:16 +0100 [thread overview]
Message-ID: <20090118013516.GA4876@alea.gnuu.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 3230 bytes --]
Hi,
I've an ext2 filesystem as root filesystem, because it's mounted readonly
for the most part. I've built in the support for ext[234] in the kernel.
Ext4 takes precedence over ext2 and it mounts the root filesystem:
[ 6.184751] EXT4-fs: delayed allocation enabled
[ 6.191487] EXT4-fs: mballoc enabled
[ 6.197710] EXT4-fs: mounted filesystem hda3 without journal
[ 6.203948] VFS: Mounted root (ext4 filesystem) readonly on device 3:3.
% mount | grep root
rootfs on / type rootfs (rw)
/dev/root on / type ext4 (ro,noatime,errors=remount-ro,barrier=1,data=writeback)
But when remounting the filesystem read/write and changing a file, the
changes are written to the filesystem, but it's remounted readonly
immediatly. I've set the mount option remount-ro.
[ 203.082300] EXT4 FS on hda3, no journal
[ 205.746713] EXT4-fs error (device hda3): ext4_free_data: circular indirect block detected, inode=165056, block=184476
% cat /proc/cpuinfo
processor : 0
cpu : 7455, altivec supported
clock : 606.000000MHz
revision : 3.3 (pvr 8001 0303)
bogomips : 36.73
timebase : 18432000
platform : PowerMac
model : PowerBook6,3
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 256K unified
pmac-generation : NewWorld
Memory : 640 MB
% uname -a
Linux ibook 2.6.29-rc2 #1 Sat Jan 17 18:04:20 CET 2009 ppc GNU/Linux
% tune2fs -l /dev/root
tune2fs 1.41.3 (12-Oct-2008)
Filesystem volume name: Linux Root
Last mounted on: <not available>
Filesystem UUID: 2a16f78b-dde3-4224-bb23-6303c0d69c92
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: ext_attr resize_inode dir_index filetype sparse_super large_file
Filesystem flags: unsigned_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 327680
Block count: 1310520
Reserved block count: 65526
Free blocks: 294862
Free inodes: 152729
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 319
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Filesystem created: Tue Aug 12 19:22:53 2008
Last mount time: Sun Jan 18 01:59:11 2009
Last write time: Sun Jan 18 01:59:27 2009
Mount count: 2
Maximum mount count: 32
Last checked: Sat Jan 17 19:33:26 2009
Check interval: 15552000 (6 months)
Next check after: Thu Jul 16 20:33:26 2009
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Default directory hash: tea
Directory Hash Seed: ba7cdd48-9bce-4d4c-afdc-cff8b4008f11
Bye, Jörg.
--
Objektivität ist die Wahnvorstellung, Beobachtungen könnten ohne
Beobachter gemacht werden – Heinz v. Foerster
[-- Attachment #2: Digital signature http://en.wikipedia.org/wiki/OpenPGP --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2009-01-18 2:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-18 1:35 Jörg Sommer [this message]
2009-01-18 2:38 ` ext4 fails on ext2 filesystems Theodore Tso
2009-01-18 10:04 ` Jörg Sommer
2009-01-20 14:51 ` Theodore Tso
2009-01-21 18:45 ` Jörg Sommer
2009-01-21 19:58 ` Theodore Tso
2009-01-19 23:30 ` Andreas Dilger
2009-01-20 13:56 ` Jörg Sommer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090118013516.GA4876@alea.gnuu.de \
--to=joerg@alea.gnuu.de \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.