LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-04-2011, 12:17 PM   #16
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248

Original Poster
Blog Entries: 3

Rep: Reputation: 17

hey mikey99,

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
 
Old 12-04-2011, 12:46 PM   #17
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248

Original Poster
Blog Entries: 3

Rep: Reputation: 17
Hi,mikey99

Thanks to brief

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.
 
Old 01-29-2012, 12:38 PM   #18
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248

Original Poster
Blog Entries: 3

Rep: Reputation: 17
Hi All,

Rhel 6 install in a physicallaptop & in Vm-workstation 8 in my laptop the partition table update
with command
Quote:
partx -a /dev/sda
but in some lapee didn't work ???? i don't know

Last edited by pantdk; 01-30-2012 at 01:45 PM.
 
Old 01-30-2012, 12:09 AM   #19
JATA01
Member
 
Registered: Nov 2007
Posts: 207

Rep: Reputation: 15
Hi,

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.

Thanks-
 
Old 01-31-2012, 08:28 AM   #20
unibox
Member
 
Registered: Dec 2011
Location: India
Distribution: Centos,redhat,zentyal
Posts: 43
Blog Entries: 1

Rep: Reputation: Disabled
Hi,

try this option with device name

#partprobe /dev/sda5
 
Old 02-01-2012, 01:37 PM   #21
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248

Original Poster
Blog Entries: 3

Rep: Reputation: 17
Hi


that is used but no one is a perfect solution for that

Quote:
partx
parprob
kpartx
partprob
 
Old 11-21-2013, 08:12 PM   #22
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248

Original Poster
Blog Entries: 3

Rep: Reputation: 17
now today i found the solution. it may be a bug in rhel6

we have to run this command two time

[root@pantdk ~]# partx -a /dev/sda
BLKPG: Device or resource busy
error adding partition 1
BLKPG: Device or resource busy
error adding partition 2
BLKPG: Device or resource busy
error adding partition 3


[root@pantdk ~]# partx -a /dev/sda
BLKPG: Device or resource busy
error adding partition 1
BLKPG: Device or resource busy
error adding partition 2
BLKPG: Device or resource busy
error adding partition 3
BLKPG: Device or resource busy
error adding partition 4
BLKPG: Device or resource busy
error adding partition 5

[root@pantdk ~]#

[root@pantdk ~]# fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f3b67

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 ~]#

Last edited by pantdk; 11-21-2013 at 08:17 PM.
 
Old 08-30-2014, 09:14 AM   #23
nix.jsoni
LQ Newbie
 
Registered: Aug 2014
Posts: 1

Rep: Reputation: Disabled
[QUOTE=pantdk;4541809]

Quote:
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"fsck failed. Please repair manually and reboot" after chaning non-system partition undeaf SUSE / openSUSE 17 02-07-2014 12:18 PM
[SOLVED] How to stop imbecile message "Please reboot your system" after KDE update jlinkels Linux - Desktop 1 02-08-2011 07:34 PM
RHEL 5.4 (Tikanga) on "HP Proliant 380 G6" down, "kernel: Uhhuh. NMI received. ...." pkhera_2001 Linux - Hardware 12 09-01-2010 03:37 AM
Installed kernel-devel and source for i686; didn't create directory "build" itsonlyme Linux - Kernel 3 04-05-2007 09:08 AM
RH Linux 9.0 installation step "Auto partitioning" not able to read partition table awahab Linux - Newbie 5 05-19-2005 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration