LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-13-2019, 09:41 AM   #1
marcellinus
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 1
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
 
Old 02-13-2019, 11:54 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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.
 
Old 02-13-2019, 12:25 PM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
probably helps: https://www.ibm.com/support/knowledg...sk_io_perf.htm
 
Old 02-14-2019, 03:07 AM   #4
marcellinus
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Original Poster
Rep: Reputation: 1
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 .
 
1 members found this post helpful.
Old 02-14-2019, 03:35 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Did you bother to search this ?. A simple search on "EMC compellent" (not latency or anything related), returned this as the very first hit.
 
1 members found this post helpful.
Old 02-14-2019, 08:49 AM   #6
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Originally Posted by pan64 View Post
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.
 
Old 02-14-2019, 12:08 PM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by MensaWater View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Laptop Battery life.. Does Distro affect battery life?? jeevanism Linux - Hardware 6 07-09-2011 02:16 AM
LXer: How Half Life could save your life LXer Syndicated Linux News 0 02-05-2009 12:11 PM
Serious questions about life ( or better the life of a programmer) alaios Programming 11 10-04-2005 11:37 AM
Windows: 4-5 hour battery life, Gentoo : ~2:30 battery life numerous Linux - Laptop and Netbook 3 01-17-2005 08:39 PM
windows, good battery life -> fedora, bad battery life daedalusq1115 Linux - Laptop and Netbook 1 01-17-2005 06:40 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration