Re: SATA drive rescan?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/16/23 00:46, Barry wrote:


On 16 Jul 2023, at 08:44, Barry <barry@xxxxxxxxxxxxxxxx> wrote:

If nothing you need to trigger a scan of the SATA bus.
I do not know how you would do that.

Maybe try what this says? https://serverfault.com/questions/5336/how-do-i-make-linux-recognize-a-new-sata-dev-sda-drive-i-hot-swapped-in-without#5342 <https://serverfault.com/questions/5336/how-do-i-make-linux-recognize-a-new-sata-dev-sda-drive-i-hot-swapped-in-without#5342>

Barry

In the link:

   echo "- - -" > /sys/class/scsi_host/host<n>/scan

Any idea what `host<n>` is suppose to be?

# ls /sys/class/scsi_host/
host0  host1  host2  host3  host4  host5  host6  host7

By any chance it is the SATA port I have it plugged into?
If so, how do I figure that out?

Assuming it is the sata port, would

# lsscsi
[1:0:0:0]    disk    ATA      TOSHIBA DT01ACA2 ABB0  /dev/sda
[2:0:0:0]    cd/dvd  ATAPI    iHAS124   F      CL9M  /dev/sr0
[N:0:2:1]    disk    Samsung SSD 960 EVO 1TB__1                 /dev/nvme0n1

the "1" in [1:0:0:0] mean "host1"?

Yours in confusion,
-T
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux