All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Muniz <sjmuniz@gmail.com>
To: lists@yazzy.org
Cc: linux-raid@vger.kernel.org
Subject: Re: Creating an md with 3TB drives.
Date: Wed, 05 Oct 2011 19:25:23 -0300	[thread overview]
Message-ID: <4E8CD953.8030902@gmail.com> (raw)
In-Reply-To: <4E82D53F.3050409@yazzy.org>


On 9/28/2011 5:05 AM, Marcin M. Jessa wrote:

> # 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
>
I run into something similar working with 2Terabytes disks.
I had to use % instead o sizes.
Eg:
(parted) mkpart
Partition name?  []? 1
File system type?  [ext2]?
Start? 0
End? 100%
(parted) set 1
Flag to Invert? raid
New state?  [on]/off? on

I think the "primary" concept is for DOS 3.3 partition tables and might 
not apply here.
Please, correct if I am wrong.
THanks
Sebastian

  parent reply	other threads:[~2011-10-05 22:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-28  8:05 Creating an md with 3TB drives Marcin M. Jessa
2011-09-28  8:23 ` 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 [this message]
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=4E8CD953.8030902@gmail.com \
    --to=sjmuniz@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=lists@yazzy.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.