Hi, I've recently added a new disk and have been using pvmove to reorganise the logical volumes. All went well until moving an active 372GB physical volume onto the new disk. Now pvmove is stuck at 75.1% and refuses to progress any further: # pvmove /dev/hda1 /dev/hdd Detected pvmove in progress for /dev/hda1 Ignoring remaining command line arguments /dev/hda1: Moved: 75.1% /dev/hda1: Moved: 75.1% /dev/hda1: Moved: 75.1% /dev/hda1: Moved: 75.1% ... ad infinitum (I left it going overnight) Restarting pvmove has no effect, and I can't find any clues anywhere (including syslog) as to what is up. The logical volumes are mounted and in use (and NFS exported), but I believe none of that should matter, and so were some of the others I moved earlier that worked. I've attached the output of pvmove -vvd and lvdisplay -m in case that helps. Any advice on how to fix this or debug it gratefully received. Cheers, Martin.
--- Logical volume --- LV Name /dev/vg_hordein_bak/root VG Name vg_hordein_bak LV UUID r6rGXT-WOY5-d7co-KbHE-LmAc-V1ux-xFmarq LV Write Access read/write LV Status available # open 0 LV Size 10.00 GB Current LE 160 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:0 --- Segments --- Logical extent 0 to 159: Type linear Physical volume /dev/hdb2 Physical extents 0 to 159 --- Logical volume --- LV Name /dev/vg_hordein_bak/backup VG Name vg_hordein_bak LV UUID PjMSKH-qRyF-WfrB-WOA5-fCCK-39gM-yyEGKm LV Write Access read/write LV Status available # open 1 LV Size 248.81 GB Current LE 3981 Segments 2 Allocation inherit Read ahead sectors 0 Block device 253:1 --- Segments --- Logical extent 0 to 3199: Type linear Physical volume /dev/hdb2 Physical extents 176 to 3375 Logical extent 3200 to 3980: Type linear Physical volume /dev/hdb2 Physical extents 4336 to 5116 --- Logical volume --- LV Name /dev/vg_hordein_bak/tmp VG Name vg_hordein_bak LV UUID VwK0Se-miJ8-1cOV-L8uQ-SGni-UgjA-2fyC4j LV Write Access read/write LV Status available # open 0 LV Size 20.00 GB Current LE 320 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:2 --- Segments --- Logical extent 0 to 319: Type linear Physical volume /dev/hdb2 Physical extents 5117 to 5436 --- Logical volume --- LV Name /dev/vg_hordein/audio VG Name vg_hordein LV UUID i9L0WJ-nNvx-vIl0-oXzU-qmtO-Z82s-wSeGSS LV Write Access read/write LV Status available # open 1 LV Size 180.00 GB Current LE 2880 Segments 2 Allocation inherit Read ahead sectors 0 Block device 253:3 --- Segments --- Logical extent 0 to 2719: Type linear Logical volume pvmove0 Logical extents 0 to 2719 Logical extent 2720 to 2879: Type linear Logical volume pvmove0 Logical extents 2720 to 2879 --- Logical volume --- LV Name /dev/vg_hordein/video VG Name vg_hordein LV UUID tBAfcE-INrd-6Apw-9Sm8-WfyE-F4SM-Tg1LCJ LV Write Access read/write LV Status available # open 1 LV Size 307.75 GB Current LE 4924 Segments 3 Allocation inherit Read ahead sectors 0 Block device 253:4 --- Segments --- Logical extent 0 to 1599: Type linear Logical volume pvmove0 Logical extents 2880 to 4479 Logical extent 1600 to 3080: Type linear Logical volume pvmove0 Logical extents 4480 to 5960 Logical extent 3081 to 4923: Type linear Physical volume /dev/sda2 Physical extents 1136 to 2978 --- Logical volume --- LV Name /dev/vg_hordein/recording VG Name vg_hordein LV UUID NAPzsw-gZZf-QHV9-vJbQ-4Kk5-u6dH-2PYCUJ LV Write Access read/write LV Status available # open 1 LV Size 120.00 GB Current LE 1920 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:5 --- Segments --- Logical extent 0 to 1919: Type linear Physical volume /dev/sdb Physical extents 0 to 1919 --- Logical volume --- LV Name /dev/vg_hordein/root VG Name vg_hordein LV UUID R1y64w-TTj3-ySJv-4FWM-GlgZ-72Eb-EMbTNd LV Write Access read/write LV Status available # open 1 LV Size 10.00 GB Current LE 160 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:6 --- Segments --- Logical extent 0 to 159: Type linear Physical volume /dev/sda2 Physical extents 0 to 159 --- Logical volume --- LV Name /dev/vg_hordein/swap VG Name vg_hordein LV UUID dwX5yR-GCFH-WKNr-DHoR-vKEa-I7JN-KTwJE6 LV Write Access read/write LV Status available # open 1 LV Size 1.00 GB Current LE 16 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:7 --- Segments --- Logical extent 0 to 15: Type linear Physical volume /dev/sda2 Physical extents 160 to 175 --- Logical volume --- LV Name /dev/vg_hordein/srv VG Name vg_hordein LV UUID WELq71-vloL-xIeo-orgo-JJIV-lR4Z-FQw19T LV Write Access read/write LV Status available # open 1 LV Size 30.00 GB Current LE 480 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:8 --- Segments --- Logical extent 0 to 479: Type linear Physical volume /dev/sda2 Physical extents 176 to 655 --- Logical volume --- LV Name /dev/vg_hordein/home VG Name vg_hordein LV UUID 6j9rxg-IBdZ-RchM-ekTJ-TxY6-kEd1-uwPwcg LV Write Access read/write LV Status available # open 1 LV Size 30.00 GB Current LE 480 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:9 --- Segments --- Logical extent 0 to 479: Type linear Physical volume /dev/sda2 Physical extents 656 to 1135 --- Logical volume --- LV Name /dev/vg_hordein/pvmove0 VG Name vg_hordein LV UUID 247BqL-aEnl-ApBy-bLCf-W2Cs-1spS-GFfERx LV Write Access read/write LV Status available # open 2 LV Size 372.56 GB Current LE 5961 Segments 4 Allocation contiguous Read ahead sectors 0 Block device 253:10 --- Segments --- Logical extent 0 to 2719: Type mirror Mirrors 2 Mirror size 2720 Mirror original: Physical volume /dev/hda1 Physical extents 0 to 2719 Mirror destination: Physical volume /dev/hdd Physical extents 0 to 2719 Logical extent 2720 to 2879: Type mirror Mirrors 2 Mirror size 160 Mirror original: Physical volume /dev/hda1 Physical extents 4320 to 4479 Mirror destination: Physical volume /dev/hdd Physical extents 2720 to 2879 Logical extent 2880 to 4479: Type mirror Mirrors 2 Mirror size 1600 Mirror original: Physical volume /dev/hda1 Physical extents 2720 to 4319 Mirror destination: Physical volume /dev/hdd Physical extents 2880 to 4479 Logical extent 4480 to 5960: Type mirror Mirrors 2 Mirror size 1481 Mirror original: Physical volume /dev/hda1 Physical extents 4480 to 5960 Mirror destination: Physical volume /dev/hdd Physical extents 4480 to 5960
Attachment:
pvmove.txt.gz
Description: GNU Zip compressed data
_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/