PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.virtualserver > how to expand space for a given virtual image
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
how to expand space for a given virtual image

Réponse
 
LinkBack Outils de la discussion
Vieux 02/04/2008, 17h05   #1
Fritz Theiss
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut how to expand space for a given virtual image

hi,

i am using vs 2005 r2 and have an image with 16 GB of size. 2 GB of this
size is still free in the image itself, the rest is used by os and my apps.

i now want to upgrade this image from w2k3 to w2k8, but this requires 8 gb
of free space. how to do this without mounting a separate disk (not a given
option here).

note that installing a new w2k8 from scratch is neither an option here.

thanks in advance, fritz
---
Fritz Theiss

  Réponse avec citation
Vieux 02/04/2008, 17h42   #2
Ryan Sokolowski [MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to expand space for a given virtual image

Basically, use VHDMount and Robocopy as detailed here:

1. shut down the guest virtual machine
2. Create thru the Virtual Disk Wizard a new dynamically expanding disk with
a max size of 100 Gb => this creates Cbis.vhd with an initial size of a few
Kb.
3. close Virtual PC 2007
4. use VHDMount (installed it on my Vista machine from the Virtual Server
2005 SP1 installation) to issue the following commands
(if prompted to format a disk, don't do it, if X: or Y: drives don't get
created, don't worry)
vhdmount /m /f C.vhd X
vhdmount /m /f CBis.vhd Y
5. go to Disk Management (Computer, Manage, Disk Management) on the real
Vista machine
assign X: to the disk corresponding to C.vhd if it's not already done
format the disk corresponding to CBis.vhd. NTFS, quick formatting is OK
assign Y: to the disk corresponding to Cbis.vhd if it's not already done
6. Copy all the files from X: to Y:
robocopy X:\ Y:\ /E /COPYALL /R:5
Fix any remaining copy issues (for instance ACL not authorizing
administrators group to read)
7. go to Disk Management (Computer, Manage, Disk Management) on the real
Vista machine
Mark Y: partition as active
8. Unmount X: and Y:
vhdmount /u All
9. Change the virtual machine .vmc file (with notepad) and replace C.vhd by
Cbis.vhd
10. Restart virtual machine

Full Credit to Benjamin Guinebertière:
http://blogs.msdn.com/benjguin/default.aspx
--

Ryan Sokolowski
MVP - Windows Server - Clustering
MCSE, CCNA, CCDA, BCFP


"Fritz Theiss" <fritz@anywhere.com> wrote in message
newsA428E96-A490-4490-A447-1E445DD16832@microsoft.com...
> hi,
>
> i am using vs 2005 r2 and have an image with 16 GB of size. 2 GB of this
> size is still free in the image itself, the rest is used by os and my
> apps.
>
> i now want to upgrade this image from w2k3 to w2k8, but this requires 8 gb
> of free space. how to do this without mounting a separate disk (not a
> given option here).
>
> note that installing a new w2k8 from scratch is neither an option here.
>
> thanks in advance, fritz
> ---
> Fritz Theiss


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 17h29.


Édité par : vBulletin® version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09213 seconds with 10 queries