2

I have two hard drives on my laptop. One has 1tb with windows 10 and the other is 500gb (which I took from an old laptop) with fedora 29. When I went into the disk usage analyzer (DUA) on Fedora 29 I noticed that it said I had 40.7gb/52.6gb available ,despite the fact the hard drive was 500gb. I booted into Windows to format the hard drive and made sure that the drive was formatted properly. After that, I then reinstalled the Fedora 29 on to the 500gb hard drive. After I reinstalled the operating system, the DUA still said it had 52.6gb. What was even more weird was that when I went into gParted to check the drive partitions, the partition with the lvm2 file system (which is 464.57 Gib) was all yellowed out. Is there a way that I can store a reasonable amount of space on the 500gb hard drive with Fedora?enter image description here

I formatted the drive and it says that the free space is 465gb also I'm not too sure which number is the model so here is a photo of the hard drive. I think it is WWN:5000C50045A401A8 but I'm not too sure. I also checked to see if the Hard Drive had any bad sectors with Defraggler and the program said that the disk is in good health.enter image description here

  • 1
    1) What is the make and model of the repurposed drive? 2) Please go back into Windows, run diskpart from an Elevated Command Prompt window, and clean the drive, then repartition and reformat it w/ NTFS. 3) What does Windows say its capacity is? Please click edit and update the question with that data. If you have a SMART disk tool, please also check for bad sectors and other problems. – K7AAY Feb 20 at 0:23
  • @K7AAY I formatted the disk and it said it had 465gb. I also got the model number which i think is WWN:5000C50045A401A8 but I'm not sure so I took a picture of the drive and edited my post like you told me. – Pedro Malavet Feb 20 at 1:54
1

If you look at the output of

pvs
lvs
vgs
pvdisplay
lvdisplay
vgdisplay

You will see where your ~450 GB is.

Depending on the output of the above you can then resize with something like

lvextend -L 100% /dev/vg/root
  • Can you clarify this? – Pedro Malavet Feb 20 at 2:23
  • @pedro the likely issue is that the / partition is an LVM, and 50gb in size. As the answer noted, if you loo, at the lvdisplay you will probably see available space. – KevinO Feb 20 at 2:26
  • @KevinO Is there a way to resize the partition? – Pedro Malavet Feb 20 at 4:07
  • @PedroMalavet, yes, you can resize the partition. In essence, use the commands as noted in the answer to find available space. You then use lvresize to adjust the particular size of an LVM, or you can add another LVM. There are many questions/answers on this site on the particular process. if you wish to ask a new question about your specific case, be sure to provide the information from vgs and lvs. – KevinO Feb 21 at 3:20
0

Your HDD really is an eight year old 465GB Seagate ST9500325AS which runs at a pokey 5400RPM. It's also inefficiently partitioned:

Use of space

sdb1 only uses 18MB, and giving it 200MB is overkill. Next time, I'd give sdb1 only about 50MB.

sdb2 uses 246MB and has 754 MB free.

sdb3 is partitioned with lvm. I suggest you run vgdisplay to see how its space is used.

And, since an eight year old consumer HDD is a failure waiting to happen, I would suggest you replace it; a much faster and very well respected SSD is only $78 at Amazon. You will also get longer battery life as well as faster Linux response time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.