Skip to contentSkip to conversation

udev events for iscsi

DISCUSSION Gionatan Danti 2 participants 2 messages Apr 20, 2020 – Apr 21, 2020

lore
Share & tools
lore
#0 lore raw

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?
Thanks.

Signature · 5 lines
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it [1]
email: [email protected] - [email protected]
GPG public key ID: FF5F32A8
#1 lore raw
Quoted 7 lines · Gionatan Danti

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/

Quoted 8 lines

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