* Strange ext filesystem error
@ 2011-10-26 14:25 Gary Thomas
[not found] ` <CAEsOVNejiifxREadD5-Lh6_MazhH1Qh1dgWg-nAw_e1yA8kTXA@mail.gmail.com>
2011-10-27 0:22 ` Tom Rini
0 siblings, 2 replies; 6+ messages in thread
From: Gary Thomas @ 2011-10-26 14:25 UTC (permalink / raw)
To: Poky Project
I've noticed this behaviour on my Poky/Yocto based systems.
First, I format some device, in this case an MMC card, as ext3
(yes, my kernel supports ext3)
# mkfs.ext3 /dev/mmcblk0p1
Then, when I go to mount it, I get this error:
# mount /dev/mmcblk0p1 /tmp/disk
EXT2-fs (mmcblk0p1): warning: mounting ext3 filesystem as ext2
Any ideas why? How can I get ext3 file system working?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread[parent not found: <CAEsOVNejiifxREadD5-Lh6_MazhH1Qh1dgWg-nAw_e1yA8kTXA@mail.gmail.com>]
* Re: Strange ext filesystem error
[not found] ` <CAEsOVNejiifxREadD5-Lh6_MazhH1Qh1dgWg-nAw_e1yA8kTXA@mail.gmail.com>
@ 2011-10-26 16:57 ` Gary Thomas
2011-10-26 17:25 ` Scott Garman
0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2011-10-26 16:57 UTC (permalink / raw)
To: McClintock Matthew-B29882; +Cc: Poky Project
On 2011-10-26 10:44, McClintock Matthew-B29882 wrote:
> On Wed, Oct 26, 2011 at 9:25 AM, Gary Thomas<gary@mlbassoc.com> wrote:
>> I've noticed this behaviour on my Poky/Yocto based systems.
>> First, I format some device, in this case an MMC card, as ext3
>> (yes, my kernel supports ext3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> # mkfs.ext3 /dev/mmcblk0p1
>> Then, when I go to mount it, I get this error:
>> # mount /dev/mmcblk0p1 /tmp/disk
>> EXT2-fs (mmcblk0p1): warning: mounting ext3 filesystem as ext2
>>
>> Any ideas why? How can I get ext3 file system working?
>
> Does your kernel support ext3? Otherwise you can try:
See above :-)
>
> $ mount -t ext3 /dev/mmcblk0p1 /tmp/disk
This does work although forcing the file system type should not
be necessary, but I'll live with it. This warning/error must have
something to do with the mount program (part of busybox).
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Strange ext filesystem error
2011-10-26 16:57 ` Gary Thomas
@ 2011-10-26 17:25 ` Scott Garman
0 siblings, 0 replies; 6+ messages in thread
From: Scott Garman @ 2011-10-26 17:25 UTC (permalink / raw)
To: poky
On 10/26/2011 09:57 AM, Gary Thomas wrote:
> On 2011-10-26 10:44, McClintock Matthew-B29882 wrote:
>> On Wed, Oct 26, 2011 at 9:25 AM, Gary Thomas<gary@mlbassoc.com> wrote:
>>> I've noticed this behaviour on my Poky/Yocto based systems.
>>> First, I format some device, in this case an MMC card, as ext3
>>> (yes, my kernel supports ext3)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>>> # mkfs.ext3 /dev/mmcblk0p1
>>> Then, when I go to mount it, I get this error:
>>> # mount /dev/mmcblk0p1 /tmp/disk
>>> EXT2-fs (mmcblk0p1): warning: mounting ext3 filesystem as ext2
>>>
>>> Any ideas why? How can I get ext3 file system working?
>>
>> Does your kernel support ext3? Otherwise you can try:
>
> See above :-)
>
>>
>> $ mount -t ext3 /dev/mmcblk0p1 /tmp/disk
>
> This does work although forcing the file system type should not
> be necessary, but I'll live with it. This warning/error must have
> something to do with the mount program (part of busybox).
Does dmesg complain about the filesystem at all?
FWIW if the datestamps on the filesystem are unusual (e.g, in the
future), this would likely cause problems when mouting them. But
generally I would think that might raise a warning to run fsck, and not
cause an ext3 fs to be degraded to ext2.
Scott
--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Strange ext filesystem error
2011-10-26 14:25 Strange ext filesystem error Gary Thomas
[not found] ` <CAEsOVNejiifxREadD5-Lh6_MazhH1Qh1dgWg-nAw_e1yA8kTXA@mail.gmail.com>
@ 2011-10-27 0:22 ` Tom Rini
2011-10-27 7:05 ` Anders Darander
2011-10-28 10:26 ` Gary Thomas
1 sibling, 2 replies; 6+ messages in thread
From: Tom Rini @ 2011-10-27 0:22 UTC (permalink / raw)
To: Gary Thomas; +Cc: Poky Project
On Wed, Oct 26, 2011 at 7:25 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> I've noticed this behaviour on my Poky/Yocto based systems.
> First, I format some device, in this case an MMC card, as ext3
> (yes, my kernel supports ext3)
> # mkfs.ext3 /dev/mmcblk0p1
> Then, when I go to mount it, I get this error:
> # mount /dev/mmcblk0p1 /tmp/disk
> EXT2-fs (mmcblk0p1): warning: mounting ext3 filesystem as ext2
>
> Any ideas why? How can I get ext3 file system working?
Sounds like once again the file mount uses to guess types is out of order.
I think it's part of base-files but I don't have a chance to check right now...
--
Tom
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Strange ext filesystem error
2011-10-27 0:22 ` Tom Rini
@ 2011-10-27 7:05 ` Anders Darander
2011-10-28 10:26 ` Gary Thomas
1 sibling, 0 replies; 6+ messages in thread
From: Anders Darander @ 2011-10-27 7:05 UTC (permalink / raw)
To: Poky Project; +Cc: Tom Rini
On 27 okt 2011, at 02:24, "Tom Rini" <tom.rini@gmail.com> wrote:
> On Wed, Oct 26, 2011 at 7:25 AM, Gary Thomas <gary@mlbassoc.com> wrote:
>> I've noticed this behaviour on my Poky/Yocto based systems.
>> First, I format some device, in this case an MMC card, as ext3
>> (yes, my kernel supports ext3)
>> # mkfs.ext3 /dev/mmcblk0p1
>> Then, when I go to mount it, I get this error:
>> # mount /dev/mmcblk0p1 /tmp/disk
>> EXT2-fs (mmcblk0p1): warning: mounting ext3 filesystem as ext2
>>
>> Any ideas why? How can I get ext3 file system working?
>
> Sounds like once again the file mount uses to guess types is out of order.
> I think it's part of base-files but I don't have a chance to check right now...
Yes, that's the case.
It's also out of order in upstream oe-core, as compared to the old oe-dev.
Cheers,
Anders
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Strange ext filesystem error
2011-10-27 0:22 ` Tom Rini
2011-10-27 7:05 ` Anders Darander
@ 2011-10-28 10:26 ` Gary Thomas
1 sibling, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2011-10-28 10:26 UTC (permalink / raw)
To: Tom Rini; +Cc: Poky Project
[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]
On 2011-10-26 18:22, Tom Rini wrote:
> On Wed, Oct 26, 2011 at 7:25 AM, Gary Thomas<gary@mlbassoc.com> wrote:
>> I've noticed this behaviour on my Poky/Yocto based systems.
>> First, I format some device, in this case an MMC card, as ext3
>> (yes, my kernel supports ext3)
>> # mkfs.ext3 /dev/mmcblk0p1
>> Then, when I go to mount it, I get this error:
>> # mount /dev/mmcblk0p1 /tmp/disk
>> EXT2-fs (mmcblk0p1): warning: mounting ext3 filesystem as ext2
>>
>> Any ideas why? How can I get ext3 file system working?
>
> Sounds like once again the file mount uses to guess types is out of order.
> I think it's part of base-files but I don't have a chance to check right now...
>
Looks like that's it, thanks. I think that list is completely wrong in
its ordering - one should always try to use the *most* capable type first.
The attached patch works fine and solves this problem for me.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
[-- Attachment #2: 0001-Reorder-file-system-list-so-that-most-capable-types-.patch --]
[-- Type: text/plain, Size: 792 bytes --]
From 8417dfee5cbdb1809296533604beb41dd599282e Mon Sep 17 00:00:00 2001
From: Gary Thomas <gary@mlbassoc.com>
Date: Fri, 28 Oct 2011 04:24:14 -0600
Subject: [PATCH] Reorder file system list so that most capable types are
tried first
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
---
.../recipes-core/base-files/base-files/filesystems | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-core/base-files/base-files/filesystems b/meta/recipes-core/base-files/base-files/filesystems
index 2af6a7e..14f5abb 100644
--- a/meta/recipes-core/base-files/base-files/filesystems
+++ b/meta/recipes-core/base-files/base-files/filesystems
@@ -1,7 +1,7 @@
-minix
-fat
-vfat
-ext2
ext3
+ext2
+vfat
+fat
btrfs
+minix
*
--
1.7.6.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-10-28 10:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26 14:25 Strange ext filesystem error Gary Thomas
[not found] ` <CAEsOVNejiifxREadD5-Lh6_MazhH1Qh1dgWg-nAw_e1yA8kTXA@mail.gmail.com>
2011-10-26 16:57 ` Gary Thomas
2011-10-26 17:25 ` Scott Garman
2011-10-27 0:22 ` Tom Rini
2011-10-27 7:05 ` Anders Darander
2011-10-28 10:26 ` Gary Thomas
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.