[CentOS] C6: Gparted "the kernel failed to re-read partition table"

Sat May 14 17:59:47 UTC 2016
Keith Keller <kkeller at wombat.san-francisco.ca.us>

On 2016-05-14, Scott Robbins <scottro11 at 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


-- 
kkeller at wombat.san-francisco.ca.us