[Pacemaker] Possible error in iSCSITarget RA

Michael Schwartzkopff misch at multinet.de
Thu Oct 1 14:53:47 UTC 2009


Am Donnerstag, 1. Oktober 2009 16:49:59 schrieb Michael Schwartzkopff:
> Hi,
>
> I am experimenting a little bit with the iSCSITarget RA, but without
> success. My resource is defined like:
>
> primitive resIET ocf:heartbeat:iSCSITarget \
>   params additional_parameters="Path=/dev/drbd0" iqn="iqn.1.2"
>
> The problem ist that the resource fails at start.
>
> Looking through the RA I found the follwing commands beeing executed:
> ietadm --op new --tid=1 --params Name=iqn.1.2
>
> This is OK.
>
> the next command is:
> ietadm --op update --tid=1 --params Path=/dev/drbd0
>
> Here the log file says:
> Command output: Unknown parameter "Path"
>
> When I enter the command manually I get the same error.

The command
ietadm --op new --tid=1 --lun=0 --parameters Path=/dev/drbd0
does the trick.

@Florian: Howto include this into the RA? Basically: Where do I get the "lun" 
from?

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42




More information about the Pacemaker mailing list