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.
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.