4

When modifying the partition table, fdisk usually returns the following error message:

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.

The kernel still uses the old table. The new table will be used at the next reboot.

Is there any method to avoid the reboot?

  • depending of the partion you modify maybe mount -a could do the trick – Kiwy Apr 1 '14 at 11:58
8

There is a solution using partprobe from parted software. More information here: http://www.gnu.org/software/parted/

After using your fdisk command and having done your modifications, do a partprobe or partprobe /dev/sdx and it should inform the kernel of the change without reboot.

  • Resolved and worked with 'partprobe' by using the command: # /sbin/partprobe – Charles nakhel Apr 1 '14 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.