Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a xen DomU running with Windows Server 2003 on a lvm partition has 10GB but i need more.

if a Linux partition, I would do:

# umount
# lvextend -L +10G /dev/<VG>/<LV>
# resize2fs /dev/<VG>/<LV>

but the partition has inside a partition ntfs in other words

with kpartx command i can see

vg-lv1 :  0 20948697 /dev/vg/lv 63

How can resize this?

share|improve this question
    
Boot a livecd in a VM that supports expanding NTFS partitions? –  Zoredache Jan 14 '13 at 17:50
add comment

1 Answer

You have several options:

  1. You can grow NTFS volumes from within Windows using the diskpart command. IIRC this does not work for the system volume, though.
  2. Since you exposed the partition(s) with kpartx you should be able to grow the file system from the Dom0 with something like GParted.
  3. You can use a Live CD (e.g. Parted Magic) as mentioned by @Zoredache.
share|improve this answer
    
I'll try with a liveCD if this fails –  rkmax Jan 14 '13 at 18:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.