[Pacemaker] Exchanging data between resource agent instances

Lars Ellenberg lars.ellenberg at linbit.com
Tue Mar 19 09:43:45 UTC 2013


On Tue, Mar 19, 2013 at 08:22:39AM +0100, Riccardo Bicelli wrote:
> Because I'm trying to set up an active/standby scsi cluster using alua. I
> need to create a dummy device in the same size of the real device.

Is that so.  What for?
Can you explain in more detail?

> For getting dev size I use blockdev --getsize64 device_name
> The problem is, when I'm using DRBD, that blockdev fails on slave device.

Well, then use awk '/ drbd0$/ { print $3 * 1024 }' /proc/partitions
No?


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com




More information about the Pacemaker mailing list