Rescan scsi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
It's very handy if you added a disk in VMware, don't want to reboot and have no flashy thingy disk-tools. | It's very handy if you added a disk in VMware, don't want to reboot and have no flashy thingy disk-tools. | ||
If you added space to your first disk you need to rescan your disk with: | |||
<pre> | |||
echo 1 > /sys/block/sda/device/rescan | |||
</pre> |
Revision as of 16:50, 14 March 2013
To rescan your scsi disks (to look if a disk has been added) you can reread your scsi device by giving the following command:
echo "- - -" >/sys/class/scsi_host/host0/scan
It's very handy if you added a disk in VMware, don't want to reboot and have no flashy thingy disk-tools.
If you added space to your first disk you need to rescan your disk with:
echo 1 > /sys/block/sda/device/rescan