• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Expand a vhd

J

JackSpratt

#1
No doubt this has been asked a thousand times.
Easy way to increase the size of a vhd?
I seem to have underestimated how quickly I would use up the size of my
win2.8k virtual.

Did a quick Google and found talk of 3rd party tools and stuff.
Does it take that?
 

My Computer

S

Steve Jain

#2
Yes. YOu can't expand a VHD beyond its maximum size without 3rd party tools
or imaging it to a larger VHD

"JackSpratt" wrote:

> No doubt this has been asked a thousand times.
> Easy way to increase the size of a vhd?
> I seem to have underestimated how quickly I would use up the size of my
> win2.8k virtual.
>
> Did a quick Google and found talk of 3rd party tools and stuff.
> Does it take that?
> .
>
 

My Computer

R
#3
yes you can :-)

1. you do have an Hyper-V system available which can expand a VHD.
2. Have an Win7/R2 system available and use diskpart for expand the maximum
size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" -> EXPAND VDISK
MAXIMUM=100 (MB)

Regards
Ramazan

"Steve Jain" <essjae@newsgroup> wrote in message
news:DE9662DD-5ACC-400E-BCCA-53696CE60C08@newsgroup

> Yes. YOu can't expand a VHD beyond its maximum size without 3rd party
> tools
> or imaging it to a larger VHD
>
> "JackSpratt" wrote:
>

>> No doubt this has been asked a thousand times.
>> Easy way to increase the size of a vhd?
>> I seem to have underestimated how quickly I would use up the size of my
>> win2.8k virtual.
>>
>> Did a quick Google and found talk of 3rd party tools and stuff.
>> Does it take that?
>> .
>>
 

My Computer

S

Steve Jain

#4
One thing to keep in mind is the maximum limit for a VHD for VPC is 127GB.
Don't expand it beyond that.

"JackSpratt" wrote:

> No doubt this has been asked a thousand times.
> Easy way to increase the size of a vhd?
> I seem to have underestimated how quickly I would use up the size of my
> win2.8k virtual.
>
> Did a quick Google and found talk of 3rd party tools and stuff.
> Does it take that?
> .
>
 

My Computer

J

JackSpratt

#5
RCan wrote:

> yes you can :-)
>
> 1. you do have an Hyper-V system available which can expand a VHD.
> 2. Have an Win7/R2 system available and use diskpart for expand the
> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" -> EXPAND
> VDISK MAXIMUM=100 (MB)
Perfect... almost.
Now my guest OS has 28GB of unallocated space.
How do I merge this onto the existing drive?


>
> Regards
> Ramazan
>
> "Steve Jain" <essjae@newsgroup> wrote in message
> news:DE9662DD-5ACC-400E-BCCA-53696CE60C08@newsgroup

>> Yes. YOu can't expand a VHD beyond its maximum size without 3rd party
>> tools
>> or imaging it to a larger VHD
>>
>> "JackSpratt" wrote:
>>

>>> No doubt this has been asked a thousand times.
>>> Easy way to increase the size of a vhd?
>>> I seem to have underestimated how quickly I would use up the size of my
>>> win2.8k virtual.
>>>
>>> Did a quick Google and found talk of 3rd party tools and stuff.
>>> Does it take that?
>>> .
>>>
 

My Computer

B

Bill Grant

#6
"JackSpratt" <pickledpork@newsgroup> wrote in message
news:OMDQPmw1KHA.5828@newsgroup

> RCan wrote:

>> yes you can :-)
>>
>> 1. you do have an Hyper-V system available which can expand a VHD.
>> 2. Have an Win7/R2 system available and use diskpart for expand the
>> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" -> EXPAND
>> VDISK MAXIMUM=100 (MB)
>
> Perfect... almost.
> Now my guest OS has 28GB of unallocated space.
> How do I merge this onto the existing drive?
>
>
Extend the partition.
 

My Computer

J

JackSpratt

#7
Bill Grant wrote:

>
>
> "JackSpratt" <pickledpork@newsgroup> wrote in message
> news:OMDQPmw1KHA.5828@newsgroup

>> RCan wrote:

>>> yes you can :-)
>>>
>>> 1. you do have an Hyper-V system available which can expand a VHD.
>>> 2. Have an Win7/R2 system available and use diskpart for expand the
>>> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" ->
>>> EXPAND VDISK MAXIMUM=100 (MB)
>>
>> Perfect... almost.
>> Now my guest OS has 28GB of unallocated space.
>> How do I merge this onto the existing drive?
>>
>>
>
> Extend the partition.
>
>
using diskpart on the host? on the guest? disk management?
I tried right clicking on the (guest) C drive and extending but it won't
let me have the unallocated.
 

My Computer

J

JackSpratt

#8
JackSpratt wrote:

> Bill Grant wrote:

>>
>>
>> "JackSpratt" <pickledpork@newsgroup> wrote in message
>> news:OMDQPmw1KHA.5828@newsgroup

>>> RCan wrote:
>>>> yes you can :-)
>>>>
>>>> 1. you do have an Hyper-V system available which can expand a VHD.
>>>> 2. Have an Win7/R2 system available and use diskpart for expand the
>>>> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" ->
>>>> EXPAND VDISK MAXIMUM=100 (MB)
>>>
>>> Perfect... almost.
>>> Now my guest OS has 28GB of unallocated space.
>>> How do I merge this onto the existing drive?
>>>
>>>
>>
>> Extend the partition.
>>
>>
>
> using diskpart on the host? on the guest? disk management?
> I tried right clicking on the (guest) C drive and extending but it won't
> let me have the unallocated.

ok got it
Run diskpart on guest os

select disk 0
disk detail
select volume 1
extend

done.
 

My Computer

R
#9
;-)

Regards
Ramazan

"JackSpratt" <pickledpork@newsgroup> wrote in message
news:uAjYn#Q2KHA.5820@newsgroup

> JackSpratt wrote:

>> Bill Grant wrote:

>>>
>>>
>>> "JackSpratt" <pickledpork@newsgroup> wrote in message
>>> news:OMDQPmw1KHA.5828@newsgroup
>>>> RCan wrote:
>>>>> yes you can :-)
>>>>>
>>>>> 1. you do have an Hyper-V system available which can expand a VHD.
>>>>> 2. Have an Win7/R2 system available and use diskpart for expand the
>>>>> maximum size of a VHD -> SELECT VDISK FILE="c:\test\test.vhd" ->
>>>>> EXPAND VDISK MAXIMUM=100 (MB)
>>>>
>>>> Perfect... almost.
>>>> Now my guest OS has 28GB of unallocated space.
>>>> How do I merge this onto the existing drive?
>>>>
>>>>
>>>
>>> Extend the partition.
>>>
>>>
>>
>> using diskpart on the host? on the guest? disk management?
>> I tried right clicking on the (guest) C drive and extending but it won't
>> let me have the unallocated.
>
>
> ok got it
> Run diskpart on guest os
>
> select disk 0
> disk detail
> select volume 1
> extend
>
> done.
 

My Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)