LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-02-2015, 03:47 PM   #1
constantm
LQ Newbie
 
Registered: Dec 2015
Posts: 6

Rep: Reputation: Disabled
ssm and lvm question


I have a few questions about LVM and ssm
1. The first question is with LVM is it best to have multiple volume groups or as few as possible. So lets say I add two hard-drives to a server. One I will call rhapsody and one I will call rhapdata. They are two different physical hard-drives, but they will be used by the same program. Should I add them to the same volume group/pool?

2. When I try to add a 15gb hard-drive and I run the ssm create command and specify to add 15gb it fails saying that basically there isn't enough space. Or that there are 4095 extents when 4096 is needed. So when using the create command do I have to specify a little bit smaller then the size of the actual hard-drive?
 
Old 12-02-2015, 05:33 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Regarding LVM: A volume group is just a storage pool from which you can allocate logical volumes. It depends on your application's logic, but chances are it only needs a single VG.

From your description, I gather that your app needs two logical volumes named rhapsody and rhapdata. You can create two such logical volumes from a VG that consists of one, two or more disks. My point is, the number of hard disks is entirely unrelated to the number of volumes (and that's also one of the major points of LVM).

I haven't heard of ssm.
 
Old 12-02-2015, 05:57 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
In larger installations, I commonly see volume groups being assigned to help reflect "where the disk drives actually are." (And by extension, what I/O channels service them.) The I/O workload is generally apportioned between the different storage units according to purpose and characteristics. Logical Volumes then allow the storage in each area to be allocated and re-allocated conveniently.
 
Old 12-02-2015, 06:32 PM   #4
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
1. If you require (physical) separation, use separate pools. For flexibility of data placement, put both drives in the same pool. Only you can make that decision.

2. Don't specify size - let the system determine what's left after formatting overheads are taken into consideration. ssm being a management layer on top of (possibly multiple different) storage backend(s)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux LVM/SSM partitioning james.e.quier Linux - Server 2 09-25-2015 02:11 AM
Configuring DNS based SSM mapping aravind1024004 Linux - Server 1 05-16-2008 05:01 AM
DNS-SSM mapping aravind1024004 Linux - Networking 0 05-15-2008 11:48 PM
question about LVM an2ny_18 Linux - Software 3 03-12-2006 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:49 PM.

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