You don't have to worry about larger pv's and pvmove. Just add the larger
pv's to the VG, and do a pvmove -v old-dying-pv. This will move all the
extents from the old pv to the new, and you don't even need to unmount the
filesystem. We did this yesterday on a mounted and running Postgres server.
The server didn't even noticed...

The involved pv's don't need to have the same size, but the new pv must be
the at least the same size or larger than the older.

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


2014-07-31 13:33 GMT-03:00 Smith, Ann (CTO Service Delivery) <
[email protected]>:

> Looks like the lun sizes on the new san will be much larger.
> Easier for new fileystems - fewer pieces/parts (pv's)
>
> Makes  pvmove's more cumbersome though
> Maybe that why some other folks are using lvconvert's
> Doing moves at lv level
>
> Hmmmmm what to do
>
> Ann Smith
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
> Mark Post
> Sent: Tuesday, July 29, 2014 1:45 PM
> To: [email protected]
> Subject: Re: Methods for migrating to new storage hardware
>
> >>> On 7/29/2014 at 01:40 PM, "Smith, Ann (CTO Service Delivery)"
> <[email protected]> wrote:
> > Looking at lvconvert but wondering how to handle /etc/fstab updates.
>
> If you use pvmove, there won't be any changes needed to fstab.  All of the
> data gets moved at the physical layer, and the logical layer that is
> visible to things like mount don't change.
>
>
> Mark Post
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send
> email to [email protected] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit http://wiki.linuxvm.org/
>
> ************************************************************
> This communication, including attachments, is for the exclusive use of
> addressee and may contain proprietary, confidential and/or privileged
> information.  If you are not the intended recipient, any use, copying,
> disclosure, dissemination or distribution is strictly prohibited.  If you
> are not the intended recipient, please notify the sender immediately by
> return e-mail, delete this communication and destroy all copies.
> ************************************************************
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to