part of the sda not usable

semuli

New Member
Joined
Aug 12, 2022
Messages
2
Reaction score
0
Credits
18
part of the storage space on a Linux server is not used. Can anyone tell me how this problem happened and how to fix it and get this unused part back using?
As you can see sda is 160GB. But df shows only 77GB:
Code:
sami@localhost:~$ lsblk -o NAME,FSTYPE,SIZE,LABEL,MOUNTPOINT
NAME          FSTYPE       SIZE LABEL MOUNTPOINT
sda                        160G       
├─sda1        ext4         487M       /boot
└─sda2        LVM2_member 79.5G       
  ├─vg00-lv01 ext4        77.6G       /
  └─vg00-lv00 swap         1.9G       [SWAP]
sr0                       1024M

and

Code:
sami@localhost:~$ df -h  / 
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/vg00-lv01   77G   71G  2.4G  97% /

Thank you for your help.
 


Solved using:
 
You probably did an install where you selected how big you want your root partition to be so then it doesn't use all the space. To add the space you have to create another partition using fdisk, then creating a physical volume of that partition and then adding it to the volume group vg00. After which you can expand your logical lv01 root volume with it.
 

Members online


Latest posts

Top