From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] Problem with disk: cannot mount as ext3 but can as ext2
Date: Mon, 9 Oct 2006 15:56:16 -0700 [thread overview]
Message-ID: <7573e9640610091556p6dbd859fy1a8ba318f1f0b441@mail.gmail.com> (raw)
In-Reply-To: <20061008090333.GA7536@Phoebe.thesee.dyndns.org>
On 10/8/06, gregory.sacre@gmail.com <gregory.sacre@gmail.com> wrote:
> | In some cases useful info is found in syslog - try
> | dmesg | tail or so
This was good advice....
> | # fsck.ext3 -p /dev/hdd
> | fsck.ext3: Bad magic number in super-block while trying to open /dev/hdd
> | /dev/hdd:
Should have used /dev/hdd1 here....
> | # e2fsck -b 8193 /dev/hdd
> | e2fsck 1.39 (29-May-2006)
> | e2fsck: Bad magic number in super-block while trying to open /dev/hdd
...and here...
> ext2... and it worked!!! I tried then to mount it normally, not
> anymore as read-only with ext2 format... and it worked!!!
> So my first question is: how come?
Possibly a disk error on the blocks that would normally be reserved
for the ext3 journal...
> | /dev/hdd1: Attempt to read block from filesystem resulted in short
> read while reading block 525
> |
> | /dev/hdd1: Attempt to read block from filesystem resulted in short
> read reading journal superblock
...which is sort of what this message says.
> Is there anything wrong with my hardware? Is it a super-block problem?
> Is there a way to solve it?
First, check the dmesg output after running "fsck.ext3 /dev/hdd1".
That may show read errors on the disk, and if so, I'm guessing those
blocks are now bad. You can also use smartctl (emerge smartmontools)
to query the SMART information from the drive, or to run a SMART
self-test of the disk.
I believe you can also convert the filesystem to ext2, with "tune2fs
-O ^has_journal /dev/hdd1". This should allow you to run fsck.ext2 on
the filesystem, to check it for other consistency errors.
-Richard
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2006-10-09 23:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-08 9:03 [gentoo-user] [OT] Problem with disk: cannot mount as ext3 but can as ext2 gregory.sacre
2006-10-09 22:56 ` Richard Fish [this message]
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=7573e9640610091556p6dbd859fy1a8ba318f1f0b441@mail.gmail.com \
--to=bigfish@asmallpond.org \
--cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox