[linux]rescan the hard drive after your vm got an expanded storage

The Tufin securechange vm got an expanded storage of 1TB more, however I cannot see it immediately with the fdisk -l command.

I need to rescan it using echo "1" > /sys/class/block/sda/device/rescan, then do fdisk -l, you will see the /dev/sda with the full disk (after expanded). It works immediately..

Advertisements
This entry was posted in Linux and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s