Linux/Unix Command: make the new disk partition take effect without restarting the partprobe System

Source: Internet
Author: User
Tags compact

I learned a new command:PartprobeThis command can make the new disk partition take effect without restarting the operating system.

Default location:/sbin/partprobe. Related commands:Parted.

In practice, warnings are sometimes reported and partition information is not updated successfully.

Partprobe-S

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.

Name

Partprobe-notifies the system kernel of the change information of the partition table.

Summary

Partprobe[-D] [-S] [Devices...]

Description

PartprobeIsProgramTo notify the operating system kernel of the change information of the partition table by requesting the operating system to re-read the partition table.

Option

This program uses short format options.

-D
Do not update the kernel.
-S
Displays the summary of devices and partitions.
-H
Displays the summary of the options.
-V
Displays the program version.

 

Name

Partprobe-inform the OS of Partition Table changes

Synopsis

Partprobe[-D] [-S] [Devices...]

Description

This manual page documents brieflyPartprobeCommand.

PartprobeIs a program that informs the operating system kernel ofpartition table changes, by requesting that the operating system re-readthe partition table.

Options

This program uses short UNIX style options.

-D
Don't update the kernel.
-S
Show a summary of devices and their partitions.
-H
Show Summary of options.
-V
Show version of program.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.