Always Learning
2016-May-14 04:19 UTC
[CentOS] C6: Gparted "the kernel failed to re-read partition table"
On Fri, 2016-05-13 at 23:17 -0453, William A. Mahaffey III wrote:> Is the disk or 1 of its partitions mounted ? If so, can it be > unmountedHi William, its the only HDD on that machine. All the partitions are mounted. The error message refers to the HDD, not to any of the mounted partitions.> > WARNING: the kernel failed to re-read the partition table > > on /dev/sda (Device or resource busy).Thanks. -- Regards, Paul. England, EU. England's place is in the European Union.
Scott Robbins
2016-May-14 11:03 UTC
[CentOS] C6: Gparted "the kernel failed to re-read partition table"
On Sat, May 14, 2016 at 05:19:07AM +0100, Always Learning wrote:> > > On Fri, 2016-05-13 at 23:17 -0453, William A. Mahaffey III wrote: > > > Is the disk or 1 of its partitions mounted ? If so, can it be > > unmountedFirstly, if at all possible, you're better off doing it with disks unmounted, booting from a gparted live CD. 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. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Keith Keller
2016-May-14 17:59 UTC
[CentOS] C6: Gparted "the kernel failed to re-read partition table"
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
Always Learning
2016-May-14 19:39 UTC
[CentOS] C6: Gparted "the kernel failed to re-read partition table"
On Sat, 2016-05-14 at 07:03 -0400, Scott Robbins wrote:> Firstly, if at all possible, you're better off doing it with disks > unmounted, booting from a gparted live CD. > > 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.On C6, kernel 2.6.32-573.26.1.el6.x86_64, GParted did not succeed using GParted 0.19.1 Libparted 2.1 On C5, kernel 2.6.18-410.el5, Gparted succeeds with some HDDs, but not others, using GParted 0.4.8 Libparted 1.8.1 Using a 'rescue' disk, Parted Magic 2013_02_28, I ran Gparted version 0.14.1 Libparted 3.1 on a Linux kernel of 3.7-9-pmagic. It created the partitions and formatted them without problems. Never had a gui partition creation problem when installing from C 6.5 minimum install disk Have I found a bug in C6 ? -- Regards, Paul. England, EU. England's place is in the European Union.