Monday, February 29, 2016

scan newly added disks

 # for i in `seq 0 3`
do
echo ” – – – ” > /sys/class/scsi_host/host$i/scan
done

or in one line
#  for i in `seq 0 3`; do echo ” – – – ” > /sys/class/scsi_host/host$i/scan; done

No comments:

Post a Comment