Linux RAID subsystem development
 help / color / mirror / Atom feed
From: CoolCold <coolthecold@gmail.com>
To: Linux RAID <linux-raid@vger.kernel.org>
Subject: repartitioning disks
Date: Tue, 17 May 2011 12:20:50 +0400	[thread overview]
Message-ID: <BANLkTim5A1HEiPrRMxiUFZ4PGuyc4pbG-Q@mail.gmail.com> (raw)

Wiki says: "Never NEVER never re-partition disks that are part of a
running RAID. If you must alter the partition table on a disk which is
a part of a RAID, stop the array first, then repartition. " -
https://raid.wiki.kernel.org/index.php/Tweaking,_tuning_and_troubleshooting#Pitfalls

Is it really true for situations like - I have 2x1Tb drives, which are
already partitioned like /dev/sd{a,b}1 - 500mb, /boot & /dev/sd{a,b}2
- 20gb, / and are assembled in RAID1 arrays md0 & md1 accordingly. So,
if I want to create one more RAID1 array , say md3 from the rest of
the drives.
So i take my cfdisk ,add new partition with some space 100-150mb from
the end, do write changes & partprobe the drives, then creating new
array.

Is it bad? To be honest i'm doing this all the time and can't
understand how this gonna hurt md. Neil and/or others, please clarify
this.


-- 
Best regards,
[COOLCOLD-RIPN]

             reply	other threads:[~2011-05-17  8:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17  8:20 CoolCold [this message]
2011-05-17 10:39 ` repartitioning disks NeilBrown
2011-05-17 12:31   ` CoolCold

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=BANLkTim5A1HEiPrRMxiUFZ4PGuyc4pbG-Q@mail.gmail.com \
    --to=coolthecold@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox