linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Is MD array (containing a PV) reducible?
@ 2023-10-02 16:03 Brian J. Murrell
  2023-10-02 18:49 ` Phillip Susi
  0 siblings, 1 reply; 11+ messages in thread
From: Brian J. Murrell @ 2023-10-02 16:03 UTC (permalink / raw)
  To: linux-lvm


[-- Attachment #1.1: Type: text/plain, Size: 752 bytes --]

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.


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-10-05 12:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-02 16:03 [linux-lvm] Is MD array (containing a PV) reducible? Brian J. Murrell
2023-10-02 18:49 ` Phillip Susi
2023-10-02 19:21   ` Brian J. Murrell
2023-10-02 20:02     ` grumpy
2023-10-02 20:48     ` Phillip Susi
2023-10-02 22:50       ` Brian J. Murrell
2023-10-02 23:37         ` Phillip Susi
2023-10-03 22:23           ` Brian J. Murrell
2023-10-04 13:18             ` Phillip Susi
2023-10-04 17:59               ` Brian J. Murrell
2023-10-05 12:16                 ` Phillip Susi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).