We are running SAP with Informix database. We have 2 small datavgs (datavg1=34GB; datavg2=74GB) that holds informix raw devices. Each datalv raw device (lv) is 2GB. I want to transfer them to a new and bigger datavg (datavg3=130GB). I can not do this by mirroring since the vgs have different PP sizes. So I am planning to use cplv. This is how I plan to do the procedure:
1. Shutdown the database.
2. make a copy of all datalvs:
cplv -y sapdatan datavg3 datalvn --> n = lv number
3. unlink all links to the raw devices:
unlink /informix/SID/sapdata/datan
4. link the new lvs:
ln -s /dev/rsapdatan /informix/SID/sapdata/datan
5. Start the database.
Is this the correct way to achieve this?
1. Shutdown the database.
2. make a copy of all datalvs:
cplv -y sapdatan datavg3 datalvn --> n = lv number
3. unlink all links to the raw devices:
unlink /informix/SID/sapdata/datan
4. link the new lvs:
ln -s /dev/rsapdatan /informix/SID/sapdata/datan
5. Start the database.
Is this the correct way to achieve this?