linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Sunpyo Hong" <sunpyo.hong@amac.com>
To: 'Robin Hill' <robin@robinhill.me.uk>, linux-raid@vger.kernel.org
Subject: RE: Raid 5 Issue, cannot recognize EXT3 File system.
Date: Wed, 23 Sep 2009 11:50:46 -0400	[thread overview]
Message-ID: <200909231150891.SM02456@trainer> (raw)
In-Reply-To: <20090923151436.GB9409@cthulhu.home.robinhill.me.uk>

I was also very confused because when running the --create command, none of
the disks reported that it did not contain an ext2/3 filesystem. What does
that mean? Because when I contacted WD they told me the system was an ext3
filesystem.

-----Original Message-----
From: linux-raid-owner@vger.kernel.org
[mailto:linux-raid-owner@vger.kernel.org] On Behalf Of Robin Hill
Sent: Wednesday, September 23, 2009 11:15 AM
To: linux-raid@vger.kernel.org
Subject: Re: Raid 5 Issue, cannot recognize EXT3 File system.

On Wed Sep 23, 2009 at 09:56:52AM -0400, Sunpyo Hong wrote:

> I actually know the physical order of each HD. I was able to pull them out
> of the NAS in the order specified in the NAS. (Each HD enclosure was
> labeled) In the actual sata ports, this is what the hds are in.
> 
> SATA 0: HD1
> SATA 1: HD2
> SATA 2: HD3
> SATA 3: HD4
> SATA 4: CD-ROM
> 
> I think that linux reads the sata ports like.. 0 = sda, 1=sdb.. etc. So I
> assume that HD1 = /dev/sda (missing), HD2 = /dev/sdb, HD3 = /dev/sdc, HD4
=
> /dev/sdd so a create command should look like this:
> 
> #mdadm -Cv -level=5 --raid-disks=4 missing /dev/sdb4 /dev/sdc4 /dev/sdd4
> 
> This is exactly how I wrote the create command. Again I knew the physical
> order of the Raid and put them together in that order. Tell me if I'm
doing
> something wrong. 
> 
> I'll check out testdisk as well..
> 
The array order detected by the initial --assemble is (unless you have
incredibly strong reason to believe otherwise) most likely to be the
correct order, in which case the correct create command should be:
    mdadm -Cv -l 5 -n 4 /dev/sdd4 /dev/sdc4 /dev/sdb4 missing

I'd suggest re-creating the array in this order (ignoring the irrelevant
"physical" ordering) before attempting any other recovery.
Incidentally, does the --create command report that any of the disks
contain an ext2/3 filesystem? This is usually reported for one of the
drives.

However, given that the initially-assembled array failed to mount, I
suspect you're hosed, and that whatever the ShareSpace did in attempting
to rebuild the array has actually broken it completely.

Cheers,
    Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <robin@robinhill.me.uk> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |


  reply	other threads:[~2009-09-23 15:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17 21:54 Raid 5 Issue, cannot recognize EXT3 File system Sunpyo Hong
2009-09-17 22:09 ` Majed B.
2009-09-21 15:32   ` Sunpyo Hong
2009-09-21 15:56     ` Robin Hill
2009-09-21 16:14       ` Sunpyo Hong
2009-09-22  4:33         ` NeilBrown
2009-09-22 15:15       ` Sunpyo Hong
2009-09-22 15:23         ` Majed B.
2009-09-22 18:42           ` Sunpyo Hong
2009-09-23  0:14             ` Majed B.
2009-09-23  0:56               ` Guy Watkins
2009-09-23 13:56               ` Sunpyo Hong
2009-09-23 14:42                 ` John Robinson
2009-09-23 15:14                 ` Robin Hill
2009-09-23 15:50                   ` Sunpyo Hong [this message]
2009-09-25 16:35               ` Sunpyo Hong
  -- strict thread matches above, loose matches on Subject: below --
2009-09-17 20:20 Sunpyo Hong
2009-09-17 21:01 ` Robin Hill
2009-09-17 21:26   ` Majed B.
2009-09-17 21:46   ` Sunpyo Hong
2009-09-18  8:13     ` Robin Hill

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=200909231150891.SM02456@trainer \
    --to=sunpyo.hong@amac.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=robin@robinhill.me.uk \
    /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).