Forum

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /homepages/13/d467848118/htdocs/templates/cleanout/vertex/responsive/responsive_mobile_menu.php on line 158
Welcome, Guest
Username: Password: Remember me

TOPIC:

2 or more iSCSI 7 years 9 months ago #1209

Thanks, i will try this asap :)

So the default config is wrong from NoSan installer?

<target iqn.2015.com.halizard:noSAN>
backing-store /dev/drbd1
lun 10
</target>


So should it look like this instead?

<backing-store /dev/sdb>
lun 10
</backing-store>
<backing-store /dev/sdc>
lun 20
</backing-store>


Or like this?

<target iqn.2015.com.halizard:noSAN>
<backing-store /dev/sdb>
lun 10
</backing-store>
<backing-store /dev/sdc>
lun 20
</backing-store>
</target>

Please Log in or Create an account to join the conversation.

Last edit: by Alexander Hjelm.

2 or more iSCSI 7 years 9 months ago #1210

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 727
The default config is not wrong. It is written for a single target and the syntax used allows for that.

Please Log in or Create an account to join the conversation.

2 or more iSCSI 7 years 9 months ago #1211

So what is the right config for it :)?

Please Log in or Create an account to join the conversation.

2 or more iSCSI 7 years 9 months ago #1212

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 727
Your example is directly referencing the backing device which will leave you with inconsistent data between your hosts. You should only reference your backing devices via drbd. Something like this will work

<target iqn.2015.com.halizard:noSAN>
<backing-store /dev/drbdresource1>
lun 10
</backing-store>

<backing-store /dev/drbdresource2>
lun 20
</backing-store>
</target>

Please Log in or Create an account to join the conversation.

2 or more iSCSI 7 years 9 months ago #1213

Hi, i did this and would not work at all.

I will try yours now thanks.

Please Log in or Create an account to join the conversation.

Last edit: by Alexander Hjelm.

2 or more iSCSI 7 years 9 months ago #1214

Looks like its working, im syncing it atm.

Please Log in or Create an account to join the conversation.