Wednesday, December 9, 2020

RHEL - Scan every disk on the system

 [root@master kube]# cat ../disk-scan.sh
for i in `ls /sys/class/scsi_host`; do echo "- - -" >/sys/class/scsi_host/${i}/scan; done


No comments:

Post a Comment

Git branch show detached HEAD

  Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03)   00 2. Run re-set hard $ git reset --hard 3. ...