How Do I Scan a Newly Installed Disk in Linux?
Contents Once the Storage Team Has Mapped the New Lun’s with the Linux Host, New Lun Can Be Discovered by Scanning the Storage Lun Id at the Host End. Scanning...
Contents
Once the storage team has mapped the new LUN’s with the Linux host, new LUN can be discovered by scanning the storage LUN ID at the host end. Scanning can be performed in two ways. Scan each scsi host device using /sys class file. Run the “rescan-scsi-bus.sh” script to detect new disks.
How do I scan a new disk in Linux?
Scanning SCSI DISKS in Redhat Linux
- Finding the existing disk from fdisk. [[email protected] ~]# fdisk -l |egrep ‘^Disk’ |egrep -v ‘dm-‘ Disk /dev/sda: 21.5 GB, 21474836480 bytes.
- Find out how many SCSI controller configured. …
- Scan the SCSI disks using below command. …
- Verify if the new disks are visible or not.
Must Read
How do I scan a newly installed disk?
Use the below command to scan the LUNs
From Redhat Linux 5.4 onwards, redhat introduced “/usr/bin/rescan-scsi-bus.sh” script to scan all the SCSI bus and update the SCSI layer to reflect new devices.