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 50: Line 50:
'''Syntaks:'''
'''Syntaks:'''
  list disk
  list disk
  list partition
  list partition
  list volume
  list volume
===Select Disk Partition Volume===
===Select Disk Partition Volume===
'''Syntaks:'''
'''Syntaks:'''
select disk=[N]
select partition=[N]
select volume=[N]
===Assign===
===Assign===
'''Syntaks:'''
'''Syntaks:'''
assign [{letter=D | mount=Path}] [noerr]
===Detail Disk Partition Volume===
===Detail Disk Partition Volume===
'''Syntaks:'''
'''Syntaks:'''
detail disk
detail partition
detail volume
===Extend===
===Extend===
'''Syntaks:'''
'''Syntaks:'''
===Remove===
===Remove===



Revision as of 20:14, 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:

select disk=[N]
select partition=[N]
select volume=[N]

Assign

Syntaks:

assign [{letter=D | mount=Path}] [noerr]

Detail Disk Partition Volume

Syntaks:

detail disk
detail partition
detail volume

Extend

Syntaks:


Remove

Scriptimine

Kokkuvõte