Contorl: severity -1 wishlist On Wed, 2019-10-23 at 13:34 -0400, Christopher David Howie wrote: > Package: open-iscsi > Version: 2.0.874-7.1 > > I've created a VM to test the feasibility of a particular > configuration > and wound up running into a case that open-iscsi does not consider > during shutdown: if an iSCSI session provides a device that is used > as > part of an md-raid device, then the open-iscsi shutdown scripts will > not > notice this and terminate the iSCSI session anyway. This causes the > iSCSI device to be kicked from the raid device. On boot, because the > device was kicked out, it will not be re-added > automatically. ("mdadm > $MD_DEVICE --re-add missing" fixes this, but must be run by hand.) > > The current workaround I am using is to set > ISCSI_ROOT_KEEP_ALL_SESSIONS_AT_SHUTDOWN=1 in /etc/default/open- > iscsi. >
These are some of the use cases for which this functionality was added. > It would be nice if open-iscsi looked through md-raid layers and > avoided > stopping sessions that provide a device used by _any_ active md-raid > device, as not doing so requires manually re-adding the iSCSI device > to > the array next time it is assembled. > I have never done sw raid in all my years of interaction with computers. At Big HW Vendor labs, it was mostly HW RAID. The teardown of Linux (Stackable) Storage Layers is complicated and as such, uncommon features like SW RAID got left out. I'm willing to review and add this feature if someone can come up with an implementation to integrate to what we have cooked so far. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part