request system partition compact-flash

Syntax

request system partition compact-flash

Release Information

Command introduced in Release 9.2 of Junos OS.

Description

Reboots the device and repartitions the compact flash. The compact flash is repartitioned only if it is possible to restore all the data on the compact flash. Otherwise, the operation is aborted, and a message is displayed indicating that the current disk usage needs to be reduced.

Required Privilege Level

maintenance

List of Sample Output

request system partition compact-flash (If Yes)
request system partition compact-flash (If No)

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request system partition compact-flash (If Yes)

user@host> request system partition compact-flash
Are you sure you want to reboot
and partition the compact-flash ? [yes,no] yes
Initiating repartition operation.
The operation may take several minutes to complete.
System will reboot now...
<System reboots>
<Repartition operation is performed>
<System reboots and starts up normally>

Sample Output

request system partition compact-flash (If No)

user@host> request system partition compact-flash
Are you sure you want to reboot
and partition the compact-flash ? [yes,no] no