[Linux-cluster] Moving Physical extents from one PV to another in a clustered environement.

Elvir Kuric ekuric at redhat.com
Thu Dec 13 14:41:30 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 12/13/2012 03:33 PM, Nicolas Ross wrote:
>> Cant you just do a "vgchange -aey" to put the vg into exclusive mode?
>> Thats what used to be the way to do it. Its been a while though.
>>
>> On Dec 12, 2012 8:30 PM, "Yu" <songyu555 at gmail.com
>> <mailto:songyu555 at gmail.com>> wrote:
>>
>> Alternatively, you might try to import vg with
>> lickproto=lock_nolock, then do pvmove.
>>
>
> I'll try that, but with doing so, all LVs from the VG would have to be
> unmounted, and that's a problem for now. I think that I juste might be
> doing a new LV on the pv I want to move the data to and just rename the
> LV, it might be simpler for that situation...
>
> I'll ask GSS to see what would be the procedure in a clustered
> environement...
>
You will need to install 'cmirror' package(s),and start cmirror service
on all cluster nodes

# service cmirror start

After that pvmove should work

Here is some docs :

- ->
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/Logical_Volume_Manager_Administration/index.html#mirvol_create_ex

- -> https://access.redhat.com/knowledge/solutions/279583 ( eventual
error if cmirror is not running ) ...

but as you said, can you open case with GSS and get dedicated resource
for this question

Thank you

Kind regards,

- -- 
Elvir Kuric,TSE / Red Hat / GSS EMEA /
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iF4EAREIAAYFAlDJ6RQACgkQ8YYZ36KGw0PkHAD/aJ2/JPJrlWX4q/AbmVMImWKx
QgYOQumm7NGJqZb8PaoA/0Lgw2FY9DLBjK8fO4JYDmP/QggfSHq+tIXnmB4VfW2O
=f+k9
-----END PGP SIGNATURE-----




More information about the Linux-cluster mailing list