[PVE-User] How to resize raw disk size in VM?

Alain Péan alain.pean at lpn.cnrs.fr
Thu Feb 14 12:14:14 CET 2013


Le 14/02/2013 05:17, Bruce B a écrit :
> Hi Everyone,
>
> I have a Windows 2008 R2 installed in VM on Proxmox 2.1-1. I am 
> running out of space on C:\ drive. What is the right way to increase 
> the raw disk size? I don't want to risk loosing of the C:\ data of course.

Hi Bruce,

When I have this kind of problem, I use two solutions :
- If C: is one raw disk, create a new bigger disk, boot with clonezilla, 
clone the old disk on the new, then change the old with the new one in 
Proxmox console (removing the old disk does not delete it, in case there 
is a problem you can reuse it).
- If the disk is divided between say a C: partition and a D:, boot on 
parted magic, shrink D: partition and expand C:. I never had a problem 
with parted magic (gparted), but it is perhaps more cautious to create a 
beckup first (you can backup the VM...).

Alain.

-- 
Administrateur Système/Réseau
Laboratoire de Photonique et Nanostructures (LPN/CNRS - UPR20)
Centre de Recherche Alcatel Data IV - Marcoussis
route de Nozay - 91460 Marcoussis
Tel : 01-69-63-61-34




More information about the pve-user mailing list