How Do I Scan a Vm in Linux?
Contents

How do I scan a virtual disk in Linux?

To do a re-scan of your SCSI bus while the Virtual Machine is running, to force it to re-read all its attached hard disks, you can issue the following command. First, find your hostbus ID. In this case, host0 is the hostbus. Next, force a rescan.

How do I rescan a device in Linux?

When adding a new disk to your Linux system you need to rescan SCSI host.

  1. You can do this with the following command: echo “- – -” > /sys/class/scsi_host/hostX/scan.
  2. .. …
  3. The easiest way i’ve found is to rescan the specific device with the following command: echo “1” > /sys/class/block/sdX/device/rescan.
  4. ..

21 июл. 2015 г.

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest