On 2016-05-14, Scott Robbins scottro11@gmail.com wrote:
Secondly, if that's not practical, that message is common when using, say fdisk. Sometimes, running partprobe afterwards will reflect the new partition scheme, other times, you may just have to reboot.
I always assumed that it was impossible to have the kernel re-read the partition table of a drive with mounted filesystems. But apparently it isn't. Here's some possibly interesting detail on what partprobe does.
https://unix.stackexchange.com/questions/4061/how-does-partprobe-work
It's possible fdisk doesn't do this. I don't know enough about parted, but it's also possible it lets partprobe do it instead of doing it itself.
--keith