1834571 Members
3938 Online
110069 Solutions
New Discussion

pvmove command question

 
Error_1
Occasional Advisor

pvmove command question

does the source and destination have to be same size

does the source and destination have to be in the same vg?

can the dest. be associated with an excisitng vg?

does it use rdsk or dsk?

Why is abbreviation such a long word?
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: pvmove command question

Hi:

'pvmove" requires that extents be moved *within the same* volume group.

The source and destination volumes (pv_paths) can be the same or can differ. In fact, in a multi-disk volume, if the destination is not specified, then *all* disks (except the source disk) are candidates as receipients of the moved extents.

Have a look at the man pages for 'pvmove' for more information.

Regards!

...JRF...
Michael Tully
Honored Contributor

Re: pvmove command question

Hi,

No, it is all dependant on size, and the
tyep of logical volumes being move that
are on this disk. This takes into
consideration the logical volume structure,
especially if it is strict, contiguous etc.

Yes the disks have to be in the same volume
group. Once a disk is committed to a group
it is not possible to move the disk and
it's logical volumes. It is only uses 'dsk'

Have a look at the man page for 'pvmove' for
a full explanation.

HTH
-Michael

Anyone for a Mutiny ?
Santosh Nair_1
Honored Contributor

Re: pvmove command question

The source and destination disks do not have to be the same size, but the destination disk should have enough free extents to accomodate the move.

The pvmove command only works with disks in the same VG and obviously the VG must exist for the command to work. It uses the block device, i.e. the /dev/dsk devices.

-Santosh
Life is what's happening while you're busy making other plans