Thread (8 messages) 8 messages, 2 authors, 2013-02-13

Re: Shrinking raid array

From: Phillip Susi <hidden>
Date: 2013-02-12 19:13:53

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/12/2013 1:43 PM, Mikael Abrahamsson wrote:
On Tue, 12 Feb 2013, Phillip Susi wrote:
quoted
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.
quoted
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-----
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help