public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Wol <antlists@youngman.org.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Unable to expand ext4 partition
Date: Sat, 5 Feb 2022 19:09:39 +0000	[thread overview]
Message-ID: <3f96451c-b7bd-d25b-903b-6ff0a5a48761@youngman.org.uk> (raw)
In-Reply-To: <Mv9z0HK--3-2@jroy.ca>

On 05/02/2022 17:43, Julien Roy wrote:
> Hello,
> 
> I've been running an LVM RAID 5 on my home lab for a while, and recently 
> it's been getting awfully close to 100% full, so I decided to buy a new 
> drive to add to it, however, growing an LVM RAID is more complicated 
> than I thought! I found very few documentation on how to do this, and 
> settled on following some user's notes on the Arch Wiki [0]. I should've 
> used mdadm !...
> My RAID 5 consisted of 3x6TB drives giving me a total of 12TB of usable 
> space. I am trying to grow it to 18TB now (4x6TB -1 for parity).
> I seem to have done everything in order since I can see all 4 drives are 
> used when I run the vgdisplay command, and lvdisplay tells me that there 
> is 16.37TB of usable space in the logical volume.
> In fact, running fdisk -l on the lv confirms this as well :
> Disk /dev/vgraid/lvraid: 16.37 TiB

If you'd been running mdadm I'd have been able to help ... my setup is 
ext4 over lvm over md-raid over dm-integrity over hardware...

But you've made no mention of lvgrow or whatever it's called. Not using 
lv-raid, I don't know whether you put ext straight on top of the raid, 
or do you need to grow the lv volume after you've grown the raid? I know 
I'd have to grow the volume.

Cheers,
Wol


  reply	other threads:[~2022-02-05 19:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-05 17:43 [gentoo-user] Unable to expand ext4 partition Julien Roy
2022-02-05 19:09 ` Wol [this message]
2022-02-05 19:37   ` Julien Roy
2022-02-05 22:02     ` Wols Lists
2022-02-05 22:16       ` Julien Roy
2022-02-05 23:04         ` Wol
2022-02-06  0:37           ` Julien Roy
2022-02-06  0:47             ` Mark Knecht
2022-02-06  8:12               ` Wols Lists

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=3f96451c-b7bd-d25b-903b-6ff0a5a48761@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /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