linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: RAID 5 Whole Devices - Partition
Date: Tue, 30 May 2006 19:49:20 +0200	[thread overview]
Message-ID: <20060530174920.GG4022@percy.comedia.it> (raw)
In-Reply-To: <4e40e93e0605301008x34bc03dekb9a35952668e7a14@mail.gmail.com>

On Tue, May 30, 2006 at 08:08:03PM +0300, Michael Theodoulou wrote:
>Hello,
>
>I am trying to create a RAID5 array out of 3 160GB SATA drives. After
>i create the array i want to partition the device into 2 partitions.
>
>The system lies on a SCSI disk and the 2 partitions will be used for
>data storage.
>The SATA host is an HPT374 device with drivers compiled in the kernel.
>
>These are the steps i followed
>
>mdadm -Cv --auto=part /dev/md_d0 --chunk=64 -l 5 --raid-devices=3
>/dev/hde /dev/hdi /dev/hdk
>
>Running this command notifies me that there is an ext2 fs on one of
>the drives even if i fdisked them before and removed all partititions.
....
>Furthermore when i fdisk the drives after all of this i can see the 2
>partitions on /dev/hde and /dev/hdi but /dev/hdk shows that no
>partition exists. Is this a sign of data corruption or drive failure?
are you sure you removed all partitions before creating the md

>Shouldnt all 3 drives show the same partition information?
the drives should not contain any partition information.
(well actually the first will show an invalid partition table, since the
partition of the mdp array will be written exactly at the beginning of
the first raid disk.

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

  reply	other threads:[~2006-05-30 17:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 17:08 RAID 5 Whole Devices - Partition Michael Theodoulou
2006-05-30 17:49 ` Luca Berra [this message]
2006-05-30 19:25   ` Michael Theodoulou
2006-05-30 23:48 ` Neil Brown

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=20060530174920.GG4022@percy.comedia.it \
    --to=bluca@comedia.it \
    --cc=linux-raid@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).