DISKPART: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Evaldmet (talk | contribs)
No edit summary
Evaldmet (talk | contribs)
No edit summary
Line 10: Line 10:
===Create partition extended===
===Create partition extended===


'''Syntaks:'''
'''Süntaks:'''
  create partition extended [size=N] [offset=N] [noerr]
  create partition extended [size=N] [offset=N] [noerr]


===Create partition logical===
===Create partition logical===


'''Syntaks:'''
'''Süntaks:'''
  create partition logical [size=N] [offset=N] [noerr]
  create partition logical [size=N] [offset=N] [noerr]


===Create partition primary===
===Create partition primary===


'''Syntaks:'''
'''Süntaks:'''
  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]


===Create volume simple  ===
===Create volume simple  ===


'''Syntaks:'''
'''Süntaks:'''
  create volume simple [size=N] [disk=N] [noerr]
  create volume simple [size=N] [disk=N] [noerr]


===Create volume stripe  ===
===Create volume stripe  ===
'''Syntaks:'''
'''Süntaks:'''
  create volume stripe [size=N] disk=N,N[,N,...] [noerr]
  create volume stripe [size=N] disk=N,N[,N,...] [noerr]


Line 35: Line 35:


===Delete disk===
===Delete disk===
'''Syntaks:'''
'''Süntaks:'''
delete disk [noerr] [override]
 
===Delete partition ===
===Delete partition ===
'''Syntaks:'''
'''Süntaks:'''
delete partition [noerr] [override]
 
===Delete volume ===
===Delete volume ===
'''Süntaks:'''
delete volume [noerr]


==Muud tihedamalt kasutust leidvad käsud==
==Muud tihedamalt kasutust leidvad käsud==
===List Disk Partition Volume===
===List Disk Partition Volume===
'''Syntaks:'''
'''Syntaks:'''
list disk
list partition
list volume
===Select Disk Partition Volume===
===Select Disk Partition Volume===
'''Syntaks:'''
'''Syntaks:'''

Revision as of 20:09, 25 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]

Create partition logical

Süntaks:

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

Create partition primary

Süntaks:

create partition primary [size=N] [offset=N] [ID={Byte  | GUID}] [align=N] [noerr]

Create volume simple

Süntaks:

create volume simple [size=N] [disk=N] [noerr]

Create volume stripe

Süntaks:

create volume stripe [size=N] disk=N,N[,N,...] [noerr]

Kustutamine

Delete disk

Süntaks:

delete disk [noerr] [override]

Delete partition

Süntaks:

delete partition [noerr] [override]

Delete volume

Süntaks:

delete volume [noerr]

Muud tihedamalt kasutust leidvad käsud

List Disk Partition Volume

Syntaks:

list disk
list partition
list volume

Select Disk Partition Volume

Syntaks:

Assign

Syntaks:

Detail Disk Partition Volume

Syntaks:

Extend

Syntaks:

Remove

Scriptimine

Kokkuvõte