Extend/shrink partition using diskpart.exe
for extend the partition first we have to select the partition.
Command
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
Right click on the one disk and select spanned volume
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
once finished the size configuration click on next
Assign a drive letter and click on next
Click on finish.Then it will prompt for message saying that all the disk required to convert to dynamic disks.click on yes
Now we can see the created spanned volume
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)