0

Can I convert Free space in a LVM partition to a ext3 partition? If I run pvs:

  PV         VG        Fmt  Attr PSize   PFree
  /dev/sda3  ubuntu-vg lvm2 a--  297,11g 30,02g

So I have 30GB unused, I would like to take them out of the LVM partition to convert it in ext3 partition. Is it possible? Or is it better to just partition these 30 GB in a new Logical Volume?

1 Answer 1

3

Since you have LVM set up, just use that — you can either extend an existing LV (and the filesystem it hosts), or create a new LV. See lvextend(8) and lvcreate(8) for details.

2
  • Will there be any differences if I use a new LV, or if this new partition is an ext3 partition? I would like this partition to be encrypted with the help of LUKS, is it possible in both cases? Commented Jun 15, 2016 at 7:18
  • 2
    If you create a new partition instead of a LV, you won't be able to manage it using LVM (resize it etc.); what's more, reducing your PV to create a new partition would be rather complex. You can use LUKS on top of a partition or a LV, it works just as well in both cases. Again, since you already have LVM set up, just use that, don't try to use partitions directly... Commented Jun 15, 2016 at 7:31

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.