linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Is MD array (containing a PV) reducible?
Date: Mon, 02 Oct 2023 12:03:45 -0400	[thread overview]
Message-ID: <d667deb919722b147b4f78b3e00a6ce22a575f44.camel@interlinx.bc.ca> (raw)


[-- 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/

             reply	other threads:[~2023-10-02 16:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-02 16:03 Brian J. Murrell [this message]
2023-10-02 18:49 ` [linux-lvm] Is MD array (containing a PV) reducible? 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

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=d667deb919722b147b4f78b3e00a6ce22a575f44.camel@interlinx.bc.ca \
    --to=brian@interlinx.bc.ca \
    --cc=linux-lvm@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).