[PLUG] 9 Tb only allocated 200 Gb

Tomas Kuchta tomas.kuchta.lists at gmail.com
Tue Aug 25 17:02:03 UTC 2020


Could you boot Knoppix on the box and expand the partition with gparted?

Btw: output from: fdisk -l + /etc/fstab would be more useful than df

-T

On Tue, Aug 25, 2020, 06:22 Chuck Hast <wchast at gmail.com> wrote:

> Folks,
> I just setup a Zoneminder server the machine has 9 Tb of
> drive but when I did the Ubuntu server setup it only allocated
> 200Gb. Here are some numbers:
>
> root at komodo:/home/kp4djt# df
> Filesystem                        1K-blocks     Used Available Use% Mounted
> on
> udev                               18430452        0  18430452   0% /dev
> tmpfs                               3694824     1444   3693380   1% /run
> /dev/mapper/ubuntu--vg-ubuntu--lv 205375464 11628640 183244680   6% /
> tmpfs                              18474116  2222680  16251436  13%
> /dev/shm
> tmpfs                                  5120        0      5120   0%
> /run/lock
> tmpfs                              18474116        0  18474116   0%
> /sys/fs/cgroup
> /dev/sda2                            999320   106304    824204  12% /boot
> /dev/sda1                            523248     7956    515292   2%
> /boot/efi
> /dev/loop1                            56320    56320         0 100%
> /snap/core18/1880
> /dev/loop0                            30720    30720         0 100%
> /snap/snapd/8542
> /dev/loop2                            73088    73088         0 100%
> /snap/lxd/16099
> tmpfs                               3694820        0   3694820   0%
> /run/user/1000
> /dev/loop3                            56704    56704         0 100%
> /snap/core18/1885
> /dev/loop4                            30720    30720         0 100%
> /snap/snapd/8790
> /dev/loop5                            72320    72320         0 100%
> /snap/lxd/16922
> root at komodo:/home/kp4djt#
> /dev/mapper/ubuntu--vg-ubuntu--lv 205375464 11628640 183244680   6% /
> is the one of interest.
>
> Here is more info:
> root at komodo:/home/kp4djt# vgdisplay -v
>   --- Volume group ---
>   VG Name               ubuntu-vg
>   System ID
>   Format                lvm2
>   Metadata Areas        1
>   Metadata Sequence No  2
>   VG Access             read/write
>   VG Status             resizable
>   MAX LV                0
>   Cur LV                1
>   Open LV               1
>   Max PV                0
>   Cur PV                1
>   Act PV                1
>   VG Size               9.09 TiB
>   PE Size               4.00 MiB
>   Total PE              2383615
>   Alloc PE / Size       51200 / 200.00 GiB
>   Free  PE / Size       2332415 / <8.90 TiB
>   VG UUID               799iwc-0lYp-Mh3T-I5JO-lPoW-vodP-rUtr7C
>
> This is where the video from the Zoneminder cameras will
> be stored. I need to increase the size of the Alloc PE / Size
>  51200 / 200.00 GiB
> to access most if not all of the remaining  Free  PE / Size
>  2332415 / <8.90 TiB
>
> I am not sure how to go about this one but need to expand
> that to where it will not fill up with camera video.I really only
> need 2 Tb of the space but might as well use as much as
> possible due to where the cameras are located.
>
> I have looked at the documentation but not sure what I am
> doing as I have never had to do this. I really do not want to
> mess this ZM install up as it is working like clockwork, and
> I want to keep it that way.
>
> Any guidance?
>
> --
>
> Chuck Hast  -- KP4DJT --
> I can do all things through Christ which strengtheneth me.
> Ph 4:13 KJV
> Todo lo puedo en Cristo que me fortalece.
> Fil 4:13 RVR1960
> _______________________________________________
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list