[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
> it looks to me like there may be a hardware problem involved? I suspect it's issue of script file rescan-scsi-bus.sh. VMware have developed own file rescan-scsi-bus.sh and this script file works well with these steps. > Why are you seeing so many I/O errors? I think it's because the boot disk /dev/sda is removed by command "rescan-scsi-bus.sh -a -r" unexpectedly. So we will see many I/O errors when access the file in /dev/sda. -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
Thank you for the extra information. Looking at the PNG file you've attached, I see a bunch of I/O error messages being displayed while trying to access the device. I'm not an expert here, but it looks to me like there may be a hardware problem involved? Why are you seeing so many I/O errors? Are they eventually causing the device to be removed (probably because sg3-utils cannot access it)? -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
** Attachment added: "dmesg.0" https://bugs.launchpad.net/ubuntu/+source/sg3-utils/+bug/1966860/+attachment/5588069/+files/dmesg.0 -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
I execute the command "rescan-scsi-bus.sh -a -r > command_output_1.txt 2>&1" in terminal and get some files attached: 1) command_output.png : error message output when exec command in terminal 2) dmesg.0: get the file /var/log/dmesg.0 3) command_output_1.txt Maybe it would be a little helpful. Note: after execute the command "rescan-scsi-bus.sh -a -r", the boot disk is removed. -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
** Attachment added: "command_output.png" https://bugs.launchpad.net/ubuntu/+source/sg3-utils/+bug/1966860/+attachment/5588070/+files/command_output.png -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
** Attachment added: "command_output_1.txt" https://bugs.launchpad.net/ubuntu/+source/sg3-utils/+bug/1966860/+attachment/5588068/+files/command_output_1.txt -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
While Lucas works on obtaining access to a similar setup, do you think you can provide us with any useful log? For example, you mentioned that the system crashed; is there any interesting log related to the crash? Thanks in advance. -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
Hi lucaskanashiro, Thanks very much for your effort. -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
Thanks for the detailed steps on how to reproduce the issue. I know you faced this issue using vmware technologies but since I do not have a setup in hands to test it, I gave it a try to reproduce it in my local setup with qemu/libvirt and I was not able to get the same results: $ dpkg -l sg3-utils Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==--- ii sg3-utils 1.46-1build1 amd64utilities for devices using the SCSI command set $ lsblk NAMEMAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:00 76.2M 1 loop /snap/lxd/22340 loop1 7:10 61.9M 1 loop /snap/core20/1328 loop2 7:20 43.4M 1 loop /snap/snapd/14549 vda 252:00 10G 0 disk ├─vda1 252:10 9.9G 0 part / ├─vda14 252:14 04M 0 part └─vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 366K 0 disk vdc 252:32 01G 0 disk $ sudo rescan-scsi-bus.sh -a -r Syncing file systems Scanning SCSI subsystem for new devices and remove devices that have disappeared Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning host 1 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning host 2 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning host 3 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning host 4 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs Scanning host 5 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs 0 new or changed device(s) found. 0 remapped or resized device(s) found. 0 device(s) removed. $ lsblk NAMEMAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:00 76.2M 1 loop /snap/lxd/22340 loop1 7:10 61.9M 1 loop /snap/core20/1328 loop2 7:20 43.4M 1 loop /snap/snapd/14549 vda 252:00 10G 0 disk ├─vda1 252:10 9.9G 0 part / ├─vda14 252:14 04M 0 part └─vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 366K 0 disk vdc 252:32 01G 0 disk I'll check if I can have access to a setup like yours to properly test it. -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
** Package changed: ubuntu => sg3-utils (Ubuntu) -- 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
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat. To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1966860/+editstatus and add the package name in the text box next to the word Package. [This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.] ** Tags added: bot-comment -- 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/+bug/1966860/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966860] Re: hit issue with script rescan-scsi-bus.sh in VM with image ubuntu 22.04 live server running in ESXi
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu Status: New => Confirmed -- 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/+bug/1966860/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs