Is MD array (containing a PV) reducible?

"Brian J. Murrell" <[email protected]>
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
Hi.

Just hoping to get a sanity check here.  I have a PV on an mdadm raid
array.  the PV's size is:

  PV Size               3.64 TiB / not usable 2.84 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              953829
  Free PE               35813
  Allocated PE          918016

The mdadm array's size is:
        Array Size : 3,906,887,512 (3.64 TiB 4.00 TB)
     Used Dev Size : 3,906,887,512 (3.64 TiB 4.00 TB)

I can shrink this array down to 3,906,886,464 without impacting the PV
(and it's contents) correct?

From my calculations there is 4,022,272 bytes of unused space after the
PV to the end of the array so shrinking it by 1,073,152 shouldn't have
any impact, correct?

Cheers,
b.

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEE8B/A+mOVz5cTNBuZ2sHQNBbLyKAFAmUa6eEACgkQ2sHQNBbL
yKA2yQf/TaGhmRPfrt9drdo6Q7WaYIRC5IaCwm0isXYKOxOi3fTW90Fou9iigfDg
uFYSofcZO+HVtZW6rekHI+mnOW0grOyf0Xb15wypuukuxh9iCjx8K9eEsnG6JYqe
W1AtH4Ofh+WgFTU96zIEB52TwgfH6nX6EHU97vf6btyGmVjvZDDyk1k7NC1xwwgs
Jq8YJGTSZUBhQ6jQPzZ7o7dhBrfd0Ej73j1Aea5E7RJ5poWItJj/b/BM837RK0Mj
I+O21VyZAV6zPizQKmTFGM6V8enkbSP1nlQiLp3GMfHCpTIXJc8ss8fV/kNXv0PH
9gM9+tjuhS16/7l7J1iIpO5f5SFr6Q==
=o3O1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.