The following column linux tutorial will introduce you to linux offline hard drive flashing. I hope it will be helpful to friends who need it!
#Linux systems often do not have enough disks to add. In this case, it is necessary to add a new hard disk. Under normal circumstances, the server needs to be restarted. Here we use the wire brush method to read the newly added Linux hard disk
1. After adding the disk, fdisk -l disk does not show up
2. Check the host bus number
3. Rescan the scsi bus to add the device
[root@localhost ~]# echo "- - -" > /sys/class/scsi_host/host0/scan [root@localhost ~]# echo "- - -" > /sys/class/scsi_host/host1/scan [root@localhost ~]# echo "- - -" > /sys/class/scsi_host/host2/scan
4. Check the hard disk again and it is displayed
The above is the detailed content of How to flash hard drive online under linux. For more information, please follow other related articles on the PHP Chinese website!