All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Robinson <john.robinson@anonymous.org.uk>
To: Sunpyo Hong <sunpyo.hong@amac.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid 5 Issue, cannot recognize EXT3 File system.
Date: Wed, 23 Sep 2009 15:42:43 +0100	[thread overview]
Message-ID: <4ABA33E3.4050403@anonymous.org.uk> (raw)
In-Reply-To: <200909230956588.SM01420@trainer>

On 23/09/2009 14:56, 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. 

If HD1 is really missing, and you've rebooted, then HD2 will now be sda, 
HD3 sdb, HD4 sdc, and your command is

#mdadm -Cv -level=5 --raid-disks=4 missing /dev/sda4 /dev/sdb4 /dev/sdc4

Cheers,

John.

  reply	other threads:[~2009-09-23 14:42 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 [this message]
2009-09-23 15:14                 ` Robin Hill
2009-09-23 15:50                   ` Sunpyo Hong
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=4ABA33E3.4050403@anonymous.org.uk \
    --to=john.robinson@anonymous.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=sunpyo.hong@amac.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 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.