|
From: | Curtis Gedak |
Subject: | Re: BLKPG changes pushed |
Date: | Fri, 23 Apr 2010 15:59:58 -0600 |
User-agent: | Thunderbird 2.0.0.24 (X11/20100317) |
Jim Meyering wrote:
... I just tried to add a couple partitions (in free space), and each time, I got this: $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 Warning: 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. I thought the intent was to avoid such warnings when they do not apply. The kernel was indeed notified of the creation of the two new partitions, and I was able to create file systems on them.
Do you have an active LVM on a partition on the drive?If so then that might be the reason why the warning is encounted. Having an active LVM on a partition is similar to having a mounted partition in that the partition is busy. I think that parted fails to detect active LVM partitions as being busy.
This problem was first brought to my attention by a GParted user. GParted fails to edit/delete partitions if active LVM on same disk device https://bugzilla.gnome.org/show_bug.cgi?id=608712 Regards, Curtis Gedak
[Prev in Thread] | Current Thread | [Next in Thread] |