Yes, you'll need to resize the partition, first. The only way I've come up with to do this is to use fdisk to delete the partition and then recreate it at the exact same start location with the expanded end location (I always make sure I have backups of the contents before I do this - still makes me nervous even though I've done it a few dozen times). Save the new layout, then use pvresize to make LVM see the expanded size.|
From: Chris Edwards <cedwards smartechcorp net>
Reply-To: LVM general discussion and development <linux-lvm redhat com>
To: LVM general discussion and development <linux-lvm redhat com>
Subject: [linux-lvm] PVResize
Date: Wed, 19 Nov 2008 09:47:24 -0500
I just added some space to my iscsi storage and I am trying to get my LV to use it. I was wondering if anyone had some advice on how to expand that partition. I thought maybe pvresize would do it but it looks like I need to resize the partition first then run pvresize?
_______________________________________________ linux-lvm mailing list linux-lvm redhat com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.