Will adding disks to vg help performance in a life system?
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
The mention of smitty in that suggests it is related to AIX rather than Linux. LVM on HP-UX and AIX are somewhat similar to the one on Linux but not exactly the same.
The mention of smitty in that suggests it is related to AIX rather than Linux. LVM on HP-UX and AIX are somewhat similar to the one on Linux but not exactly the same.
Yes, I know that. But actually there were some tips which could be used to find the reason. At least I thought that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.