[SOLVED] RHEL 6 "after partitioning the kernel didn't update the new partition it need reboot"
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks for share
"In RHEL6, you should be using sector units, not cylinders. Add a few extra flags to your fdisk command, -c to turn off DOS Compatibility mode (you don't need it), and -u to change units to sectors not cylinders."
But after creating partition on OS disk in command line need reboot but in GUI no need to reboot after creating partition
so their is something which works in GUI which should be enable in command line so i am on my way if i crack it i will shared if someone have done it then plz shard
In RHEL6, you should be using sector units, not cylinders. Add a few extra flags to your fdisk command, -c to turn off DOS Compatibility mode (you don't need it), and -u to change units to sectors not cylinders.
but the issue of creating partition at OS drive remain same in command line & in GUI no need to reboot i am working on that
if i resolve it then i will share it or if someone else done it then share it.
First time I also get this error and found that, On which drive OS resides and when trying to partprobe it will give you error.
In that case reboot is required to update in kernel. this is application only for local drive.
Device Boot Start End Blocks Id System
/dev/sda1 * 1 40 314368 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 40 932 7168000 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 932 1063 1048576 82 Linux swap / Solaris
/dev/sda4 1 1 992+ 5 Extended
Partition 4 does not end on cylinder boundary.
/dev/sda5 1 1 961 8e Linux LVM
Partition table entries are not in disk order
[root@pantdk ~]#
but the issue of creating partition at OS drive remain same in command line & in GUI no need to reboot i am working on that
I'm re-opening this thread after quiet sometime, and hope I get some reply
Regarding what you have said about partprobe in CLI & GUI modes, I didn't find any difference. I see the same error on RHEL6 Desktop too.
#partprobe -s /dev/sda
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.
Obviously, partx -a /dev/sda did the trick, but I want to know how did it work for you in GUI? Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.