Diskpart ???????-?????? ?????? ?? ?????

???? ?????? ???? ??????
???? ID: 300415 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.

Windows <a0>$$$$</a0><a1>$$$$</a1><a2>$$$$</a2><a3>$$$$</a3><a4>$$$$</a4><a5>$$$$</a5><a6>$$$$</a6><a7>$$$$</a7><a8>$$$$</a8><a9>$$$$</a9><a10>$$$$</a10>, <a11>$$$$</a11>?????????<a12>$$$$</a12><a13>$$$$</a13><a14>$$$$</a14><a15>$$$$</a15><a16>$$$$</a16><a17>$$$$</a17> 3 (SP3) <a18>$$$$</a18> Windows XP <a19>$$$$</a19><a20>$$$$</a20><a21>$$$$</a21>.. ???? ??????? ?? ???, ?? Microsoft ??? ????? ???????? ????::Windows ?? ??? ????????? ?? ??? ?????? ?????? ?? ??? ??

??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

?? ???? Diskpart. exe ?????? ?? ????? ???? ??? ?? ?? ?????????, ?????? ???? ????, ?? ???? ???? ????? ????????? ?? ?????? ??????????? ?? ????? ???? ?? ??? ?? ?????? ?? ????? ?? ???? ???? Diskpart ????? ?????????? ???????? ???? ??????? (GUI) enhances ???

???? ???????

Diskpart ?? ????? ????-?????? ?? ?? ?????????? ??????? ??? ???? ??? ?????? ??? ??? ????? ???? ??? ???? ????, ???????? ??????? ???? ?? ??? ???? ??? ?? ?? ???? ?????/?????? (i/O)? ?? ???? ?? ?????, ????????, ?? ??????? ?? ?? ????????? ?? ???? ?? ???? ????

????? ??????? ?? ??? ????? ????

Diskpart ????? ??????? ?????-?? ?????? ??????? ???????? ?? ?? superset ????? ???? ??? ????? ??????? ?????-?? inadvertently ?????? ??? ???? ?? ???? ?? ???? ?? ?? ???? ?? ???? ?????????? ????? ?? ??????? ?? ???? ?? ?? ?? ?? ????? Diskpart. exe ?????? cautiously ??????? Diskpart ?????? ?? ??? ?? ?????? ???????? ????? ???? ???

?? ???? ??? ????? ?? ???????? ????? ??? ?????? ???? ?? ??? Diskpart ?? ????? ?? ???? ???? ??? ????? ?? ???? ??? ?? ?? ???? ?? ?? ???????? ???????? ?? ??????? ?????? ??? ??? ??? ????? ??? ??? ???? ????? ?? ?????? ?? ??? ?????? ?? ???? ??? ??? ????? ??????-??????? ????? ???? ??????? ?? mirrors ??????? (FtDisk) ??? ???? ?? ????? FtDisk ??????? ??? ?? ?? ??? ????? ?? ?????? ???? ?? ??? ????? ??????? ?? ????? Windows 2000 ?? Windows XP ??? ???????? ???? ?? ???? ????? ??? ?????? ?????

?? ???? ??? ????? ?? ???????? ????? ??? ?????? ???? ?? ??? Diskpart ?? ????? ?? ???? ???? ??????? ????????? ???? ?? ???? ??? ?? ???????? ??????? ????? ?????? ??? ?? ???? ?? ????????? ????????? ??? ?? ??? ?? ?? ???????? ????? ?? ?????? ?? ????? ?? ???? ??? ?? ???????? ?? ?? ?? ?????? ?? ??? ??????? ??? ???, ?? ???? ??? ?? ??? ????? ??? ?????? ????? ??? ???????? ???? ?????? ????? ?????? ??? ??? ??, ??? ???? ???? ??? ?? ???????? ???????? ???????? ?? ?? ?? ??????? ??? ?? ??? ????, ?? ???????? ?? ???????? ???? ??? ?????? ?? ???? ???

?? ?? ?????? ????? ????? ?? ?? ?????? ?? ????? ?? ??? Diskpart ?? ????? ?? ???? ??? ????? ??????? ?????-?? ???? ??? ???????? ??????? ?? ?? ???? ?? occupied ??????? ?? ??? ??? ???????? ????? ?????? ??? ??????? (MBR) ????? ?? ?????? ????? ?? ???? ??? ???? ?????? ???? ?????? ?? ?????? ???? ?? ???? Offsets ???????? ?? ?????? ????? ??? ??? ???, ?? ???? ?? ????? ???????? ???? ?? ??? ???? ????? ???? Diskpart ?? ???? ?? ?? ???????? ?? ??? ?????? ????? ????? ????? ?????????? ??????? ????? ????? ?? ??? ?????? ????? ????? ???? ?? ??? ???? ???

Diskpart ???????? ??? ???? ?? ???? snap-in. ???????? ????? ?? ??????? ????? ???? ????? ?? ????? ???? 1394 ?? ????????? ?????? ?? (USB) ??????, ???????? ??????? ?? ?????? ???? ????? ????? ?????? ???? ?? ???? ???

?????? Diskpart ???? ??? ?????? ????? ???????? ?? ?????-?? ?????? ????? ???? ??? ??? For example, you can use Diskpart to delete MBR OEM partitions. However, these partitions often contain files that are important to the platform operation. Diskpart blocks the deletion of the current system, boot, or paging volumes and partitions. Also, Diskpart blocks deletion of the partitions that underlie dynamic disks.

You cannot use Diskpart to create a partition on removable media. Windows supports at most one MBR partition on removable media. If the media is manufactured with an MBR, that MBR cannot be altered, but the MBR is followed even if multiple partitions or logical drives are configured. If the media is manufactured without an MBR, the media is treated as a "superfloppy" and no partition structure is written to the media.

The drive letter for a removable drive is associated with the drive, and not with the media. You can use Diskpart to change the drive letter.

Diskpart causes disk signatures, GUID partition table (GPT) disk globally unique identifiers (GUIDs), and GPT partition GUIDs to be generated. You cannot explicitly set these items by using Diskpart.

The Diskpart utility (like the snap-in) includes support for the new Itanium disk partition scheme called GPT. You cannot use GPT disks on any x86-based Windows XP-based or Windows 2000-based computers. Diskpart enables the conversion of GPT partitioning to MBR partitioning only for empty disks.

You can use Diskpart to delete missing dynamic disks. Dynamic disks contain a shared database; all of the dynamic disks on a computer have knowledge of all other dynamic disks on that computer. When dynamic disks are moved, the original computer considers theses disks as "missing".

Drive letters are not automatically assigned when you use Diskpart. To ensure that a given partition or volume has a drive letter, you must explicitly assign a drive letter. You can either assign the drive letter or allow the next available drive letter to be allocated.

Setting Focus

Most Diskpart commands operate on a specific target disk, partition, or volume. The targeted object has "focus." Focus simplifies the common configuration task in which you create multiple partitions on the same disk. An object is put into focus by theselect????? All Commands except forlist,help,rem,exit??,helprequire focus.

?????selectcommand to explicitly change the focus. To implicitly change the focus, use a command such ascreate. You must set the disk focus before you manage a basic disk. On basic disks, the partition focus and volume focus are the same. If you change the focus on one item, you change the focus on the other. On dynamic volumes, only the volume focus is important because the previous partition focus is always lost and the disk focus is only important for simple volumes.

Consider the following examples of a computer that has two disks:
  • Each disk contains two primary partitions. The first disk contains the C and D partitions; the second disk contains the E and F partitions. You must set the disk focus to disk 1 before you set the partition focus to either the C or D partitions. You can set the volume focus to either the C, D, E, or F partitions at any time. In this example, if you set the volume focus to the C or D partition, the disk focus does not change; however, if you set the volume focus to the E or F partitions, the disk focus may be moved to the other disk.
  • Each disk is dynamic and contains a simple volume and free space. The first disk contains the C partition, and the second disk contains the E partitions. You must set the disk focus before you add a simple volume to the first disk. To extend the C partition, you need to set only the volume focus. Similarly, to add a mirror to the E partition, you need to set only the volume focus to the E partition. If you create a simple volume or extend an existing volume onto the same disk, you do not change the disk focus. If you add a mirror, create a stripe set, or extend an existing volume onto a different disk, you can cause the disk focus to be lost.

Scripting

Diskpart supports scripted operations. To initiate a Diskpart script, use thediskpart /s script.txt????? You can script Diskpart on Windows XP, Windows 2000, Remote Installation Services (RIS) unattended install environments, or on the Windows Preinstall Environment (PE) for OEMs.

By default, Diskpart can quit command processing and return an error code if there is a problem in the script. To continue to run a script in this scenario, include thenoerrparameter on the command. This parameter allows you to use a single script to delete all partitions on all data drives, regardless of the total number of drives. However, not all commands support thenoerrparameter. Even if you use thenoerrparameter, an error is always returned on command syntax errors.

The following list describes the error codes for Diskpart:
  • 0 - No error occurred. The entire script ran without failure.
  • 1 - A fatal exception occurred. There may be a serious problem.
  • 2 - The arguments specified on a Diskpart command line were incorrect.
  • 3 - Diskpart was unable to open the specified script or output file.
  • 4 - One of the services Diskpart uses returned a failure.
  • 5 - A command syntax error occurred. The script failed because an object was improperly selected or was invalid for use with that command.
After you run Diskpart, the Diskpart version and current computer name are displayed.

Command Summary

Commands to Set Focus

select

?????selectcommand to set the focus to the specified target. To obtain a list of focus types, leave the??????:field blank. If you do not specify an identification (ID) number, the current focus object is displayed.

select disk[=n]

?????select diskcommand to set the focus to the disk that has the specified Windows NT disk number. If you do not specify a disk number, the command displays the current in-focus disk.

select partition[=n/l]

??????????? ?? ??? ???????????? ?? ????????? ???? ?? ??? ????? ??? ???? ?? ??? ???? ??? ??? ?? ?? ???????? ?? ????????? ???? ????, ?? ??????? ???-???? ???????? ????????? ???? ???

??? ????? ?? ?? ???? ?? ?? ?? ???????? ?? ?? ?? ???????????, ?????? ????? ?? ?????? ????????? ???? ?? ????? ????? ????? ?? ???????? ????? ?? ??????????? ?????? ???????? ???? ????????? ?? ?????

[n/l =] ??? ?? ??? ????

???????? ?? ??? ??????????? ?? ????????? ???? ?? ??? ????? ??? ???? ?? ??? ???? ??? ??? ?? ???? ??????? ?? ????????? ???? ????, ???? ??????? ???-???? ??????? ????????? ???? ???

?? ??????? ?? ?? ?? ???????????, ?????? ????? ?? ????? ????? ?? ?????? ????????? ?? ???? ???? ???? ??? ????? ?? ??? ?? ???? ??????? ?? ??? ????, ?? ???? ???????? ?? ??? ?? ?????

????? ??????????? ?? ????????? ???? ?? ??? ????

???????????? ?????? ????????? ???? ?? ??? ???? ??? ???? ??????? ?? ????????? ???? ?? ??? ????? ??? ????, ?? ?? ?? ????? ??????????????

????? ?????

?????????? ??????????? ?? ???, ??????? ???-???? ????? ?? ???? ??? ??????? ??????? ?? ??????? ???? ?? ??? ????:
Diskpart> select disk 3 
  
Disk 3 is now the selected disk. 
  
Diskpart> detail disk 
  
Maxtor 90432D2
Disk ID: F549D151
Type   : IDE
Bus    : 0
Target : 0
LUN ID : 0 
  
  Volume ###  Ltr  Label        Fs     Type              Size     Status     Info 
  ----------  ---  -----------  -----  ----------------  -------  ---------  -------- 
  Volume 0     F   My RAID Set  NTFS   RAID-5            4096 MB  Healthy 
  Volume 1     G   FATSTRIPE    FAT32  Stripe            6144 MB  Healthy 
  Volume 2     H   My Mirror    NTFS   Mirror            2048 MB  Healthy
  Volume 3     I   My Span      NTFS   Spanned              9 GB  Healthy
				
??????? ??????

???????????? ????????????? ???-???? ????????; ?? ???? ??? ??????? ??????? ?? ??????? ???? ?? ??? ????
Diskpart> select disk 0

Disk 0 is now the selected disk.

Diskpart> select partition 1

Partition 1 is now the selected partition.

Diskpart> detail partition

Partition 0
Type  : 07
Hidden: No
Active: Yes

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
* Volume 2    C                 NTFS   Partition   4110 MB  Healthy    System
				
????? ???????

?????????? ????????????? ?? ???, ??????? ???-???? ??? ?? ???? ??? ??????? ??????? ?? ??????? ???? ?? ??? ????:
Diskpart> select volume 1 
  
Volume 1 is now the selected volume. 
  
Diskpart> detail volume 
  
  Disk ###  Status      Size     Free     Dyn  Gpt 
  --------  ----------  -------  -------  ---  --- 
  Disk 1    Online         8 GB      0 B   * 
  Disk 2    Online         8 GB      0 B   * 
  Disk 3    Online         8 GB      0 B   *
				
???? ?????

????????? ????????????? ?? ???????? ????? ?? ???? ??? ?????? ??????? ??????? ???? ?? ??? ???? ??? ??????? ????? (*) ?? ??? ????? ?? ??????? ???? ??? ???? ??????? ?? ??????? (?????? ?? ???, integrated ?????? electronics [IDE] ?? ???? ???????? ?????? ??????? [SCSI]) ?? ???? ???? ????? ????? (?????? ?? ???, 1394 ?? USB) ???????? ???? ???? ???? ????? ???????? ????????? ???? ???? ????
Diskpart> select disk 3 
  
Disk 3 is now the selected disk. 
  
Diskpart> list disk 
  
  
  Disk ###  Status      Size     Free     Dyn  Gpt 
  --------  ----------  -------  -------  ---  ---
  Disk 0    Online      4118 MB      0 B
  Disk 1    Online         8 GB  4002 MB   * 
  Disk 2    Online         8 GB      0 B   * 
* Disk 3    Online         8 GB      0 B   * 
  Disk M0   Missing        8 GB      0 B   *
				
???? ????????

????????? ?????????????? ?? ??? ?????-??? ????? ?? ???????? ???????? ?? ???? ??? ??????? ?? ??????? ???? ?? ??? ????:
Diskpart> select disk 4 
  
Disk 4 is now the selected disk. 
  
Diskpart> list partition 
  
  Partition ###  Type              Size     Offset 
  -------------  ----------------  -------  ------- 
  Partition 1    Primary           4094 MB    31 KB 
  Partition 2    Extended          4581 MB  4094 MB 
  Partition 3    Logical           2047 MB  4094 MB 
  Partition 4    Logical           2533 MB  6142 MB
 
All partitions (regardless of type) are displayed.
				
???? ???

????????? ????????? ?? ???, ???????? ??? ???????? ??? ?? ???? ??? ??????? ?? ??????? ???? ?? ??? ????:
Diskpart> list volume 
  
  Volume ###  Ltr  Label        Fs     Type              Size     Status      Info    
  ----------  ---  -----------  -----  ----------------  -------  ----------  --------
  Volume 0     F   My RAID Set  NTFS   RAID-5            4096 MB  Healthy
  Volume 1     G   FATSTRIPE    FAT32  Stripe            6144 MB  Failed
  Volume 2     H   My Mirror    NTFS   Mirror            2048 MB  Healthy
  Volume 3     I   My Span      NTFS   Spanned              9 GB  Healthy
  Volume 4     D                CDFS   CD-ROM                0 B
  Volume 5     C                NTFS   Partition         2047 MB  Healthy     System
  Volume 6     E                NTFS   Partition         2063 MB  Healthy     Boot
  Volume 7     J   My Primary   NTFS   Partition         4095 MB  Healthy
  Volume 8     K   My Logical   NTFS   Partition         2047 MB  Healthy
  Volume 9     L   My Next Log  NTFS   Partition         2534 MB  Healthy
				

??? ????? ?? ???????? ???? ?? ??? ????

?? ??? ????? ?? ?????? ?? ????? ?? ??? ?? ?? ?????? ????? ????? ????, ?? ????? ????? ????? ?? ???? ??? ?? ???? ?? ????? ???? ??? ??? ??????? ?? ???? ?? ??? ??? ???? ???? ????? ???????? ????? ?? ????? ???? ?? ??? ?? ?????? ?? ??? ????? ?? ???????? ????? ?? ?????? ???? ?? ??? ?? ????? ???? ?? ??? ????? ???????? ?? ???????? ?????

??? MBR ?????, ????????,????????????? ???? ?????? ?? ???????? ???? GPT ????? ????????,????????????? ?????? ?????? ?? ???????? ???? ??? ???????????????? ????????? ???? ???? ??? ??, ?? ???????? ?? ???????? ?? ?? ???? unoccupied ?????? ????? ???? ??? ??? ??? ??? ??????????????? ???????? ???? ??, determined ????? ???? ?? ???? ????? ?? ???? ?? ????????? ?? ??? ??? ?? ??? ???????? ????????? ???? ?? ???? ???

?? ????? ???? ???? ???, ?? ??? ?? ?? MBR ????? assumed ???? ???? ?????? ?????? ??? ?? ?? ????? ??? ?????? GPT ???? ?? ??? ???? GPT ?????? ????? ?? ?????? ???? ?? ????? ?? ??????? ?? ???? ?? ?? ???????? ???? ????? ?? ???? ???????? ?? ??? ?? ?????? ?? ??? ????? ?? ????? ???????? (??? ESP) ?? ??? ??? MSR ?????? After you convert from MBR to GPT, the MSR partition is automatically created on the disk.

After you create any new partition, the newly created partition gains the partition focus. After you delete any partition, the partition focus is lost. The disk focus remains unchanged in all cases.

active

?????activecommand to set the current in-focus partition to "active." This setting informs the firmware that the partition is a valid system partition. Diskpart does not validate the partition contents.

???:: If you use this command, the computer may be unable to restart.

assign [[letter=l]/[mount=path]] [noerr]

?????????? ????command to assign a letter or mount point to the current in-focus partition. If you do not specify a drive letter, the next available drive letter is assigned. If the letter or mount point is already in use, an error is generated unless you use thenoerrparameter.

You can use this command to change the drive letter that is associated with a removable drive.

The drive letter assignment is blocked on the system, boot, or paging volumes. This command cannot be used to assign a drive letter to an OEM partition or any GPT partition, other than the Msdata partition.

create partition primary [size=n] [offset=n] [id=byte/guid] [noerr]

?????create partition primarycommand to create a primary partition of length size and a starting address offset on the current drive.

If an ID byte is not specified on an MBR disk, this command creates a partition with type "0x6." ?? ????? ?? ???? ???IDparameter to specify the partition type. There is no validity or other checking of the ID byte.

If you do not specify an ID GUID on a GPT disk, this command creates an Msdata partition. ?? ????? ?? ???? ???IDparameter to specify any GUID. There is no validity, duplication, or other checking of the GUID. The partition instance GUID is automatically generated.

MBR and GPT partitions are created so that Windows does not automatically allocate drive letters. You must explicitly assign a drive letter.

create partition extended [size=n] [offset=n] [noerr]

?????create partition extendedcommand to create an extended partition of length size and starting address offset on the current drive. The drive must be an MBR disk.

After the partition is created, the new extended partition gains the focus. You can create only one extended partition. You can create logical drives only after you create an extended partition.

create partition logical [size=n] [offset=n] [noerr]

?????create partition logicalcommand to create a logical drive of length size and starting address offset in an existing extended partition on the current disk. The drive must be an MBR disk.

If an offset is not listed, the logical drive is placed in the first unoccupied contiguous disk extent in the extended partition that is large enough. If a size is not listed, the partition may be extended to occupy the entire extended partition.

After you create the partition, the logical drive gains the partition focus.

create partition msr [size=n] [offset=n] [noerr]

Thecreate partition msrcommand is the equivalent of creating the partition with the MSR GUID E3C9E316-0B5C-4DB8-817D-F92DF00215AE.

create partition esp [size=n] [offset=n] [noerr]

Thecreate partition espcommand is the equivalent of creating the partition with ESP GUID C12A7328-F81F-11D2-BA4B-00A0C93EC93B.

delete partition [noerr] [override]

?????delete partitioncommand to delete the current in-focus partition.

Diskpart blocks the deletion of the current system, boot, or paging volume. To delete either an ESP, MSR, or a known OEM partition, you must specify theoverrideparameter.

extend [size=n][noerr]

?????extendcommand to cause the current in-focus volume to be extended into contiguous unallocated space. The unallocated space must follow (it must be of higher sector offset than) the in-focus partition. The intended use of this command is to grow an existing basic data partition into newly created space on an extended hardware Raid logical unit number (LUN).

If the partition had been previously formatted with the NTFS file system, the file system is automatically extended to occupy the larger partition, and data loss does not occur. If the partition had been previously formatted with any file system format other than NTFS, the command is unsuccessful and does not change the partition.

Diskpart blocks the extension of only the current system or boot partition.

remove [[letter=l]/[mount=path]/[all]] [noerr]

?????removecommand to remove a letter or mount point from the current in-focus partition. If you specify theallparameter, all of the current drive letters and mount points are removed. If you do not specify a letter or mount point, the drive letter is removed.

Use this command to change the drive letter that is associated with a removable drive.

The drive letter removal is blocked on the system, boot, or paging volumes. You cannot use this command to remove a drive letter to an OEM partition, any GPT partition with an unrecognized GUID, or any of the special non-data, GPT partitions, such as, the ESP partition.

Commands to Manage Dynamic Disks

You can use the commands that are described in this section to create and delete volumes, repair fault tolerant volumes, and import disks.

Thesize???????? ??? ????? ???????? MB ?????? ???? ?? ???? ?? ?? ?????? ????? ????????? ???? ???? ?? ???? ??? ??????? ????? ???????? ?? ?? ???? unoccupied ?????? ????? ???? ??? ????? ??? ??? ???? ???? ???????? ???? ??, ???? ??????? ??????? ?? ???? ???

???? ??????? ?? ????? ??, ?? ??? ??????? ???? ???? ?? ?? ??? ?? ??? ??? ??????? ????? ???? ?? ???? ?? ??? ??????? ??????? ?? ??????? ??? ??? ???? ??????? ??? ?? ???? ??, ?? ??? ???? ?? ???? ??? ??? ??? ???? ?? ???? ??? ??? ????? ????? ???? ???? ?? ???? ???? ??????? ??? ????, ?? ????? ???? ???? ???

???:: Diskpart forces ??????? ?? ???? ????? ????? ?? ??? MSR ???????? ?? ?? ?? ????? ?? ???????? ?? GPT ????? ??? ?????? ???? ??? ???

??????

?????????????????? ???-???? ??????? "??????." ?? ??? ??? ??? ???? ?? ??? ???? ???? ??? ??????? ?? ?????? ???? ???????? ?? ???????? ??? ????? ?????? ?????? ??? ??????? Diskpart ??? ???? ?? ??????? ???????? ?????? ??? ???? ????? ??? ???? ???? ??? ????? ??, ????? ?????? ???????? ??????? ?? ????? ????? ??? ?? ?? ???? ?? ????? ???????? ???? ?? ???? ?? ???????? ???? ?? ??? ?? ?????

????? ?????? n [noerr] =

?????add???? ????????? ????? ?? ??????? ???-???? ??? ?? ????????? ????? ?? ??? ??? ???? ?? ????????? plexes ??????? ???? ??????? ???-???? ??????? ??? ??? ??????? ??????? ???? ?????? ???

????? ???? [[????? = l] / [????? ?? =]] [noerr]

?????????? ????????? ????? ???? ?? ????? ?? ??????? ???-???? ??????? ?? ????? ???? ?? ??? ???? ??? ??? ?? ?? ?????? ????? ?? ????????? ???? ????, ?? ???? ?????? ?????? ????? ????? ???? ??? ????? ?? ????? ????? ?? ???? ?? ?? ????? ??? ??, ??? ??? ?????? ?? ????? ?? ?? ?? ?? ????????? ????noerr?????????

??????, ???, ?? ?????? ??????? ?? ?????? ????? ????????? ?? ????? ???? ??? ???

????? ????? n [nokeep] [noerr] =

????????????????? ???-???? ????????? ?? ??? ???? ?? ??? ???? ???

???????? ??? ??, ????? ????????? plexes ?? ??????? ??? ??? ??? ??????? ????? plexes ?????? ??????? ?? ???? ???? ??? ?? ?????????nokeep????????, ???? ????????? plex ??? ??, plex ????? ???? ?? ?? ????? ?? ????? ???? ?? ??? ?????? ?????

??? ??????? retains any ?? ??? ?????? ????? ?? ????? ????? ???? ??? plex ???? ??? ??, ???? ???? ????????? ????? ?? ?????? retained ??????? ?? ??? ??????, ???? ???? ?? ??? ????????? ????? ?? ????????? retained plex ???? ??? Plex ?? ?? ??????? ??????? ?? ???? ??; ???????, ?? ?????? ????? ?? ???? ?? ????? ???? ??? ??? ????

?????? ??????? ????? [???? = n] [????? = n] [noerr]

???????????? ?? ??? ????????? ????????? ????? ?? ?????? ??????? ?? ????? ???? ?? ????? ?? ??? ???

??? ?? ???? ???? ????????? ???? ??, ?? ?? ??? ??? ??? ?????? ????? ????? ?? ??? ?? ?? ???? ???? ??? ?? ???? ????? ????????? ???? ??, ??????? ???-???? ????? ?? ????? ???? ???? ???

??????? ????? ??, ?? ??? ????? ???? ?????? ????? ?? ?? ?? ???

??????? stripe ????? [???? = n] ????? = n [, n [,...]] [noerr]

???????????? stripe ????????? ????????? ????? ?? ??? stripe ??? ??????? ?? ????? ?? ??? ??? Stripe ??????? ?? ??? ???? ???? multiplied (*) ?????? ????? ?? ?????? ???

??? ?? ???? ???? ????????? ???? ??, ???? ??????? stripe ??????? ?? ???? ??? ???? ???? ?????? ????? ????? ?????? ???? ????? ?? ????????? ???? ??? ??? ?? ???? ????? ?? ???? ?? stripe ??????? ?? ??? ???? ????????? ???? ??? ???? ???? ?? ???????? ????? ?? ?????? ???

??????? raid ????? [???? = n] ????? = n [, n [,...]] [noerr]

???????????? raid ????????? ????????? ????? ?? ??? raid-5 ??????? ?? ????? ?? ??? ??? ???????? ????? ?? ????? "????" ?? ????? ?? ?? ???? ?????? ?????? ?? ???

??? ?? ???? ???? ????????? ???? ??, ???? ??????? raid 5 ??????? ?? ???? ??? ???? ???? ?????? ????? ????? ?????? ???? ????? ?? ????????? ???? ??? ??? ?? ???? ????? ?? ???? ?? raid 5 ??????? ?? ??? ???? ????????? ???? ??, ?? ???? ???? ?????? ???????? ????? ?? ??? ??? ?? ?????? ???????? ???? ?? ?? ??, ????? ?? ?????? ?????? multiplied ???? ??????? ??? ????? ?????? ?? ??? ????? ???? ???? ???

delete disk [noerr][override]

?????delete diskcommand to delete a missing dynamic disk from the disk list.

If you do not specify theoverrideparameter, all of the simple volumes that are contained on the disk are deleted and any mirror plexes are removed. If the disk contributes to a Raid 5 volume, the command is unsuccessful.

delete partition [noerr] [override]

?????delete partitioncommand to delete the current in-focus partition.

Diskpart blocks the deletion of any partitions that are used to contain existing online dynamic volumes. Those volumes must be deleted and the disk converted to basic. To delete an ESP, MSR, or known OEM partition, specify theoverrideparameter.

You can delete partitions from dynamic disks, but you cannot create them. For example, you can delete an unrecognized GPT partition on a dynamic GPT disk. If you delete a partition, the free space does not become available. You can use this command to reclaim the space on a corrupted offline dynamic disk in an emergency situation in which you cannot use theclean?????

delete volume [noerr]

?????delete volumecommand to delete the current in-focus volume. After you use this command, all data is lost.

extend disk=n [size=n] [noerr]

?????extendcommand to extend the current simple or the extended volume onto the specified disk. Theextendcommand only works with NTFS volumes.

If you do not specify a size, the volume can occupy all of the free space on the specified disk. Any existing disk focus is lost.

import [noerr]

?????importcommand to import all of the disks from a foreign disk group.

If you set the focus on any disk in the foreign disk group, you can import all disks in the group. After you run this command, any existing volume or disk focus is lost.

online [noerr]

?????onlinecommand to bring a disk or volume that had previously been taken offline back online. A change in focus does not occur if you use this command.

remove [[letter=l]/[mount=path]/[all]] [noerr]

?????removecommand to remove a letter or mount point from the current in-focus volume. ??? ?? ?? ?????allparameter, all of the current drive letters and mount points are removed. If you do not specify a letter or mount point, the path that is encountered first is removed.

The drive letter removal is blocked on the system, boot, or paging volumes.

retain

?????retaincommand to prepare a dynamic simple volume to be used as a boot or system volume.

??? ?? ?? ?????retaincommand on an x86-based computer, an MBR partition on the dynamic simple volume is created with focus. To create an MBR partition, the dynamic simple volume must start at a cylinder aligned offset and be an integral number of cylinders in size.

??? ?? ?? ?????retaincommand on an Itanium-based computer, theretaincommand creates a GPT partition on the dynamic simple volume with focus.

Commands to Convert Disks

convert mbr [noerr]

?????convert mbrcommand to set the partitioning style of the current disk to MBR. The disk may be a basic disk or a dynamic disk but the disk must not contain any valid data partitions or volumes.

convert gpt [noerr]

?????convert gptcommand to set the partitioning style of the current disk to GPT. The disk may be a basic or a dynamic disk but it must not contain any valid data partitions or volumes. This command is valid only on Itanium-based computers; it may be unsuccessful on x-86-based computers.

convert dynamic [noerr]

?????convert dynamiccommand to change a basic disk into a dynamic disk. The disk may contain valid data partitions.

convert basic [noerr]

?????convert basiccommand to change an empty dynamic disk to basic.

Miscellaneous Commands

exit

?????exitcommand to stop Diskpart and return control to the operating system.

clean [all]

?????cleancommand to remove partition or volume formatting from the current in-focus disk by zeroing sectors. By default, only the MBR or GPT partitioning information and any hidden sector information on MBR disks is overwritten. If you specify theallparameter, each and every sector can be zeroed, and all data that is contained on the drive can be deleted.

rem [...]

Theremcommand does nothing, and you can use it to comment script files.

rescan

?????rescancommand to rescan all I/O buses and cause any new disks that have been added to the computer to be discovered.

??? ?? ????

???

??????????? ?????? ?? ???? ????????? ???? ?? ??? ???? ???

???????? ??????? ?? ??? Diskpart. exe ?????? ??, ??? ??Diskpart??? ?? ?????? ?????? ?? Windows XP ????

???

???? ID: 300415 - ????? ???????: 29 ??????? 2010 - ??????: 4.0
???? ???? ???? ??:
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional x64 Edition
??????: 
kbproductlink kbenv kbui kbinfo kbmt KB300415 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:300415

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com