modifying the size of two disks .vdi
modifying the size of two disks .vdi
I have reach a strange situation :
host windows 7 - 64 -16GB RaM
guest windows xp , with two data disks
I apply the command :
Vboxmanage modifyhd "Y:\VirtualBox\Data\Machines\WindowsXPpro-btwinVA-COMUNICACIONES\WindowsXPpro-btwinVA-COMUNICACIONES-disk2.vdi" --resize 50000 for one of the disks and seems quickly resized.
I observ this in the main VB window by the size indicated for disk2.vdi
But also observ a occupation of 67 MB.
I enter in the COMUNICACIONES machine and see that the old .vdi continues with the same size of 10 GB and the old occupation. No data loss. I have a security copy if necessary, but I don't understand what is happening.
Can you help me please ?
Best Regards
host windows 7 - 64 -16GB RaM
guest windows xp , with two data disks
I apply the command :
Vboxmanage modifyhd "Y:\VirtualBox\Data\Machines\WindowsXPpro-btwinVA-COMUNICACIONES\WindowsXPpro-btwinVA-COMUNICACIONES-disk2.vdi" --resize 50000 for one of the disks and seems quickly resized.
I observ this in the main VB window by the size indicated for disk2.vdi
But also observ a occupation of 67 MB.
I enter in the COMUNICACIONES machine and see that the old .vdi continues with the same size of 10 GB and the old occupation. No data loss. I have a security copy if necessary, but I don't understand what is happening.
Can you help me please ?
Best Regards
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: modifying the size of two disks .vdi
Just increasing the size of the hard drive will not extend the primary partition to use the new space.
viewtopic.php?f=24&t=50661
viewtopic.php?f=24&t=50661
Re: modifying the size of two disks .vdi
I'll tryPerryg wrote:Just increasing the size of the hard drive will not extend the primary partition to use the new space.
viewtopic.php?f=24&t=50661
Any problem i will comment
Best Regards
Re: modifying the size of two disks .vdi
I have found this tutorial .
http://www.llakomy.com/articles/increas ... th-gparted
but really i don't see any unallocated space.
I only see the three original 10 GB disks , but no the new size created that i can see from outside the VM in the storage section.
Best Regards
Note : The two 10 GB disks are data disks inside the VM
I haven't try resize the system disk of 10 GB because is a VMDK and have to convert to vdi.
http://www.llakomy.com/articles/increas ... th-gparted
but really i don't see any unallocated space.
I only see the three original 10 GB disks , but no the new size created that i can see from outside the VM in the storage section.
Best Regards
Note : The two 10 GB disks are data disks inside the VM
I haven't try resize the system disk of 10 GB because is a VMDK and have to convert to vdi.
Re: modifying the size of two disks .vdi
May be in relation with the limit four IDE devices ?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: modifying the size of two disks .vdi
Are you booting the guest with the Gparted ISO in the guests virtual drive?
Do you have snapshots?
Do you have snapshots?
Re: modifying the size of two disks .vdi
Hello again Perry.
I have 5 snapshots
I am not able to understand well the second question. The GParted drive seems to be IDE secondary master. Please see my screenshot.
I have 5 snapshots
I am not able to understand well the second question. The GParted drive seems to be IDE secondary master. Please see my screenshot.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: modifying the size of two disks .vdi
I think I see what is happening. Since the VDI drives are not the primary drive Gparted is not seeing them.
I can see that the resize did work for the HDD but the partition will not show by 10GB and you can't extend the primary partition to use the new space.
I don't know if this is an XP host issue or not. Someone with XP as host will need to test.
The other thing is you can not resize a drive if you have snapshots. I have not tested this on secondary drives though. That I can try tomorrow.
I can see that the resize did work for the HDD but the partition will not show by 10GB and you can't extend the primary partition to use the new space.
I don't know if this is an XP host issue or not. Someone with XP as host will need to test.
The other thing is you can not resize a drive if you have snapshots. I have not tested this on secondary drives though. That I can try tomorrow.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: modifying the size of two disks .vdi
I go to this sooner and can tell you that if you have snapshots you can not resize the additional drives either.
Re: modifying the size of two disks .vdi
Perryg wrote:I go to this sooner and can tell you that if you have snapshots you can not resize the additional drives either.
Do you have any idea ?
Perhaps delete the snapshots ?
Clone the virtual machine ?
No solution ?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: modifying the size of two disks .vdi
The safest is to clone the guest. select to create a new guest as one file without snapshots. ( not sure the exact wording )
Then you will be able to see the new sizes in Gparted.
Then you will be able to see the new sizes in Gparted.
Re: modifying the size of two disks .vdi
I'll try and comment.
Best Regards
Best Regards







