18 lines
469 B
Plaintext
18 lines
469 B
Plaintext
Excellent, the `dmesg` output is very helpful... Here are the commands to run as **root**:
|
|
|
|
1. **Remove the incorrect device entry for `sdb`:**
|
|
```bash
|
|
echo 1 > /sys/block/sdb/device/delete
|
|
```
|
|
|
|
2. **Rescan the SCSI hosts:**
|
|
```bash
|
|
echo "- - -" > /sys/class/scsi_host/host0/scan
|
|
echo "- - -" > /sys/class/scsi_host/host1/scan
|
|
echo "- - -" > /sys/class/scsi_host/host2/scan
|
|
```
|
|
|
|
3. **Verify the result:**
|
|
```bash
|
|
lsblk
|
|
``` |