diskpart
-
windows recovery console adina fdisk replacement'i.
-
windows 2000'den beri windowsta bulunan disk bölümleme aracı.
-
sadece recovery console'da degil her yerde her ortamda kullanilabilir.
-
bu utility ile disk management arayüzünde yapabildiğiniz herşeyi yapabilirsiniz. özellikle disklerin raid konfigurasyonu, düşülen diskpart prompt'undan pratik bir şekilde birkaç komut yardımıyla yapılandırılabilir. ayrıca diskpart prompt'unda help komutuyla geçilebilecek bütün komutlar görüntülenebilir.
-
disk part komutları
list disk
list partition
list volume
select disk=n
select partition=n
select volume=n_or_d (number or drive letter)
detail disk
detail partition
detail volume
active (set the current in-focus partition to be the system partition)
assign (allocate the next free drive letter)
assign letter=e (choose a free letter)
attributes disk [{set | clear}] [readonly] [noerr]
attributes volume [{set | clear}] [{hidden | readonly | nodefaultdriveletter | shadowcopy}] [noerr]
automount [enable] [disable] [scrub] [noerr]
filesystems (use 'select volume' first)
help
inactive (mark a system/boot partition as inactive [don’t boot], use 'select partition' first)
offline disk [noerr] (take the current disc offline, use 'select disk' first)
online {disk|volume} [noerr]
rem (remark/comment)
remove letter=e [dismount] [noerr] (remove drive letter e from the in-focus partition)
remove mount=path [dismount] [noerr] (remove mount point from the in-focus partition)
remove /all [dismount] [noerr] (remove all current drive letters and mount points)
rescan (locate new disks that have been added to the computer)
shrink [desired=n] [minimum=n] [nowait] [noerr] (reduce the size of the in-focus volume)
exit
uniqueid disk [id={dword | guid}] [noerr]
(display or set the guid partition table identifier or mbr signature for the disk with focus)
commands to manage basic disks:
assign mount=path (choose a mount point path for the volume)
create partition primary size=50000 (50 gb)
create partition extended size=25000
create partition logical size=25000
delete partition
extend size=10000
gpt attributes=n (assign guid partition table attributes)
set id=byte|guid [override] [noerr] (change the partition type)
commands to manage dynamic disks:
add disk=n (add a mirror to the in-focus simple volume on the specified disk see 'diskpart help' for more.)
break disk=n (break the current in-focus mirror)
create volume simple size=n disk=n
create volume stripe size=n disk=n,n,...
create volume raid size=n disk=n,n,...
delete disk
delete partition
delete volume
extend disk=n [size=n]
extend filesystem [noerr]
import [noerr] (import a foreign disk group, use 'select disc' first)
recover [noerr] (refresh disc pack state, attempt recovery on an invalid pack, & resynchronize stale plex/parity data.)
repair disk=n [align=n] [noerr] (repair the raid-5 volume with focus, replace with the specified dynamic disk)
retain (prepare an existing dynamic simple volume to be used as a boot or system volume)
commands to convert disks
convert basic
convert dynamic
convert gpt
convert mbr
clean [all] (remove all partition and volume info from the hard drive)
format [{fs=ntfs|fat|fat32] [revision=x.xx] | recommended}] [label="label"] [unit=n] [quick] [compress]
[override] [nowait] [noerr]
the diskpart commands may be placed in a text file (one command per line) and used as an input file to diskpart.exe:
diskpart.exe < myscript.txt
example:
select disk=0
create partition primary
assign letter=e
select partition=1
format fs=ntfs label="new volume" quick
exit
kaynak
ekşi sözlük kullanıcılarıyla mesajlaşmak ve yazdıkları entry'leri
takip etmek için giriş yapmalısın.
hesabın var mı? giriş yap