From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 21 Apr 2020 15:41:37 +0000 Subject: Re: udev events for iscsi Message-Id: <20200421154137.GA1199104@kroah.com> List-Id: References: <4a648986b130f48c9125013630473d17@assyoma.it> In-Reply-To: <4a648986b130f48c9125013630473d17@assyoma.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Apr 20, 2020 at 06:55:52PM +0200, Gionatan Danti wrote: > Hi all, > I have a question regarding udev events when using iscsi disks. > > By using "udevadm monitor" I can see that events are generated when I login > and logout from an iscsi portal/resource, creating/destroying the relative > links under /dev/ > > However, I can not see anything when the remote machine simple > dies/reboots/disconnects: while "dmesg" shows the iscsi timeout expiring, I > don't see anything about a removed disk (and the links under /dev/ remains > unaltered, indeed). At the same time, when the remote machine and disk > become available again, no reconnection events happen. > > Is this the expected behavior? Can be changed? Should I ping the linux-scsi > list instead? Try asking the linux-scsi developers, as they know what should happen here more than anyone. thanks, greg k-h