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 amd64        utilities for devices using the 
SCSI command set
$ lsblk
NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
loop0     7:0    0 76.2M  1 loop /snap/lxd/22340
loop1     7:1    0 61.9M  1 loop /snap/core20/1328
loop2     7:2    0 43.4M  1 loop /snap/snapd/14549
vda     252:0    0   10G  0 disk 
├─vda1  252:1    0  9.9G  0 part /
├─vda14 252:14   0    4M  0 part 
└─vda15 252:15   0  106M  0 part /boot/efi
vdb     252:16   0  366K  0 disk 
vdc     252:32   0    1G  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
NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
loop0     7:0    0 76.2M  1 loop /snap/lxd/22340
loop1     7:1    0 61.9M  1 loop /snap/core20/1328
loop2     7:2    0 43.4M  1 loop /snap/snapd/14549
vda     252:0    0   10G  0 disk 
├─vda1  252:1    0  9.9G  0 part /
├─vda14 252:14   0    4M  0 part 
└─vda15 252:15   0  106M  0 part /boot/efi
vdb     252:16   0  366K  0 disk 
vdc     252:32   0    1G  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

Reply via email to