LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2017, 07:34 PM   #1
milter
LQ Newbie
 
Registered: Apr 2016
Posts: 28

Rep: Reputation: Disabled
Help with my wacky partition sizes


Hello, I thought I had finally successfully installed Fedora 25 on a dual boot with windows 7, but now it seems like my partition sizes are wrong. When I go to "properties" of my Home directory, I see 365mb of content, and only 41.6 mb free. I intended to have much more space available than tha(more 400 gb).

Here's how my partitions look now: http://paste.fedoraproject.org/533382/85049427/

It seems like I have two installations right now, sda3 and sda5. Is it possible that the later was created when I updated and installed the rpmfusion drivers for my video card, following this guide?

Last edited by milter; 01-21-2017 at 07:52 PM.
 
Old 01-21-2017, 08:08 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
If you want to use the Anaconda installer and the partition manager that comes with Fedora than yes you will have to re-install to re-partition those partitions.

Otherwise you could use a live version of g-parted live to create new partitions.
-::-Keep in mind that when you resize partitions sometimes the system will not boot.-::-
When I made my partitions too small I just used the Fedora Live CD to re-partition and go through the install again.

Others may have other ideas.

Basically you need to create 4 partitions.
Boot, /Root, Swap and Home.

https://docs.fedoraproject.org/en-US...commended.html

I always do Manual Partitioning for more control. Expecially if there is another os installed on the same machine.

https://docs.fedoraproject.org/en-US...titioning.html
 
Old 01-21-2017, 08:13 PM   #3
milter
LQ Newbie
 
Registered: Apr 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
But it appears the large partition for Fedora is still there on dev/sda3. I'm confused about what's going on with sda5, which I'm guessing I'm on. I must have done something incorrectly when I updated my drivers. It appears a new kernel was installed, but I don't know if that had any affect on my partitions.
 
Old 01-21-2017, 08:14 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
I normally create the boot partition first. Than the root partition and allocate 1 to 2 GB to the swap and give the rest of the drive to the home partition.
 
Old 01-21-2017, 08:17 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Originally Posted by milter View Post
But it appears the large partition for Fedora is still there on dev/sda3. I'm confused about what's going on with sda5, which I'm guessing I'm on. I must have done something incorrectly when I updated my drivers. It appears a new kernel was installed, but I don't know if that had any affect on my partitions.
Yeah your on /dev/sda3 in order to be up and running.

I think what happened is the partition manager took the remaining and allocated 454m to an additional LVM partition.

A new kernel should not of effected your partitions.
 
Old 01-21-2017, 08:21 PM   #6
milter
LQ Newbie
 
Registered: Apr 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
I think what happened is the partition manager took the remaining and allocated 454m to an additional LVM partition.
You mean when I initially installed?

How can I get on to sda3?
 
Old 01-21-2017, 08:24 PM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,298

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
It is highly unlikely that installing video drivers would affect your partitioning.

If you would post the output from "lsblk -f" and "lvs" (run as root) it would help in understanding your situation.
 
Old 01-21-2017, 08:31 PM   #8
milter
LQ Newbie
 
Registered: Apr 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
lsblk

and

lvs
 
1 members found this post helpful.
Old 01-21-2017, 08:31 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Originally Posted by milter View Post
You mean when I initially installed?

How can I get on to sda3?
Yes, when you first installed.
You should already be on /sda3:-
Code:
/dev/sda3       981059584 1953523711 972464128 463.7G 8e Linux LVM
-::- As long as that partition is mounted you won't be able to check on any partition with fsck.-::-

https://ask.fedoraproject.org/en/que...esystem-check/
 
Old 01-21-2017, 08:35 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Originally Posted by rknichols View Post
It is highly unlikely that installing video drivers would affect your partitioning.

If you would post the output from "lsblk -f" and "lvs" (run as root) it would help in understanding your situation.
Agreed:-

OP could also use df -h which will give a nicer printout and show the disk usage of the mounted file systems.-
 
Old 01-21-2017, 08:39 PM   #11
milter
LQ Newbie
 
Registered: Apr 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by milter View Post
And here is df -h.
 
1 members found this post helpful.
Old 01-21-2017, 09:14 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Looking at the output of df -h the Fedora fs is mounted.

As well as the /home being mounted.

You will have to wait to hear from rknichols on the output of lsblk -f which shows all of the partitions by UUID and lvs which I'm not sure is an indication of what other than what's shown.

Last edited by Ztcoracat; 01-21-2017 at 09:17 PM.
 
Old 01-21-2017, 09:44 PM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,142

Rep: Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935
Your problem is that you have a split LVM system - /home is on a separate (small) pv (/dev/sda5), rather than being incorporated in the large pv (/dev/sda3) which should have plenty of free space.
/home can't expand into that free space until it (/home) is moved into the vg in the larger pv that occupies /dev/sda3.

I have never seen Fedora create a system like that, so can only assume you did something at the partitionin stage of the install to cause it.
The general routine to fix it is to create a new lv in vg "fedora" and copy current /home to it - then mount the new lv as /home - all needs to be done from a liveCD. Later you can delete the content in /dev/sda5 (the lv and vg), then add that pv to the "fedora" vg so you can use all you space as you wish.
 
Old 01-21-2017, 09:45 PM   #14
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,298

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
For some reason you created a separate volume group (fedora00) for /home on that small 444MB sda5 partition. I don't think you intended to do that.

While your 50GB mounted root partition is on LV fedora-root00, you have an additional 50GB LV fedora-root that you don't appear to be using. Is there anything in there? Mount it on a temporary mount point and take a look. If it's nothing you want, I suggest renaming that to fedora-home, making a new filesystem there (unless the current one is empty), copying everything from the current /home there, and then adjusting /etc/fstab to mount the new filesystem on /home. If that sounds reasonable, post the content of your current /etc/fstab and I can give more specific instructions.

BTW, that can all be done from the running system.

Last edited by rknichols; 01-21-2017 at 09:49 PM. Reason: Add BTW ...
 
Old 01-21-2017, 10:03 PM   #15
milter
LQ Newbie
 
Registered: Apr 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
For some reason you created a separate volume group (fedora00) for /home on that small 444MB sda5 partition. I don't think you intended to do that.

While your 50GB mounted root partition is on LV fedora-root00, you have an additional 50GB LV fedora-root that you don't appear to be using. Is there anything in there? Mount it on a temporary mount point and take a look. If it's nothing you want, I suggest renaming that to fedora-home, making a new filesystem there (unless the current one is empty), copying everything from the current /home there, and then adjusting /etc/fstab to mount the new filesystem on /home. If that sounds reasonable, post the content of your current /etc/fstab and I can give more specific instructions.

BTW, that can all be done from the running system.
This sounds fine. This is all from a fresh install that I seem to have mangled, so there is no data to be saved. I have no problem doing what you are suggesting, but would appreciate you walking me through it.

Here's /etc/fstab: http://paste.fedoraproject.org/533420/5768014/

Something that I don't understand: won't clearing out that 50GB LV fedora-root only get me another 50gb? I'm using a 1tb drive that I tried to split evenly between Windows and Fedora, so I would think that I should have at least 400gb to work with on my Fedora home partition...

Last edited by milter; 01-21-2017 at 10:14 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with partition sizes S.V. Linux - Newbie 8 12-28-2006 10:38 AM
partition sizes fstreed SUSE / openSUSE 10 05-07-2005 08:58 AM
Partition sizes? murbz Linux - Software 3 07-22-2004 08:43 AM
Partition Sizes JonyKyte Linux - Newbie 12 12-23-2003 07:48 AM
partition sizes scrambled2k3 Linux - Newbie 7 02-21-2003 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration