From: "Daniel Korstad" <dan@korstad.net>
To: linux-raid@vger.kernel.org
Subject: FW: [slightly OT] expanding lvm volume group after growing raid5 array
Date: Thu, 19 Apr 2007 10:21:27 -0500 [thread overview]
Message-ID: <1391903588.1176996087946.JavaMail.root@gateway.korstad.net> (raw)
I have used lv with my past raid sets and it is very nice, adds some flexibility.
I have also done a RAID5 reshape that was in an lv. Unfortunately, at the time I had an older LVM version that did not support pvresize. So I was stuck with a larger RAID set and my lv would not take advantage of it.
I think I needed LVM version 2.02.06 to solve that and get the pvresize feature. If you are running a relatively new disto that won't be an issue any more. I think I had FC3 or 4.
To get the extra space over to your filesystem, there are a couple steps in between that you need to do with the LVs.
You need to pvresize the physical volume, than the volume group will have a larger capacity than resize/reallocate the new capacity to the logical volume, than you can resize your file system inside the logical volume.
----- Inline Message Follows -----
To: linux-raid@vger.kernel.org
From: Gavin McCullagh
Subject: [slightly OT] expanding lvm volume group after growing raid5 array
Hi Folks,
I recently upgraded all four disks of a RAID5 array and then used "mdadm
--grow" to grow the raid array into the new bigger partitions available to
it and ran resize2fs. Lovely.
However, I've just tried this again on a similar machine and have grown the
array. However, I've just noticed that the RAID5 array has an lvm volume
group on it with two logical volumes on that. So now, I'd like to grow the
volume group so I can grow one of the logical volumes and grow the
filesystem therein.
I realise this is the raid group but has anyone come across how to do this?
Gavin
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev reply other threads:[~2007-04-19 15:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-19 11:35 [slightly OT] expanding lvm volume group after growing raid5 array Gavin McCullagh
2007-04-19 15:21 ` Daniel Korstad [this message]
2007-04-19 15:51 ` FW: " Gavin McCullagh
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=1391903588.1176996087946.JavaMail.root@gateway.korstad.net \
--to=dan@korstad.net \
--cc=linux-raid@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).