From: Phillip Susi <psusi@ubuntu.com>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: Shrinking raid array
Date: Tue, 12 Feb 2013 14:13:53 -0500 [thread overview]
Message-ID: <511A9471.7070405@ubuntu.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1302121942490.32644@uplift.swm.pp.se>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/12/2013 1:43 PM, Mikael Abrahamsson wrote:
> On Tue, 12 Feb 2013, Phillip Susi wrote:
>
>> You move the superblock, then shrink the partition...
>
> As far as I know, mdadm has no code to shrink partitions?
Of course not, you would use fdisk or parted or whatever else to do that.
>> But it looks like mdadm doesn't move the superblock even though
>> it no longer is using the full partition.
>
> I think that is perfectly reasonable. Otherwise the superblock
> wouldn't be found next time if the partition wasn't resized.
Yes, but the way it is now the superblock won't be found if the
partition *is* resized. What is the use of reducing the amount of the
partition mdadm is using if you can't then shrink the partition itself?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJRGpRxAAoJEJrBOlT6nu750k8IAMwCbeO6rhWP+6pg0nPmgeyI
HM5E1X9bJTqV9MfmvSKYjL8QBp6flYqd0bm++lbeOxFiujxKQ5QVSHIF8no6psVe
wLLeGy3ltFJ41QnuQAIf2YwR0jhUAd2Wxoeqwq7pnGnSVb8er3Y2ACuj7SNN7SwL
pe8DbrUQGpDydnLSH/Rzj/ioQ8BtWt6Uq/xZ8+3j5t3pqAJGmdnQroRJJ6W+0oKN
IwK7IK0SVP8fExSjDM2Lo3YfFXfgpan81GADNwYo5ZwEtPTfxvcuXrGVLbjXyN4o
Ae6DAMpNihSDKzTXvpPqnzimqpMDtue01zQQdDgkYfcheoQ1DsHnfO8aCnS/mIg=
=i9j8
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2013-02-12 19:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-12 15:52 Shrinking raid array Phillip Susi
2013-02-12 16:39 ` Phillip Susi
2013-02-12 17:53 ` Mikael Abrahamsson
2013-02-12 18:11 ` Phillip Susi
2013-02-12 18:43 ` Mikael Abrahamsson
2013-02-12 19:13 ` Phillip Susi [this message]
2013-02-13 5:12 ` Mikael Abrahamsson
2013-02-13 5:17 ` Mikael Abrahamsson
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=511A9471.7070405@ubuntu.com \
--to=psusi@ubuntu.com \
--cc=linux-raid@vger.kernel.org \
--cc=swmike@swm.pp.se \
/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.