Yes, you can use migratepv to move the lvs from one hdisk to another, but the new disk must be part of the same volume also.
Another command you might want to consider is cplv.
when using any of the migrate commands (migratepv, migratelp), mirrors are created, then the lvs are resynchronized and then the orginal lvs are removed. You will also need to reassign the dump device using sysdumpdev when using the migratepv.
To avoid this, you can use the cplv, although the new hdisk will also need to be a part of the volume group and your limited to copying each lv one by one.
To avoid using cplv (which does span filesystems as Aixqueen so rightly said) and hacking /etc/filesystems to add in the filesystem stanza, you could do an interactive copy.
i.e. on hdisk5
create a filesystem called transfer, mount it up...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.