Switched Distributions and messed up partitioning and now only have 75G instead of 1T (Fedora Workstations 32)

That's a good sign. Now df -h again.
 


Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 80M 3.8G 3% /dev/shm
tmpfs 3.9G 2.0M 3.9G 1% /run
/dev/mapper/fedora_localhost--live-root 69G 14G 52G 21% /
tmpfs 3.9G 708K 3.9G 1% /tmp
/dev/sda2 976M 251M 658M 28% /boot
/dev/mapper/fedora_localhost--live-home 838G 14G 782G 2% /home
/dev/sda1 599M 21M 579M 4% /boot/efi
tmpfs 785M 15M 771M 2% /run/user/1000
 
Can you give output of ...

lvdisplay
 
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 76M 3.8G 2% /dev/shm
tmpfs 3.9G 2.0M 3.9G 1% /run
/dev/mapper/fedora_localhost--live-root 69G 14G 52G 21% /
tmpfs 3.9G 708K 3.9G 1% /tmp
/dev/sda2 976M 251M 658M 28% /boot
/dev/mapper/fedora_localhost--live-home 838G 14G 782G 2% /home
/dev/sda1 599M 21M 579M 4% /boot/efi
tmpfs 785M 15M 771M 2% /run/user/1000
 
Can you give output of

lvs

or lvdisplay
 
lvs

LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home fedora_localhost-live -wi-ao---- 852.13g
root fedora_localhost-live -wi-ao---- 70.00g
swap fedora_localhost-live -wi-ao---- <7.79g

lvdisplay
--- Logical volume ---
LV Path /dev/fedora_localhost-live/swap
LV Name swap
VG Name fedora_localhost-live
LV UUID LnQBZJ-wzTN-R3BO-U7Ee-EXVF-Mv0I-usjntf
LV Write Access read/write
LV Creation host, time localhost-live, 2020-05-22 17:10:48 -0500
LV Status available
# open 2
LV Size <7.79 GiB
Current LE 1994
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1

--- Logical volume ---
LV Path /dev/fedora_localhost-live/home
LV Name home
VG Name fedora_localhost-live
LV UUID AfYyEs-JEZm-MuYM-M3KK-ME7h-h907-0m8lar
LV Write Access read/write
LV Creation host, time localhost-live, 2020-05-22 17:10:49 -0500
LV Status available
# open 1
LV Size 852.13 GiB
Current LE 218146
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2

--- Logical volume ---
LV Path /dev/fedora_localhost-live/root
LV Name root
VG Name fedora_localhost-live
LV UUID lYu7QF-DTLx-JcSY-W8SH-i3cD-ctxs-ufysR4
LV Write Access read/write
LV Creation host, time localhost-live, 2020-05-22 17:11:04 -0500
LV Status available
# open 1
LV Size 70.00 GiB
Current LE 17920
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
 
I guess we will just have to make it ourselves.

mkdir /popos

mount /dev/fedora_localhost-live/popos /popos
 
also can you give output of ...

cat /etc/fstab
 
#
# /etc/fstab
# Created by anaconda on Fri May 22 18:16:35 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/fedora_localhost--live-root / ext4 defaults 1 1
UUID=277cef84-cac1-4d1f-b055-28621522e74e /boot ext4 defaults 1 2
UUID=E02F-0439 /boot/efi vfat umask=0077,shortname=winnt 0 2
/dev/mapper/fedora_localhost--live-home /home ext4 defaults 1 2
/dev/mapper/fedora_localhost--live-swap none swap defaults 0 0
 
In the opening post of this thread, you mentioned wanting to keeo the data you had in the popOS
partitions on the other hard drive. Is this not the case?

It's waaaaaaay easier to to reformat it, and add it to your existing fedora volume group
if you don't care about any data on there.
 
In the opening post of this thread, you mentioned wanting to keeo the data you had in the popOS
partitions on the other hard drive. Is this not the case?

It's waaaaaaay easier to to reformat it, and add it to your existing fedora volume group
if you don't care about any data on there.
oh yeah sorry I am bad with english I wanted to keep fedora data but popos is gone I just mentioned it because that is where i messed up with the disk partitioning
 
Let's start over.

fdisk /dev/sda

press "g" to create a new partition table

press "w" to write this to the disk.

This will kick you out of fdisk and take you back to the system prompt.

Let me know when you get this far. You will have a nice new empty 950GB disk now.
 
Think of a directory name that you want to mount this hard drive under...
It should not have any spaces in the name.

What are you going to put on this hard drive?
Maybe name the directory something like car_pictures or favorite_songs
or anything. Maybe just something like extra_space.
 
So I think I wiped my disk, but that's okay nothing of value was on it but now I am booting again into a new Fedora with more storage. Thank you for helping me.
 
We still need to mount this disk before you can use it.

fdisk /dev/sda

press "N" to create a new partition.

It will ask a few questions, just press [enter] to answer the questions.

then press "w" to write this to the disk.

That will kick you out of fdisk again.

mkfs.xfs /dev/sda1

This will format your hard drive.

Let me know when you get this far.
 
Can you give output of

fdisk -l
 
Also, did you make a directory yet?

mkdir /taniks (or whatever you want it to be)
 

Members online


Top