Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Aug 21, 2011 4:43 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
Hi all...

As title.
I have three different disk pratition on my linode,
/dev/xvda for OS
/dev/xvdb for Swap
/dev/xvdc for www directory (mounted on /home/.../www)

can I be sure that this partition is situated in the same disk?

I'm asking this because trying to monitor the I/O with cacti I'm having different results from /dev/xvda and /dev/xvdc.

As far as I know if this partition is on the same disks it should have the same I/O read write.

Thanks.


Top
   
 Post subject:
PostPosted: Sun Aug 21, 2011 4:52 pm 
Offline
Senior Member

Joined: Tue Jan 22, 2008 2:10 am
Posts: 103
AIUI, partitions on Linodes are allocated as LVM logical volumes on the underlying host's RAID-10 array. It's possible, however, that some volumes may be more fragmented than others, or that the host's load balancing algorithms may cause odd results.


Top
   
 Post subject:
PostPosted: Sun Aug 21, 2011 4:57 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
bdonlan wrote:
AIUI, partitions on Linodes are allocated as LVM logical volumes on the underlying host's RAID-10 array. It's possible, however, that some volumes may be more fragmented than others, or that the host's load balancing algorithms may cause odd results.


so what could be a good way to monitor the I/O read writes on our linode?


Top
   
 Post subject:
PostPosted: Mon Aug 22, 2011 9:58 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
If you're looking to monitor the amount of I/O being performed, the sum of all three would be the "total". From your kernel's perspective, they are three distinct block devices.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Mon Aug 22, 2011 10:37 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
hoopycat wrote:
If you're looking to monitor the amount of I/O being performed, the sum of all three would be the "total". From your kernel's perspective, they are three distinct block devices.


cacti is widely used but I don't find any topic here on how to do that.
every template I founded doesn't let me do this.


Top
   
 Post subject:
PostPosted: Mon Aug 22, 2011 12:03 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
I haven't used cacti (went straight from munin to graphite/statsd), but you might be able to get it to do some sort of overlay, like munin does:

Image

The downside of representing total I/O as a sum of all disk block devices is that it breaks down when dealing with LVM and/or software RAID. On this machine, I have three physical disks (sda, sdb, and sdc) and three LVM logical volumes scattered across them (backuppc_data, root, swap_1):

Image

The sum of all six of those lines would be meaningless. So, maintaining separate graphs for each block device (or at least separate plots on the same graph) is likely the most consistent and intuitive way to handle this across all platforms.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Mon Aug 22, 2011 12:04 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
With munin I'm able to do that but I prefer to use cacti and I'm not able to solve the problem on cacti.


Top
   
 Post subject:
PostPosted: Wed Aug 24, 2011 8:35 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
no one uses cacti here to monitor I/O?


Top
   
 Post subject:
PostPosted: Thu Aug 25, 2011 7:04 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
there are some guide here on how to use cacti on linode but there is no way to get real I/O data.

http://library.linode.com/server-monitoring/cacti


Top
   
 Post subject:
PostPosted: Thu Sep 01, 2011 6:36 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
is there someone from linode who can tell me if my three patitions are on different drives please?


Top
   
 Post subject:
PostPosted: Thu Sep 01, 2011 6:49 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
sblantipodi wrote:
is there someone from linode who can tell me if my three patitions are on different drives please?

No, they are effectively all on the same drive -- although that 'drive' is actually a disk array, for speed and redundancy. bdonian was correct when he wrote

Quote:
AIUI, partitions on Linodes are allocated as LVM logical volumes on the underlying host's RAID-10 array. …

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Thu Sep 01, 2011 7:42 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
pclissold wrote:
sblantipodi wrote:
is there someone from linode who can tell me if my three patitions are on different drives please?

No, they are effectively all on the same drive -- although that 'drive' is actually a disk array, for speed and redundancy. bdonian was correct when he wrote

Quote:
AIUI, partitions on Linodes are allocated as LVM logical volumes on the underlying host's RAID-10 array. …


no idea on how to monitor this LVM logical volumes on cacti?


Top
   
 Post subject:
PostPosted: Fri Sep 02, 2011 12:13 am 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:45 pm
Posts: 63
http://docs.cacti.net/usertemplate:data:host_mib:diskio


Top
   
 Post subject:
PostPosted: Fri Sep 02, 2011 3:11 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
iml wrote:
http://docs.cacti.net/usertemplate:data:host_mib:diskio


I'm using that templates since more than a week but there is now way to merge the xvda and xvdc paritions with that templates.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group