partprobe will NOT work..how will i pass this RHCSA exam with this?

uberwebguruuberwebguru Posts: 29Member ■□□□□□□□□□
I am days before the RHCSA exam and i have noticed i still haven't been able to successfully run partprobe successfully after months on testing and testing and testing..not a single time

i have tried

partprobe

partprobe /dev/sdx where sdx is drive name

it never works i get warning the kernel failed to re-read the partititon table on /dev/sdx (device or resource busy) as a result it may not reflect all of your changes until after reboot


What do i do?


yes parted is installed

Comments

  • thegreenlaanternthegreenlaantern Posts: 14Member ■□□□□□□□□□
    Partprobe never worked for me, reboot will find and set up your new drive. Sometimes a reboot will give you a few minutes to think about your next step.
  • jcadarshjcadarsh Posts: 32Banned ■□□□□□□□□□
    Why are you doing the partprobe for the RHCSA anyway ?

    I have done the exam and train students for this exam as well. I seem to miss the point
  • thegreenlaanternthegreenlaantern Posts: 14Member ■□□□□□□□□□
    Under the RHCSA objectives at: Red Hat | Red Hat Certified System Administrator (RHCSA) Exam objectives (EX200)

    Configure local storage
    • List, create, delete, and set partition type for primary, extended, and logical partitions.
    • Create and remove physical volumes, assign physical volumes to volume groups, and create and delete logical volumes.
    • Create and configure LUKS-encrypted partitions and logical volumes to prompt for password and mount a decrypted file system at boot.
    • Configure systems to mount file systems at boot by Universally Unique ID (UUID) or label.
    • Add new partitions and logical volumes, and swap to a system non-destructively.
  • uberwebguruuberwebguru Posts: 29Member ■□□□□□□□□□
    jcadarsh wrote: »
    Why are you doing the partprobe for the RHCSA anyway ?

    I have done the exam and train students for this exam as well. I seem to miss the point

    so i don't have to reboot? partprobe helps to discover the newly created partition without having to reboot
  • uberwebguruuberwebguru Posts: 29Member ■□□□□□□□□□
    Partprobe never worked for me, reboot will find and set up your new drive. Sometimes a reboot will give you a few minutes to think about your next step.

    thats the thing why can't i avoid reboot? reboot can eat out of my precious time for the exam and especially when i don't want something messed up or the the unforseen happening

    i mean why is the partprobe command created then? if it doesn't freaking work or at least when its not consistent? I see videos where it works and i get so annoyed when it never worked for me
  • undomielundomiel Posts: 2,818Member
    It sounds like you still have a file system mounted somewhere on that disk as parted 2.1 will fail on any partitions still in use from a file system. Make sure you are running it on a disk that has all file systems on that disk dismounted.
    Jumping on the IT blogging band wagon -- http://www.jefferyland.com/
  • uberwebguruuberwebguru Posts: 29Member ■□□□□□□□□□
    undomiel wrote: »
    It sounds like you still have a file system mounted somewhere on that disk as parted 2.1 will fail on any partitions still in use from a file system. Make sure you are running it on a disk that has all file systems on that disk dismounted.

    Not sure what you mean...but lets say i have one sda disk and have 7 partitions(primary and logical) and afetr creating the 7th partition i want to run partprobe...so what do i do? unmount all the other 6 partitions? before runningpartprobe?

    Not sure what you mean...will appreciate it if you can give a little more details

    thanks
  • undomielundomiel Posts: 2,818Member
    Read through this as it can explain things better than I would: https://access.redhat.com/site/solutions/57542
    Jumping on the IT blogging band wagon -- http://www.jefferyland.com/
Sign In or Register to comment.