Posts Tagged expand boot parition in xenserver windows vm
Expanding the C: drive (system boot partition)
Posted by Abbas in Uncategorized on March 3, 2010
So, I ran out of space on system partition in one of my primary xen virtual machines. Yea, things like this happen quite often when I literally underestimate myself. Unlike Linux, in this case there’s no power of init which lets you expand an LVM or move a system partition to new disk even without going through any reboots. I guess Microsoft realised that its an important option Windows should have so they provided in Windows Server 2008 and Windows 7 under Disk Management with an on the fly ability to either shrink or expand a system volume. But still its a painful risky process in XP or Server 2003. I’m familiar with third party softwares that help in resizing the partitions including GParted but like always I like to follow vendor supported methodologies on production machines. And it was ‘diskpart’ here. Booting the system from a Server 2008 / Vista DVD’s recovery tools or from WinPE, you can use diskpart. But first things first – there are three requirements you must have before going ahead.
- Free space should exist contiguous right after the system partition
- That free space partition must be of ‘primary’ type and must not be a logical partition.
- It should also be in ‘unallocated’ or deleted form without an existence of a ‘drive’ on it.
I had 10Gig C: and D: drive on a 20Gig of a disk. Added 10 more from XenCenter totalling into 30. As I needed a primary unallocated partition after C: drive so I had to use robocopy to backup the D: drive’s data into a network samba share, format and then split it into one primary and one extended partition.
Legends:
Red = Total system drive space before and after the expand
Blue = Total free space on disk before and after expand
Green = Commands issued.
enlarge system partition, expand boot parition in xenserver windows vm, expanding c; drive, photoblog, windows diskpart
Categories
Topics
adding host asci art in linux auto backup on xen cats zia intl airport CentOS hplip drivers with scanner support check and repair raid consistancy convert text into ascii art tool dhaka easiest way to create selfsigned certificates enable public access samba Error 0x800706d5 exim address rewriting figlet fixing hplip dependency errors headers_rewrite heartbeat high availability HP LaserJet M1120 HP LaserJet M1120 Red Hat increase raid resync install hplip on CentOS 5 ipvsadm and ldirectord on centos5 latest hplip 3.9 on CentOS 5.5 ldirector alternative linux_logo live rsync stats mdmonitor measure total progress of rsync nanny network load balancing NLB nlbmgr wizard overall rsync progress photoblog piranha tutorial pulse raid1 xen raid tips and tricks red red hat Redundant xenserver replace root sender address samba security set raid email alerts share guest account




Recent Comments