DISKPART: Difference between revisions
From ICO wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
create partition extended [size=N] [offset=N] [noerr] | create partition extended [size=N] [offset=N] [noerr] | ||
'''Näide:''' | '''Näide:''' | ||
create partition extended size=200 offset=1 | |||
===Create partition logical=== | ===Create partition logical=== | ||
Line 18: | Line 20: | ||
create partition logical [size=N] [offset=N] [noerr] | create partition logical [size=N] [offset=N] [noerr] | ||
'''Näide:''' | '''Näide:''' | ||
create partition logical size=200 offset=1 | |||
===Create partition primary=== | ===Create partition primary=== | ||
Line 23: | Line 26: | ||
create partition primary [size=N] [offset=N] [ID={Byte | GUID}] [align=N] [noerr] | create partition primary [size=N] [offset=N] [ID={Byte | GUID}] [align=N] [noerr] | ||
'''Näide:''' | '''Näide:''' | ||
create partition primary size=200 offset=1 | |||
===Create volume simple === | ===Create volume simple === | ||
Line 28: | Line 32: | ||
create volume simple [size=N] [disk=N] [noerr] | create volume simple [size=N] [disk=N] [noerr] | ||
'''Näide:''' | '''Näide:''' | ||
create volume simple size=200 disk=0 | |||
===Create volume stripe === | ===Create volume stripe === | ||
'''Süntaks:''' | '''Süntaks:''' | ||
create volume stripe [size=N] disk=N,N[,N,...] [noerr] | create volume stripe [size=N] disk=N,N[,N,...] [noerr] | ||
'''Näide:''' | '''Näide:''' | ||
create volume stripe size=200 disk=0,1 | |||
==Kustutamine== | ==Kustutamine== | ||
Line 38: | Line 44: | ||
delete disk [noerr] [override] | delete disk [noerr] [override] | ||
'''Näide:''' | '''Näide:''' | ||
delete disk override | |||
===Delete partition === | ===Delete partition === | ||
'''Süntaks:''' | '''Süntaks:''' | ||
delete partition [noerr] [override] | delete partition [noerr] [override] | ||
'''Näide:''' | '''Näide:''' | ||
delete partition override | |||
===Delete volume === | ===Delete volume === | ||
'''Süntaks:''' | '''Süntaks:''' | ||
delete volume [noerr] | delete volume [noerr] | ||
'''Näide:''' | '''Näide:''' | ||
delete volume | |||
==Muud tihedamalt kasutust leidvad käsud== | ==Muud tihedamalt kasutust leidvad käsud== | ||
===List Disk Partition Volume=== | ===List Disk Partition Volume=== | ||
Line 55: | Line 65: | ||
list volume | list volume | ||
'''Näited:''' | '''Näited:''' | ||
===Select Disk Partition Volume=== | ===Select Disk Partition Volume=== | ||
'''Syntaks:''' | '''Syntaks:''' |
Revision as of 20:40, 31 May 2010
Sissejuhatus
Diskpart on käsurea programm, mis on mõeldud kõvakettastega seotud objektidega(kettad, partitsioonid, volüümid) toimetamiseks. Käsklusi on võimalik edastada käsurea kaudu või skriptideks kirjutatud kujul. Viimane teeb diskpart programmi eriti väärtuslikuks, sest see võimaldab automatiseerida kõvaketastega tehtavaid operatsioone ja saab kasutada erinevate depolyment tehnikate juures.
Sisu
Loomine
Create partition extended
Süntaks:
create partition extended [size=N] [offset=N] [noerr]
Näide:
create partition extended size=200 offset=1
Create partition logical
Süntaks:
create partition logical [size=N] [offset=N] [noerr]
Näide:
create partition logical size=200 offset=1
Create partition primary
Süntaks:
create partition primary [size=N] [offset=N] [ID={Byte | GUID}] [align=N] [noerr]
Näide:
create partition primary size=200 offset=1
Create volume simple
Süntaks:
create volume simple [size=N] [disk=N] [noerr]
Näide:
create volume simple size=200 disk=0
Create volume stripe
Süntaks:
create volume stripe [size=N] disk=N,N[,N,...] [noerr]
Näide:
create volume stripe size=200 disk=0,1
Kustutamine
Delete disk
Süntaks:
delete disk [noerr] [override]
Näide:
delete disk override
Delete partition
Süntaks:
delete partition [noerr] [override]
Näide:
delete partition override
Delete volume
Süntaks:
delete volume [noerr]
Näide:
delete volume
Muud tihedamalt kasutust leidvad käsud
List Disk Partition Volume
Syntaks:
list disk
list partition
list volume
Näited:
Select Disk Partition Volume
Syntaks:
select disk=[N]
select partition=[N]
select volume=[N]
Näited:
Assign
Syntaks:
assign [{letter=D | mount=Path}] [noerr]
Näide:
Detail Disk Partition Volume
Syntaks:
detail disk
detail partition
detail volume
Näide:
Extend
Syntaks:
extend [size=N] [disk=N] [noerr]
Näide:
Remove
Syntaks:
remove [{letter=D | mount=Path | all}] [dismount] [noerr]
Näide: