mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: linux-kernel@vger.kernel.org
Cc: linux-raid@vger.kernel.org, bug-parted@gnu.org,
	ataraid-list@redhat.com, xfs@oss.sgi.com
Subject: Re: How do I tell if my partition is aligned for a 64k/RAID-6?
Date: Thu, 25 Dec 2008 17:53:46 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.1.10.0812251753140.29925@p34.internal.lan> (raw)
In-Reply-To: <alpine.DEB.1.10.0812250821360.31386@p34.internal.lan>



On Thu, 25 Dec 2008, Justin Piszcz wrote:

> Output:
>
> ===============================================================================
>
> p34:~# parted /dev/sda print unit s print unit chs print
> Model: AMCC 9650SE-16M DISK (scsi)
> Disk /dev/sda: 13.0TB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
>
> Number  Start   End     Size    File system  Name  Flags
> 1      17.4kB  13.0TB  13.0TB  xfs
>
> Model: AMCC 9650SE-16M DISK (scsi)
> Disk /dev/sda: 25390350336s
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
>
> Number  Start  End           Size          File system  Name  Flags
> 1      34s    25390350302s  25390350269s  xfs
>
> Model: AMCC 9650SE-16M DISK (scsi)
> Disk /dev/sda: 1580476,53,56
> Sector size (logical/physical): 512B/512B
> BIOS cylinder,head,sector geometry: 1580476,255,63.  Each cylinder is 8225kB.
> Partition Table: gpt
>
> Number  Start   End            File system  Name  Flags
> 1      0,0,34  1580476,53,23  xfs
>
> p34:~#
>
> ===============================================================================
>
> I created a partition from 0Gb to 13T on the following LUN, but how do I 
> verify this is aligned to the (hardware) 64KiB raid-6 array?
>
> Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
> ------------------------------------------------------------------------------
> u0    RAID-6    OK             -       -       64K     12107.1   ON     ON
>
> ===============================================================================
>
> p34:~# xfs_info /dev/sda1
> meta-data=/dev/sda1              isize=256    agcount=12, agsize=268435455 
> blks
>         =                       sectsz=512   attr=2
> data     =                       bsize=4096   blocks=3173793783, imaxpct=5
>         =                       sunit=0      swidth=0 blks
> naming   =version 2              bsize=4096
> log      =internal               bsize=4096   blocks=32768, version=2
>         =                       sectsz=512   sunit=0 blks, lazy-count=0
> realtime =none                   extsz=4096   blocks=0, rtextents=0
>
> ===============================================================================
>
> I am not worried about the filesystem as the defaults usually get it right 
> but with parted, this is the first time I had to use it for home use and with 
> RAID-6 I am noticing slower performance with 15 disks (1 is a spare) in 
> RAID-6 (albeit slower 7200 ones, RE3s) than I was getting with 10 raptor150s 
> in RAID-6 (but I had used fdisk there).
>
> Justin.
>
>

Problem was barriers were enabled, that is why everything was slow but I 
would still like to know about the alignment.

Justin.

      reply	other threads:[~2008-12-25 22:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-25 13:31 Justin Piszcz
2008-12-25 22:53 ` Justin Piszcz [this message]

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=alpine.DEB.1.10.0812251753140.29925@p34.internal.lan \
    --to=jpiszcz@lucidpixels.com \
    --cc=ataraid-list@redhat.com \
    --cc=bug-parted@gnu.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=xfs@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®