Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of brushing hard disk in the midline of linux

Shulou Source: shulou.com Published: 2022-06-02 22:22:51 11月15日 Update

In this issue, Xiaobian will bring you about linux neutral brush hard disk method, the article is rich in content and professional analysis and description for everyone, after reading this article, I hope you can gain something.

Linux systems often have not enough disks to add, and then you need to add a new hard disk. Under normal circumstances, you need to restart the server. Here we use the line brush method to read the new Linux hard disk.

1. fdisk -l disk not displayed after adding disk

2. View host bus number

3. Rescan scsi bus to add devices

[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 drive again.

The above is the linux line brush hard disk method shared by Xiaobian for everyone, if there is a similar doubt, you may wish to refer to the above analysis to understand. If you want to know more about it, please pay attention to the industry information channel.

Tags: Hard disk disk midline method content bus situation analysis not enough professional small and medium host rich in content again articles ways more servers to make Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno vpn Docker MariaDB macOS