We have a poorly implemented mysql server that had been built by a vendor. It has consumed 100% of available disk space, and as soon as any space is cleared out mysql grows to consume it. This is, obviously, a problem.
We currently have 2 disks in a raid 1+0, and just added 2 additional. We have added them directly to the RAID, so disk size should be essentially double what it was previously.
Pvresize would be our next step, but it only seems to facilitate growing to specific numbers (pvresize --setphysicalvolumesize 20G /path/to/disk).
Is there an equivalent command that lets you specify to expand to all physical space on the disk (or in this case, the array)?
pvresize /path/to/disk
) should extend it. If it doesn't, I'd suggest looking at dmesg and fdisk/parted to verify the space you added is actually there before continuing.