Unable to access a newly created partition on Red Hat Enterprise Linux 6
Issue
-
We attempted to create a new partition to a system volume by using the parted command. However, the parted command reported the following error.
# parted -s /dev/sda mkpart primary 44502MiB 100000MiB 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. -
Using fdisk to create a new partition results warning messages (same messages as above)
-
Using
partprobeto add newly created partitions worked in RHEL5 but now only print out the above warning message -
Modifying a disk's partition table using parted to add, remove or resize partitions fails to create /dev entries.
-
Attempting to use partprobe to refresh the partition table information known by the kernel fails.
-
partprobecommand fails to reread the partition table -
How do we add newly created disk partitions on RHEL6?
Environment
- Red Hat Enterprise Linux 6 (RHEL6)
- parted v2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
