linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Srinivasa Hebbar <sshebbar@gmail.com>
To: Linuxppc-embedded@ozlabs.org
Cc: sshebbar@yahoo.com
Subject: e2fsck error on compact flash.
Date: Sat, 19 Aug 2006 16:00:08 +0530	[thread overview]
Message-ID: <200608191600.09050.sshebbar@gmail.com> (raw)

Hello,

Problem: 
e2fsck is unable to determine the size of the physical device on a compact flash.
/dev/hda is a compact flash disk with 4 partitions. (3primary+1extended).
ls -l /dev/hda* shows all the devices. 

If I mount any partition on /dev/hda* to /tmp/tmp
(for eg: /dev/hda1 to /tmp/tmp) and run e2fsck
on /dev/hda3 (or any other), e2fsck runs fine without problem.

All 4 partitions on the CF disk are ext3.

The output of the commands are below.

Any help is appreciated.

Thanks,
Hebbar.


# e2fsck -v /dev/hda3
e2fsck 1.38 (30-Jun-2005)
Error determining size of the physical device: No such file or directory

# ls -l /dev/hda*
brw-rw----    1 0        0          3,   5 /dev/hda5
brw-rw----    1 0        0          3,   4 /dev/hda4
brw-rw----    1 0        0          3,   3 /dev/hda3
brw-rw----    1 0        0          3,   2 /dev/hda2
brw-rw----    1 0        0          3,   1 /dev/hda1
brw-rw----    1 0        0          3,   0 /dev/hda

#mount -t ext3 /dev/hda1 /tmp/tmp

# e2fsck -v /dev/hda3
e2fsck 1.38 (30-Jun-2005)
/dev/hda3 has been mounted 21 times without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

                 reply	other threads:[~2006-08-19 10:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200608191600.09050.sshebbar@gmail.com \
    --to=sshebbar@gmail.com \
    --cc=Linuxppc-embedded@ozlabs.org \
    --cc=sshebbar@yahoo.com \
    /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;
as well as URLs for NNTP newsgroup(s).