How to migrate data from one hard disk to another on the AIX platform

Source: Internet
Author: User

Platform:

F50: // # prtconf | grep "System Model"
System Model: IBM, 7043-260 System Version: F50:/# oslevel-R
4330-10 when a data hard disk is found to be faulty, You can migrate the data on this hard disk to the new hard disk. Take a hard disk (hdisk3) in the datavg_bak volume group as an example. F50:/# lspv
Hdisk0 00073394634a4b04 rootvg
Hdisk1 000d0903403fc899 rootvg
Hdisk2 0007240802b9cd85 datavg
Hdisk3 0058661ad5022760 datavg_bak
Hdisk4 00072408a833ba1a none 1. Add the new hard disk (hdisk4) to datavg_bak (because the data migration of the hard disk can only be performed in the same volume group) F50: // # extendvg datavg_bak hdisk4 2. Make sure that there is sufficient space in the new hard disk to store data in the source disk. F50:/# lspv hdisk3 | grep "used PPS"
Used PPS: 17 (2176 megabytes)
F50:/# lspv hdisk4 | grep "Free PPS"
Free PPS: 271 (34688 megabytes) ensure that the "free PPS" in the new hard disk is greater than the "used PPS" in the source disk ". 3. Execute data migration F50: // # migratepv hdisk3 hdisk4 Note: An error is returned when the RWA Type LV exists in the source disk. 4. Remove the source hard disk from the datavg_bak volume group F50: // # reducevg datavg_bak hdisk3 if the command fails due to a hard disk error, execute step 1. 5. manually delete # Mlv-l sourcedisknumber-d

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.