Question: How Do I Scan New Hardware in Linux?

Question: How Do I Scan New Hardware in Linux?
Contents

How do I find new devices on Linux?

Find out exactly what devices are inside your Linux computer or connected to it. We’ll cover 12 commands for listing your connected devices.
…

  1. The mount Command. …
  2. The lsblk Command. …
  3. The df Command. …
  4. The fdisk Command. …
  5. The /proc Files. …
  6. The lspci Command. …
  7. The lsusb Command. …
  8. The lsdev Command.

How do I scan new LUNs in Linux?

Follow the steps below to scan the new LUN in OS and then in multipath.

  1. Rescan SCSI hosts: # for host in ‘ls /sys/class/scsi_host’ do echo ${host}; echo “- – -” > /sys/class/scsi_host/${host}/scan done.
  2. Issue LIP to FC hosts: …
  3. Run rescan script from sg3_utils:
Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.