Hello,
I’m running a FreeBSD server with an iSCSI-attached storage (Dell MD32xxi).
The iSCSI LUN contains a ZFS data pool (not root).
Scenario:
Configuration:
/etc/rc.conf:
/etc/iscsi.conf:
Manual import always works after boot has completed with:
But manually importing the pool after every reboot is not a sustainable solution.
What could be the problem? How could i fix it?
Misconfigurations? sysrc?
Thank you!
If you need any additional information (logs, configuration, etc.), just let me know and I’ll provide it.
I’m running a FreeBSD server with an iSCSI-attached storage (Dell MD32xxi).
The iSCSI LUN contains a ZFS data pool (not root).
Scenario:
- FreeBSD installed on local disk (root pool imports fine)
- Data pool ztank lives on an iSCSI LUN (/dev/da0)
- iSCSI login works correctly
- After boot, the LUN is visible and zpool import ztank works manually
Configuration:
/etc/rc.conf:
Code:
zfs_enable="YES"
iscsi_flags="-n storage"
iscsid_enable="YES"
iscsictl_enable="YES"
iscsictl_flags="-Aa"
Code:
storage {
TargetAddress = 10.10.10.2
TargetName = iqn.1984-05.com.dell:powervault.md3200i.XXXXXXXX
}
Manual import always works after boot has completed with:
zpool import ztankBut manually importing the pool after every reboot is not a sustainable solution.
What could be the problem? How could i fix it?
Misconfigurations? sysrc?
Thank you!
If you need any additional information (logs, configuration, etc.), just let me know and I’ll provide it.