I have a Linux LVM volume that is about 400 GB.
I have shrunk it to 200 GB to get some space for a new NTFS partition on which I can install Win7.

umount /local
e2fsck -f /dev/mapper/vg00-lvol2
resize2fs /dev/mapper/vg00-lvol2 217G
lvresize -L 217G /dev/mapper/vg00-lvol2
lvdisplay /dev/mapper/vg00-lvol2
mount /local

I have now about 200 GB of free space in the LVM volume.

-->lvm pvs
  PV         VG   Fmt  Attr PSize   PFree  
  /dev/sda3  vg00 lvm2 a--  465.16G 213.00G

How can I create an NTFS partition on that free space? I'm guessing I'll need something on the lines of:

  1. Logical LVM volume on that free space: lvcreate vg00 -l100%FREE
  2. Physical LVM volume on that logical volume.
  3. LVM volume group on that physical volume.
  4. mkfs on the LVM volume grooup.
link|improve this question
feedback

migrated from stackoverflow.com Nov 4 '11 at 8:02

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.