When Adding a New Disk
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 "- - -" > /sys/class/scsi_host/host6/scan echo "- - -" > /sys/class/scsi_host/host7/scan echo "- - -" > /sys/class/scsi_host/host8/scan echo "- - -" > /sys/class/scsi_host/host9/scan echo "- - -" > /sys/class/scsi_host/host10/scan echo "- - -" > /sys/class/scsi_host/host11/scan echo "- - -" > /sys/class/scsi_host/host12/scan echo "- - -" > /sys/class/scsi_host/host13/scan echo "- - -" > /sys/class/scsi_host/host14/scan echo "- - -" > /sys/class/scsi_host/host15/scan echo "- - -" > /sys/class/scsi_host/host16/scan echo "- - -" > /sys/class/scsi_host/host17/scan echo "- - -" > /sys/class/scsi_host/host18/scan echo "- - -" > /sys/class/scsi_host/host19/scan echo "- - -" > /sys/class/scsi_host/host20/scan
When Increasing Existing Disk Size
echo "1" > /sys/class/block/sdX/device/rescan ..where X is the device you increased and want to rescan.
maltipath
產生預設 maltipath 設定檔 mpathconf --enable --user_friendly_names y --find_multipaths y config file /etc/multipath.conf 服務重啟 systemctl restart multipathd 顯示路徑 multipath -ll 重新搜尋 multipath -F multipath -v2
選項 描述 |
-l |
-ll |
-f 裝置 |
-F |
-w device |
-W |
5.10. 使用 DMSETUP 指令,決定 DEVICE MA
其他細節