How Do I Scan a Disk for Storage in Linux?
Contents How Do I Rescan a Disk in Linux? When Adding a New Disk You Can Do This with the Following Command: Echo “- – -” > /Sys/Class/Scsi_Host/hostX/Scan...
Contents
How do I rescan a disk in Linux?
When Adding a New Disk
- You can do this with the following command: echo “- – -” > /sys/class/scsi_host/hostX/scan.
- .. …
- The easiest way i’ve found is to rescan the specific device with the following command: echo “1” > /sys/class/block/sdX/device/rescan.
- ..
21 июл. 2015 г.
Must Read
How do you scan detect new LUNs on Linux?
Follow the steps below to scan the new LUN in OS and then in multipath.
- Rescan SCSI hosts: # for host in ‘ls /sys/class/scsi_host’ do echo ${host}; echo “- – -” > /sys/class/scsi_host/${host}/scan done.
- Issue LIP to FC hosts: …
- Run rescan script from sg3_utils: