The format for the lvextend command is as follows: lvextend -L +6G /dev/mapper/vg00-var Type df -h to display the disk free space once again.
The lvextend operation finished successfully in the last step however the /dev/mapper/vg00-var size is still only showing 4.0G.
The disk space needs to be increased before there is enough space to upload the content. Note for Cloud Servers: The PSize value listed will often be bit smaller than the value listed by the fdisk command output.
If the difference in size between the fdisk output and PSize is more than 100GB, please reference What if my physical volume size has not changed after increasing disk space? As stated above, our scenario requires roughly 9GB of data to be uploaded to the /var folder.
Here is the example using df command If you want to know more available options check df man page Using Discus Discus is a GPL text-mode disk space usage program. Features include color, bar graphs, and smart formatting of numbers (automatically choosing the most suitable size from kilobytes, megabytes, gigabytes, or terabytes).
Or choose your own size, along with specifying the number of decimal places.