What is the difference between scan & rescan
Issue
We can't see the changed size of a device after running:
# echo "- - -" > /sys/class/scsi_host/host0/scan
However, the size change is visible with the use of:
# echo "1" > /sys/class/scsi_disk/0\:2\:0\:0/device/rescan
What is the difference between scan & rescan? How do they work?
Environment
- Red Hat Enterprise Linux all versions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
