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