Hi, to debug this I think we need to manually follow what rescan-scsi- bus.sh does and find out why the script thinks /dev/sda disappeared after a rescan. This is not easy to do without access to an affected system. You could try running the script in xtrace mode:
bash -x /usr/bin/rescan-scsi-bus.sh ... but by looking at the script I expect the output to be very verbose and difficult to decipher. Still it may be worth trying, please attach the output to this bug report if you try. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966860 Title: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sg3-utils/+bug/1966860/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs