Adding disk to VM and rescanning SCSI bus in CentOS

echo "- - -" > /sys/class/scsi_host/host0/scan

then fdisk, mkfs, etc.

hat tip:

Find Dell Service Tag from Linux, ESX console

Try this first:

# dmidecode -s system-serial-number

The “-s” option didn’t work on the Kernel 2.4-based ESX service console, but this should:

# dmidecode | grep --extended-regexp Serial[[:space:]]Number:[[:space:]]*[A-Z0-9]{7}$ | uniq

Credit to


Get every new post delivered to your Inbox.

Join 63 other followers