All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marcin M. Jessa" <lists@yazzy.org>
To: linux-raid@vger.kernel.org
Subject: Creating an md with 3TB drives.
Date: Wed, 28 Sep 2011 10:05:19 +0200	[thread overview]
Message-ID: <4E82D53F.3050409@yazzy.org> (raw)

Hi guys.


I have two 3TB drives and I want to set them up as RAID0.
The problem is I can't use all of the space on them.
I only get 4TB of the 6 in total.

What I tried was:
# parted /dev/sde
GNU Parted 2.3
Using /dev/sde
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)  mklabel gpt
Warning: The existing disk label on /dev/sde will be destroyed and all 
data on this disk will be lost. Do you want
to continue?
Yes/No? yes
(parted) mkpart primary 0 -0
Warning: The resulting partition is not properly aligned for best 
performance.
Ignore/Cancel? ignore
(parted) print
Model: ATA Hitachi HDS72303 (scsi)
Disk /dev/sde: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name     Flags
  1      17.4kB  3001GB  3001GB               primary

(parted) quit

Then I used fdisk to change the partition type to Linux raid auto

Finally I ran
mdadm --create /dev/md2 --level=0 --raid-devices=2 /dev/sdd1 /dev/sde1

but mdadm -QD /dev/md2 shows 2TBs are gone.
Array Size : 4294964224 (4096.00 GiB 4398.04 GB)

What to do in this case? How can I a 6TB raid array ?




-- 

Marcin M. Jessa

             reply	other threads:[~2011-09-28  8:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-28  8:05 Marcin M. Jessa [this message]
2011-09-28  8:23 ` Creating an md with 3TB drives NeilBrown
2011-09-28  8:31   ` Marcin M. Jessa
2011-09-28  8:43     ` David Brown
2011-09-28 15:09       ` Marcin M. Jessa
2011-09-29  9:09         ` David Brown
2011-09-29  9:23           ` Marcin M. Jessa
2011-09-29 11:18             ` David Brown
2011-10-05 22:25 ` Sebastian Muniz
2011-10-05 23:20   ` Jérôme Poulin

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=4E82D53F.3050409@yazzy.org \
    --to=lists@yazzy.org \
    --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 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.