Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

migratepv

Status
Not open for further replies.

alexia32

Technical User
Jul 31, 2007
156
0
0
NZ
Hello

stupid question but on hacmp env, I need to move some lv to new disks.
I have added the new disk to ha using cspoc. all good.
I suppose now i just need to use standard command migratepv -l to move the raw lv to the specific disks ?

Tx
Al
 
the C-SPOC's /usr/sbin/cluster/cspoc/smitlvm command supports:

# $1 = '-1' cl_chlv
# '-2' cl_chfs
# '-3' (namehdr for chlv)
# '-4' (namehdr for chfs)
# '-5' (namehdr) returns RGNAME:NAME
# '-6' cl_lslv
# '-7' cl_chlv dialog
# '-8' cl_rmlv
# '-9' cl_rmfs
# '-10' cl_chfs
# '-11' cl_lspvsmit
# '-12' cl_extendvg
# '-13' cl_reducevg
# '-14' cl_importvg
# '-15' cl_mirrorvg
# '-16' cl_unmirrorvg
# '-17' cl_mklv
# '-18' cl_extendlv
# '-19' cl_mklvcopy
# '-20' cl_rmlvcopy
# '-21' cl_syncvg
# '-22' (namehdr for disks) returns NODE:HDISK NAMES
# '-23' cl_lsfreedisks


I think you can try with cl_mklvcopy and after successfull cl_rmlvcopy from old disk. (I think it will work even if the LVCB is overwritten in your raw vlume (LV).)

Test it first somewhere on test env.
 
Thanks but I don;t have a test machine and it is real production.
I suppose migratepv should do it as it doesn't say anywhere we can;t use it.
the disks are configured HA...
Cheers
Al
 
I check again the man migratepv and see
"For concurrent mode volume groups migratepv can only be used while active in enhanced concurrent mode"
so I suppose it will work
I have a enhance concurrent VG (HA) with raw lv.
Too bad IBM can;t say HACMP support migratepv on bla bla bla...

Anyway if you have any information let me know

Cheers
Al.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top