On Fri, 4 Jan 2008, Dejan Muhamedagic wrote:

On Sat, Dec 29, 2007 at 04:11:05PM -0600, Michael Brennen wrote:
Hi all,

This is not strictly related to heartbeat, but it seems a place to start,
since someone has almost certainly done this.  Please feel free to direct
me to a more appropriate resource if needed.

I am follow the setup at the page below, with the idea being to make a
heartbeat/drbd driven SAN system with failover capability.  This
specifically says to set the lun in the iscsi target to /dev/drbd2.

http://www.pcpro.co.uk/realworld/82284/san-on-the-cheap/page3.html

When I set up the iscsi target lun to /dev/drbd2, as given in the above
page, the following error is logged:

ietd: Can't create a logical unit 30 1 0 Path=/dev/drbd2,Type=fileio

Is the /dev/drbdN device required, or can the lun share the underlying
physical device?  google isn't turning up much in the way of specific
answers that I've found so far.  Thanks...

Depends on what you want to do. Want to share a drbd disk? Then,
use the /dev/drbdn device (look for the device option in
drbd.conf).

Thanks for the response. I had worked this out in the interim, and all is now working as desired, sharing an iscsi via the /dev/drbdN device, with failover between nodes. The reason for the original ietd error (above) was that the drbd device was not primary, which I eventually concluded in the course of testing and retrying. I thought to respond to get this in the archives for its eventual usefulness to others.

   -- Michael
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to