All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: Benjammin2068 <benjammin2068@gmail.com>
Cc: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: Best tool to partition Drives with new sector geometry - (WAS: Need Help with crashed RAID5 (that was rebuilding and then had SATA error on another drive))
Date: Sun, 18 Sep 2016 11:50:38 -0600	[thread overview]
Message-ID: <CAJCQCtQAazjCmXfSgbcJNDxtM2pHRcqbmEo1j=Og-dQRPEAzaQ@mail.gmail.com> (raw)
In-Reply-To: <e6180f36-f246-b4ad-ef53-8012e583b09e@gmail.com>

On Sun, Sep 18, 2016 at 11:13 AM, Benjammin2068 <benjammin2068@gmail.com> wrote:
> In a followup question to my arrays, I have a question about the new WDs with the larger sector size geometry but support 512B sectors.
>
> I bought some WD Reds (WD10EFRX) drives.
>
> When I let the linux "Disk Utility" (palimpest <- who the heck named that anyway?) do the RAID management with a new drive, it partitions on cyls and not sectors.
>
> So it makes a partition and then complains to me it's off by 512bytes which could affect performance.

This is one of the dumbest things, haha. I do not for the life of me
understand what distribution won't backport this, if they're unwilling
to put modern tools for modern hardware in their distributions. It's
one of the simplest, safest backports they could do and yet they
don't. Incredible to me.

Anyway, yeah partition with something not from the Pleistocene.
Seriously, it's that old, it's that much of a solved problem, for
probably 5 years, maybe even longer.

Any version of gdisk will do this correctly out of the box, so you can
just install that from your existing old distro presumably. And if you
can't, then get a recent live CD from pretty much anybody: Fedora 23
or Fedora 24 has gdisk already on the media, and its version of parted
and fdisk, also included, all do alignment to 4KiB sectors correctly.

Actually, on either Fedora live media version you can do

dnf install https://kojipkgs.fedoraproject.org//packages/blivet-gui/2.0.1/1.fc25/noarch/blivet-gui-2.0.1-1.fc25.noarch.rpm

Which is the current version, and it will work on F24 for sure and
maybe/probably F23 also. And dnf will sort out any additional
dependencies needed. It has a similar gparted style UI, but it will do
all kinds of wild things: mdadm raid, LVM raid, Btrfs. It'll create
the partitions, RAID, LV's, file systems, and it will discover things
already on the drive and properly wipe their signatures with a proper
tear down before creating the new things. So you don't end up with
crusty old stuff coming back to haunt you some other day.

-- 
Chris Murphy

  reply	other threads:[~2016-09-18 17:50 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-22 21:51 Need Help with crashed RAID5 (that was rebuilding and then had SATA error on another drive) Ben Kamen
2016-08-22 23:06 ` Adam Goryachev
2016-08-23 11:36   ` Wols Lists
2016-08-23 15:44     ` Ben
     [not found]   ` <CADDTLRBf9NPO6OuF4a3b+xffZgeZRqHRG+pJdPmbc9-Jat0HVQ@mail.gmail.com>
     [not found]     ` <d6d3fe0d-3f9f-985f-9bfb-051428cf221b@websitemanagers.com.au>
     [not found]       ` <57BBDA5B.3020706@gmail.com>
     [not found]         ` <57BBDC15.5030301@gmail.com>
     [not found]           ` <b8c6a380-7e6a-fda9-5834-b85271b26892@websitemanagers.com.au>
     [not found]             ` <57BC61F7.8070102@gmail.com>
     [not found]               ` <aca4e83f-9a3f-c200-7c16-3b5d9df52c1e@websitemanagers.com.au>
     [not found]                 ` <57BE450B.4030700@gmail.com>
     [not found]                   ` <56e86db5-456d-e9c1-339d-ba8903fe5dde@websitemanagers.com.au>
     [not found]                     ` <57BE52BC.6040908@gmail.com>
     [not found]                       ` <933228e0-bce4-ffad-f48d-034bf89bc07f@websitemanagers.com.au>
2016-08-26  1:20                         ` Ben
2016-08-26  2:22                           ` Phil Turmel
2016-08-26  2:54                             ` Benjammin2068
2016-08-26 12:38                               ` Phil Turmel
2016-08-26 18:07                           ` Wols Lists
2016-08-28 18:29                             ` Benjammin2068
2016-08-28 19:20                               ` Anthony Youngman
2016-08-29  1:23                                 ` Benjammin2068
2016-08-28 23:54                               ` Adam Goryachev
2016-08-29  1:25                                 ` Benjammin2068
2016-08-29 11:19                                   ` Wols Lists
2016-09-18 17:13                                     ` Best tool to partition Drives with new sector geometry - (WAS: Need Help with crashed RAID5 (that was rebuilding and then had SATA error on another drive)) Benjammin2068
2016-09-18 17:50                                       ` Chris Murphy [this message]
2016-09-18 18:41                                         ` Benjammin2068
2016-09-18 19:17                                           ` Wols Lists
2016-09-18 19:58                                             ` Benjammin2068
2016-09-18 21:21                                               ` Wols Lists
2016-09-18 21:29                                                 ` Benjammin2068
2016-09-19  6:25                                                   ` Wols Lists
2016-09-19 16:17                                                     ` Benjammin2068
2016-09-18 18:08                                       ` Benjammin2068

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='CAJCQCtQAazjCmXfSgbcJNDxtM2pHRcqbmEo1j=Og-dQRPEAzaQ@mail.gmail.com' \
    --to=lists@colorremedies.com \
    --cc=benjammin2068@gmail.com \
    --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.