Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 60903

Help me understand the LVM disk allocation, usage, and available size

$
0
0

I just trying out a VPS from a provider where disk space is suppose to be 160GB with 32GB RAM. When I check the df and lsblk, I don't see how the disk allocated it used so much that only 147GB is left. Even after OS installation, I was hoping to have more disk space available.

My LVM understanding is very primitive. Can someone enlighten me how this match works?


# df -h
Filesystem                   Size  Used Avail Use% Mounted on
udev                          16G     0   16G   0% /dev
tmpfs                        3.2G   17M  3.2G   1% /run
/dev/mapper/ubuntu--vg-root  157G  2.6G  147G   2% /
tmpfs                         16G     0   16G   0% /dev/shm
tmpfs                        5.0M     0  5.0M   0% /run/lock
tmpfs                         16G     0   16G   0% /sys/fs/cgroup
/dev/sda1                    472M  202M  246M  46% /boot
tmpfs                        3.2G     0  3.2G   0% /run/user/0

# lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME                FSTYPE        SIZE MOUNTPOINT LABEL
sda                               160G
├─sda1              ext2          487M /boot
├─sda2                              1K
└─sda5              LVM2_member 159.5G
  └─ubuntu--vg-root ext4        159.5G /


Viewing all articles
Browse latest Browse all 60903

Trending Articles