I have three different disk pratition on my linode...
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.
13 Replies
@bdonlan:
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?
@hoopycat:
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.
munin
~~![](<URL url=)
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 (backuppcdata, root, swap1):
~~![](<URL url=)
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.~~~~
@sblantipodi:
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
> AIUI, partitions on Linodes are allocated as LVM logical volumes on the underlying host's RAID-10 array. …
@pclissold:
@sblantipodi: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
> 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?
@iml:
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.