How to flash hard drive online under linux

藏色散人
Release: 2020-06-30 13:23:57
forward
2866 people have browsed it

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
Copy after login

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!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template