Hide Forgot
Description of problem: You can't dynamically re-size LVM physical volumes on RHEL6. Version-Release number of selected component (if applicable): lvm2-cluster-2.02.83-3.el6.x86_64 parted-2.1-13.el6.x86_64 How reproducible: Always on a DS3512 storage connected to a HS22 blade using two FC paths. Steps to Reproduce: 1. Add a couple of gigs to the logical volume exported by the storage 2. partprobe 3. pvresize /dev/mapper/clvm Actual results: Physical volume won't be resized although it will say: Physical volume "/dev/mapper/clvm" changed 1 physical volume(s) resized / 0 physical volume(s) not resized Expected results: Re-size the physical volume and make the free disk space available in the VG. Additional info: To be able to see the changes you need to reboot the whole cluster. In case you reboot just one node it will have the logical volumes inactive after boot up. In a two node cluster this will cause node 2 to fence node 1, and vice versa infinitely before one will manually activate the LVs on both nodes.
I think that this is problem with underlying device size (pvresize just read size from kernel). Will scsi rescan help? Something like echo "- - -" > /sys/class/scsi_host/host$host/scan Can you paste "lsblk -b" when you see this?
Ah, I this is multipath... this can help perhaps. echo 1 > /sys/block/device_name/device/rescan multipathd -k'resize map <mpath>'
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/DM_Multipath/MPIO_admin-troubleshoot.html#online_device_resize just instead of resizefs use pvresize.
I hope comments above solved the problem, if not, please reopen and provide more info, thanks.