Will adding disks to vg help performance in a life system?
Hello,
We have a large db server with lots of iowaits (100% busy) on the dbvg. I was wondering if adding pv's to the dbvg will help. Will LVM start distibuting the lv data to the new disks online? Regards, Marcel |
By default it doesn't redistribute existing extents. If your LV was created with striping it would balance but on a quick search it appears you can't change the existing linear (extents all on one PV) to striped. You could:
1) Backup everything in the filesystem(s) on the LV(s) now. 2) Unmount the filesystem(s) on the LV(s) 2) Blow away the LV(s) 3) vgextend the Volume Group to add the new disk (ideally same size as the existing) 4) Recreate the LVs using striping so it spreads across the 2 disks/PVs. 5) Recreate the filesystem(s) on the recreated LV(s) 6) Restore the backup to the recreated filesystem(s) You don't say what kind of storage you're using. Are these internal disks? Are you using a hardware RAID controller or software (metadisk) RAID? SAN disks? It may be the iowait you're seeing is because of poor performance via an internal RAID or SAN adapter and if so adding another disk or LUN to the same adapter might not help. If you only have 1 physical disk (or 2 physical disks with LV striping) the failure of a single disk loses all your data. Hopefully you're doing regular backups. |
probably helps: https://www.ibm.com/support/knowledg...sk_io_perf.htm
|
My storage is coming from an EMC Compellent (SSD pinned now) , via HBA's connected to an ESX server, provided as luns to a VM. 3 luns of 2 TB each
Rhel 7.6 Maybe it is the way the luns on VMWare were created. I will have a talk with the VM admin. Thanks for the info . |
Did you bother to search this ?. A simple search on "EMC compellent" (not latency or anything related), returned this as the very first hit.
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 10:24 AM. |