On C6 (latest) I wanted to add an extra partition, number 14, to a 1TB GPT disk.
It failed repeatedly. The error message is:-
~~~~~~~
GParted 0.19.1
Libparted 2.1
Create Primary Partition #1 (ext4, 33.00 MiB) on /dev/sda 00:00:01 ( ERROR ) calibrate New Partition #1 00:00:00 ( SUCCESS ) path: /dev/sda-1 start: 613591359 end: 1953525134 size: 1339933776 (638.93 GiB) create empty partition 00:00:01 ( ERROR ) libparted messages ( INFO )
WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
~~~~~~~
Does C6's version of Gparted work with GPT disks ?
Thanks.
On 05/13/16 23:08, Always Learning wrote:
On C6 (latest) I wanted to add an extra partition, number 14, to a 1TB GPT disk.
It failed repeatedly. The error message is:-
GParted 0.19.1 Libparted 2.1 Create Primary Partition #1 (ext4, 33.00 MiB) on /dev/sda 00:00:01 ( ERROR ) calibrate New Partition #1 00:00:00 ( SUCCESS ) path: /dev/sda-1 start: 613591359 end: 1953525134 size: 1339933776 (638.93 GiB) create empty partition 00:00:01 ( ERROR ) libparted messages ( INFO ) WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot. WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
Does C6's version of Gparted work with GPT disks ?
Thanks.
Is the disk or 1 of its partitions mounted ? If so, can it be unmounted ? $0.02, no more, no less ....
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 unmounted
Hi 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.
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 unmounted
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 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
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 ?