Ask Your Question

Cannot add storage to Fedora

asked 2019-01-03 08:54:17 -0600

Majje gravatar image

I recently installed Fedora 29 alongside Windows 10 (dual-boot) and allocated 20 GB to Linux. Now I need more storage but am unable to fix this.

After several hours of Google I gained some knowledge about how to shrink the Windows partition and extend the Linux one. I booted into SystemRescueCD from a USB and shrunk the Windows partition. Both /dev/sda4 and /dev/sda6 had the lock icon next to them (note that the image provided is from Fedora, not LiveRescueCD), but after deactivating /dev/sda6 both locks disappeared. I was then able to resize the extended partition (/dev/sda4). This had the result of the unallocated space getting beneath the extended partition. I could then extend either /dev/sda5 (/boot) or /dev/sda6 (fedora).

What I see in GParted.

At first I tried resizing /dev/sda6, but after rebooting into Fedora I still had the same amount of storage as before. Then I tried booting into LiveRescueCD once more and allocating the space to /dev/sda5 instead, but to no avail -- Fedora still had no more storage available.

The problem seems to be that I have to allocate the storage to the root partition, but it is nowhere to be found in GParted. When I run the command "df -h" in the terminal however, it is visible, and you can see that it has no storage left. Terminal output.

What do I have to do to allocate the storage to Fedora?

Thank you in advance.

(I didn't have enough points to upload an image.)

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2019-01-05 09:10:37 -0600

Aeyoun gravatar image

You’ve installed Fedora to a volume group managed by LVM. You can add an additional storage unit (SSD, HDD, external USB, network attached storage, etc.) to that volume group and increase the size of Fedora’s logical volume across the existing partition and the new storage device. In layman’s terms: the Fedora partition would seamlessly grow across two physical disks.

I apologize if this sounds like gobbledegook; you’ll have to read up on LVM and storage management to make any sense of this — and there aren’t any shortcuts. I just wanted to include for the record that it’s indeed possible to fix this situation with your current setup using LVM.

edit flag offensive delete link more

answered 2019-01-03 09:17:11 -0600

heliosstyx gravatar image

updated 2019-01-03 09:17:49 -0600

First of all: you should always shrink a Windows Partition under Windows to avoid NTFS-table/data-damaging. After shrinking the appropriate Partition you should create/ resize the desired partition from a Fedora Live-media you have selected. If a partition is encrypted, then decipher it before changing a partition. I use KDE-partition-manger for this actions. Afterwards I checked via this program the new or resized partition. Make sure that the mount-points are correct. I have done this procedure for myself and all is working smooth. Don't forget to install Windows always before Linux!

edit flag offensive delete link more


Thank you for taking time to answer my question!

I actually did resize the Windows partition inside of Windows but perhaps forgot to mention it. I think the problem was that fedora didn't recognize the newly assigned storage as actual storage

I found another thread about the same issue. To solve the problem I ran "pvresize /dev/sda6" inside of the terminal, followed by "lvextend -r -L+10G fedora/root" which gave me 10 GB.

I'm not really sure if your solution would've done it instead of the terminal commands I ran, but thank you anyway!

Majje gravatar imageMajje ( 2019-01-03 09:49:30 -0600 )edit

The most important thing is that you reach a well running system without issues. In Linux there are often more than one solution for a problem. Please close the question if your problem is solved.

heliosstyx gravatar imageheliosstyx ( 2019-01-03 13:37:21 -0600 )edit

Question Tools

1 follower


Asked: 2019-01-03 08:54:17 -0600

Seen: 80 times

Last updated: Jan 05 '19