Seems as this stuff is pretty new - no detailed HowTo is available so I ran into some problems. Running a virtualised FBSD FreeBSD I want to pass a simple ZFS back to ESXi 5.5 as a datastore. So at first I created:
Then I touched and made a ctl.conf:
Upon starting I just get errors in logs like:
What am I missing?
Code:
#zpool create esxistore mirror da1 da2 mirror da3 da4
#zfs create esxistore/store
Then I touched and made a ctl.conf:
Code:
debug 5
portal-group pg0 {
discovery-auth-group no-authentication
listen 0.0.0.0
listen [::]
}
target iqn.2013-10.com.example:target0 {
auth-group no-authentication
portal-group pg0
lun 0 {
path /esxistore/store
}
}
Upon starting I just get errors in logs like:
Code:
Jun 8 21:58:18 bsdstore ctld[50189]: error returned from LUN creation request: ctl_be_block_open: error opening /esxistore/store
Jun 8 21:58:18 bsdstore ctld[50189]: failed to add lun 0, target iqn.2013-10.com.example:target0
Jun 8 21:58:18 bsdstore ctld[50189]: failed to apply configuration, exiting
What am I missing?