Extend/shrink partition using diskpart.exe
for extend the partition first we have to select the partition.
diskpart>extend size-=size we want to extend
For shrink the partition
Diskpart>shrink desired=size we want to shrink in mbs
Create spanned volumes.
spanned volume-to create spanned volume we should have at least two disks.
this lab we are using two 5 gb disks on this windwos 7 computer
Select the required sizes from two disks(from first disk im getting the full space and from second disk im taking only the 2 gb.If we have we can add upto 32 disks
Click on finish.Then it will prompt for message saying that all the disk required to convert to dynamic disks.click on yes
Create stripe volume from diskpart.exe
Create mirror volume
For creating mirrored volume we need two disks.(All the steps are same as creating spanned volume)