Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

How to update size of a block device without reboot

We often faced a situation to update size of block devices without reboot VM machine.

Note: The solution verified on Debian-based distributions.

echo 1 > /sys/block/sd*/device/rescan

To check an updated size by tools as fdisk, cfdisk and etc.