Community
 
 
 

CloudPlatform 4.x

284 abonnés
 
Avatar
Neil Soyez

Root Volume Resize

Hello,

   I need to resize the Root Volume of an Instance for a customer.   I can see how this is done for DataDisk Volumes, but I do not see a way to increase the size of the Root Volume.

 

CCP 4.5

XenServer 6.5

iSCSI Primary Storage

 

Any suggestions would be greatly appreciated.

 

Thank you.


2 commentaires
0

Vous devez vous connecter pour laisser un commentaire.

 
 

Previous 2 commentaires

Avatar
Pankaj Paliwal
Avatar

Root Volume Resize

I don't believe that CCP supports resizing the root volume. Since root volume size is determined by the template, getting this to work would potentially break the ability to reset the instance to the original template.

 

What I'm about to suggest wouldn't be supported and should be tested with another Instance before trying it on the desired Instance. Please note, I haven't tried this myself but it might work.

 

  1. Create a test instance using the same template
  2. Login to test instance to verify everything works
  3. Shutdown the test instance
  4. In XenCenter, find the volume associated with the test instance (will need the UUID of the volume, I think)
  5. Resize the test instance's disk
  6. Start the test instance
  7. Login to test instance and resize the filesystem (and volume if template uses LVM)

If step 6 doesn't work, you may need to modify the CCP database (unsupported) to mark the root volume as a different size. This will likely be needed anyway if you are "billing" for storage.

 

Good luck and let us know how it goes.

 

--Mike@Redapt


Michael Little MEMBERS
Actions pour les commentaires Permalien
Avatar
Neil Soyez

Michael,

   I have been sucessful in resizing the Root Disk via XenServer and expanding the partition from within Windows.   But, as I feared, CCP does not recognize the new Root Disk size.    I'm sure editing the CCP database would resolve that, but I don't think that I would be up for doing that.   For now, I am just going to reccomend to our clients that they uses a minimum of a 40GB Root Disk for Windows Servers.  The foreseeable problem with that is that, inevably, that Windows disk will fill up over time.  (MS Updates, temp files, applications, and so forth)   I just wish that this ability will be added in the future.

   Thanks for your assistance!


Actions pour les commentaires Permalien

Top Contributors