[Pkg-iscsi-maintainers] Bug#782177: open-iscsi must wait for opensm

Ritesh Raj Sarraf rrs at researchut.com
Thu Apr 9 05:37:11 UTC 2015


On Thursday 09 April 2015 06:02 AM, Michael Rasmussen wrote:
> If LUNs are accessed through infiniband they will not be available until the opensm
> daemon is properly running resulting in failed login and attachment of LUN's. In
> worst case if root is installed on such a LUN the system will fail to boot.
>
> How to fix: Either opensm should start i runlevel S with a lower number than open-iscsi
> or open-iscsi should have a dependency to opensm.

It may not be that simple.

First, if you have a modern init (like systemd), the correct set of
dependencies there can help solve the ordering problem. It is not the
ordering that is the problem in most cases, but about how devices are
discovered. For example, if there are devices that are discovered by IB
after the iSCSI daemon start, in traditional method, they'd be left
over. Modern inits like systemd solve that problem.

As for root installed on a LUN, there's a lot of manual work in initrd,
that you'll have to add for opensm.

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20150409/08009446/attachment.sig>


More information about the Pkg-iscsi-maintainers mailing list