Code 4 means that diskpart (one of the services used by the utility) returned a failure.Code 3 means that diskpart is unable to open the specified file.Code 2 means that the parameters you specified for a command are incorrect.Code 1 means that a fatal exception occurred.You can find a list error codes to debug various errors: help will display the list of all available commands.rescan can rescann the I/O buses and can discover new disks added to the computer.clean will remove the partition or volume formatting from the current disk.convert basic will convert a dynamic disk (empty disk) into a basic disk.convert dynamic will change a basic disk into a dynamic one.convert gpt will set the partition style to GPT.convert mbr will set the partition style of the current disk to MBR.retain is used to prepare a volume to be used as a boot or system volume.remove can be used to remove a letter or a mount point from the current active volume.online can be used to bring a disk or a volume online that was previously offline.import can be used to import disks from a foreigh disk group.extend disk – use this command to extend the current volume.delete partition – use this command to delete the current active partition.delete disk – use this command to delete a missing dynamic disk.create volume raid – use this command to create a Raid-5 volume on a specified disk.create volume stripe – use this to create a stripe set volume on a specified disk.break disk – use this command to break the mirror added.add disk – use this command to add a mirror to the current active volume.active – use this to set the current volume as active.remove will remove a letter or a mount point from the current active partition.delete partition will delete the current active partition.The SIZE_IN_MB is the size of the partition you want to create, in MB. create partition logical size=SIZE_IN_MB – use this command to create a new logical partition.create partition extended size=SIZE_IN_MB – use this command to create a new extended partition.
0 Comments
Leave a Reply. |