Home  >  Article  >  Operation and Maintenance  >  How to flash hard drive online under linux

How to flash hard drive online under linux

藏色散人
藏色散人forward
2020-06-30 13:23:572793browse

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!

How to flash hard drive online under linux

#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

How to flash hard drive online under linux

2. Check the host bus number

How to flash hard drive online under linux

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

How to flash hard drive online under linux

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!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete