R
R
rgrt2018-11-06 11:00:20
linux
rgrt, 2018-11-06 11:00:20

How to add a disk to a Linux server?

There was a need to add a new disk to the server.
There is a disk shelf, there is a blade server in the basket.
interconnected directly by optics.
I create moons on the shelf and present it to the server.
The server does not see it.
I do:
ls /sys/class/scsi_host
host0 host1 host2 host3 host4 host5 host6
and
echo "- - -" >/sys/class/scsi_host/host0/scan
echo "- - -" >/sys/class/scsi_host/host1/ scan
echo "- - -" >/sys/class/scsi_host/host2/scan
echo "- - -" >/sys/class/scsi_host/host3/scan
echo "- - -" >/sys/class/scsi_host/host4 /scan
echo "- - -" >/sys/class/scsi_host/host5/scan
echo "- - -" >
fdisk -l and multipath -ll do not find the new disk after this.
There is no way to restart the server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2018-11-06
@n1cew0lf

Dmesg clean?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question