Skip to content

Instantly share code, notes, and snippets.

@skarllot
Created January 31, 2014 19:21
Show Gist options
  • Save skarllot/8741115 to your computer and use it in GitHub Desktop.
Save skarllot/8741115 to your computer and use it in GitHub Desktop.
Force the rescan of partition to get the kernel aware of the new size
echo 1 > /sys/block/sda/device/rescan
# Reference: http://blog.gurudelleccelsopicco.org/2009/09/online-lun-expansion-and-partition-resizing-without-reboot-under-linux/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment