Ask Your Question

How to add multiple LVM partitions ?

asked 2014-10-05 02:20:29 -0500

SaeedMasoumi gravatar image

updated 2014-10-05 17:46:01 -0500

mether gravatar image

In my fedora20 i have 3 partitions (/boot /swap /home) .Now i have an unallocated partition and want to add another LVM partition like my home folder partition .


1.Is there any way to to this ?

2.Can i add this partition in a new folder like /home2/username or /home/new_partiton ?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-05 15:52:25 -0500

msuchy gravatar image

If your /home and swap are on LVM, then it is not partiotion (to be precise). First you must create partiotion, then mark it as physical volume, make it part of volume group and then you can create logical volume, which can have filesystem, which you can mount as /home2/username.

You can run


which will show whether your volume group have some free space:

PV                                         VG            Fmt  Attr PSize   PFree 
/dev/md1                                   vg0           lvm2 a--  931.42g 10.00g

Which in my case shows 10GB of free space on volume group 'vg0'. You can create new logical volume by running:

lvcreate -L5GB -n home2 vg0
mkfs.ext4 /dev/vg0/home2

and you can add this formated logical volume to /etc/fstab to automaticaly mount it after reboot.

Or if you prefer GUI, you can

sudo yum install gnome-disk-utility


sudo yum install kde-partitionmanager

and follow your intuition.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-10-05 02:20:29 -0500

Seen: 128 times

Last updated: Oct 05 '14