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!

Moving raw volumes

Status
Not open for further replies.

phorbiuz

Technical User
Jul 22, 2004
67
0
0
GB
Any suggestions on the best way to move some raw volumes?

While doing TL level upgrades I've come across an lpar that has 2 volume groups, rootvg and appvg, but a lot of raw volumes that should be in appvg are in the rootvg. Apparantly this was done as a short-term gap until appvg was expanded and then forgotten about...

The volume names and data have to remain the same.

If this was normal filesystem stuff I'd just back them up using native commands, wipe the volumes in rootvg, recreate them in appvg, then restore the data. I'm not aware of anything native to back up individual raw volumes.

This is what I have to move:

# lsvg -l rootvg | grep raw
fqadb0 raw 32 32 1 open/syncd N/A
fqadb1 raw 16 16 1 open/syncd N/A
fqadb2 raw 16 16 1 open/syncd N/A
fqadb3 raw 16 16 1 open/syncd N/A
fqadb4 raw 16 16 1 open/syncd N/A
fqadb5 raw 32 32 1 open/syncd N/A
fqadbtemp0 raw 8 8 1 open/syncd N/A
fqadbtemp1 raw 8 8 1 open/syncd N/A
fqadbtemp2 raw 8 8 1 open/syncd N/A
fqaloglog raw 32 32 1 open/syncd N/A
fqaphylog raw 4 4 1 open/syncd N/A
fqadbtemp3 raw 8 8 1 closed/syncd N/A
fqarootdbs raw 4 4 1 open/syncd N/A
qa2db0 raw 32 32 1 closed/syncd N/A
qa2db1 raw 16 16 1 closed/syncd N/A
qa2db2 raw 16 16 1 closed/syncd N/A
qa2db3 raw 16 16 1 closed/syncd N/A
qa2db4 raw 16 16 1 closed/syncd N/A
qa2db5 raw 32 32 1 closed/syncd N/A
qa2dbtemp0 raw 8 8 1 closed/syncd N/A
qa2dbtemp1 raw 8 8 1 closed/syncd N/A
qa2dbtemp2 raw 8 8 1 closed/syncd N/A
qa2loglog raw 32 32 1 closed/syncd N/A
qa2phylog raw 4 4 1 closed/syncd N/A
qa2rootdbs raw 4 4 1 closed/syncd N/A

Thanks.
 
have you considered dd command?

I don't know in cplv will work as well if your raw LVs have overwritten LVCB... but dd would do the job I think (just to create new LVs in appvg to use the as the destination (of= in dd command)

Try it first on your test env.
 
hi,

Use sysback to backup and restore raw logical volumes. It is safe and easy to use

Regards

Polani

Here comes polani Once again!!!

See my personal blogs at
for unique solutions and tips on AIX, Linux,Storage and TSM.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top