Ask Your Question
1

How to change "Home directory" size?!

asked 2018-04-18 09:54:49 -0500

SiliconeSoul gravatar image

Hello,

im not that linux pro and more a part-time-user. Yesterday I have installed Fedora 27 on my machine. Because all my tryouts to make partitioning by failed, so I freed up 100 GB on my sda and let Anaconda make the partitions. Now I see, that my / folder has 50 GB free but if I change to my "home" dir, there are just 20 GB free.

Ok, I thought that the auto-partition has made me a much too small /home partition. So I opend up gparted and .. there is no dedicated home mounting point. There is just

/dev/sda -> ntfs (windows 10)

/dev/sda2 -> EFI System Partition -> /boot/efi

/dev/sda3 -> ntfs (backup stuff for Win10 I think)

/dev/sda4 -> ext4 -> /boot

/dev/sda5 -> lvm2 pv -> fedora

So, what ever lvm2 pv means (it is noticed as the filesystem (never heared of this), it seems to wrap up root and home in one partition).

Now... what can I do to shrink root and expand home. Or maybe merge both so that is one system... Tomorrow I will recive a LOT of logfiles to analyse, and I have no Idea how to handle them with this tiny home dir.

edit retag flag offensive close merge delete

Comments

This link may help you understand your layout using Logical Volume Manager.

What you need to do is resizing the actual partitions inside your LVM's physical volume fedora. (run lsblk, sudo pvdisplay, and sudo lvdisplay for a better understanding of your layout.)

Arch Linux has an pretty good wiki about LVM: https://wiki.archlinux.org/index.php/LVM

Your question is damn common and has been asked and answered many times, including in this forum. Maybe this helps: https://www.google.com/search?q=fedor...

florian gravatar imageflorian ( 2018-04-19 14:36:19 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-04-19 02:17:39 -0500

villykruse gravatar image

/dev/sda5 is subdivided into file systems, which you can see when running lsblk.

The graphical tool for adjusting the file system sizes is the blivet-gui. You should run it from a live CD as blivet does not allow changing the sizes of file systems which are in use.

In blivet-gui, click on the lvm entry, and the display will open up and show the individual parts of this lvm partition.

Right click on the file system you want to shrink, and select edit -> size. The click the check mark on the upper right part and the file system size will be modified, creating some free space. Then do the same for the file system you want to grow.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-04-18 09:54:49 -0500

Seen: 344 times

Last updated: Apr 19 '18