[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Dom0 windows server 2003 lvm resize

Posted on 2011-02-22
1
Medium Priority
?
657 Views
Last Modified: 2012-05-11
I need to reduce the disk size allocated to a windows 2003 paravirtual lvm disk based vm.
Using Centos, using LVM to allocate disk to VMs (windows and linux VMs).
Windows VM is only one disk, only one ntfs partition on it.
I need to shrink ntfs partition in guest before resizing volume, but I am unable to boot from KNOPPIX live cd (iso), it hangs at "Booting kernel..."
My question: how-to successfully boot Knoppix cd (want to use it to resize windows partition).
Below is my vm config.

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048   
shadow_memory = 8
name = "docushare"
vif = [ 'type=ioemu, mac=00:16:3E:56:B7:99,bridge=xenbr1,script=vif-bridge' ]
acpi = 1
apic = 1
disk = [ 'phy:/dev/raid/docusharewin,hda,w', 'file:/root/Desktop/knoppix.iso,hdc:cdrom,r'  ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot = "d"
sdl = 0
vnc = 1
vncconsole=1
serial='pty'
usbdevice='tablet'
on_poweroff='destroy'
on_reboot='restart'
on_crash='restart'
0
Comment
Question by:markymarkmenard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
TobiasHolm earned 2000 total points
ID: 34958590
Hi!

You can try to boot from another CD to make the resize. Try "System Rescue" and run GParted. There are LVM tools on the CD as well.

http://www.sysresccd.org/Main_Page

Regards, Tobias
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question