New install of ZM 1.36 not using entire disk space

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
krizzle
Posts: 19
Joined: Tue Oct 30, 2018 6:07 pm

New install of ZM 1.36 not using entire disk space

Post by krizzle »

Hello,

Ive just installed ZM 1.36 on ubuntu 20.04 running on a server with 1.8TB of hard disk space. This disk space is set up using a RAID 1 configuration. Upon opening ZM in the browser and viewing the storage, it only shows 195.86GB available. How can I point ZM to use the entire 1.8TB space? Any help is appreciated.

Image of my disk and partitions:
zmdelete.JPG
zmdelete.JPG (30.77 KiB) Viewed 2431 times
Thanks.
dougmccrary
Posts: 1256
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: New install of ZM 1.36 not using entire disk space

Post by dougmccrary »

I'm no expert, but isn't sda3
|__ubuntu --vg--ubuntu--lv
at 200G suspicious?
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: New install of ZM 1.36 not using entire disk space

Post by Magic919 »

Yes!
-
krizzle
Posts: 19
Joined: Tue Oct 30, 2018 6:07 pm

Re: New install of ZM 1.36 not using entire disk space

Post by krizzle »

Forgive me as I'm pretty new to Ubuntu. Why do you say its suspicious? I assume that is where ZM is writing to? How would I enable ZM to write to the entire disk?
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: New install of ZM 1.36 not using entire disk space

Post by Magic919 »

Make the logical volume larger. It’s not a ZM problem.
-
krizzle
Posts: 19
Joined: Tue Oct 30, 2018 6:07 pm

Re: New install of ZM 1.36 not using entire disk space

Post by krizzle »

Would you be able to provide some details or a information on where to look to increase the logical volume size?
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: New install of ZM 1.36 not using entire disk space

Post by Magic919 »

Google ubuntu increase logical volume size
-
krizzle
Posts: 19
Joined: Tue Oct 30, 2018 6:07 pm

Re: New install of ZM 1.36 not using entire disk space

Post by krizzle »

Just installed Ubuntu from scratch and deleted the partitions. Everything looks good now within ZM. Thanks for the help!
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: New install of ZM 1.36 not using entire disk space

Post by Magic919 »

That’s another way. It’s an odd thing, you’d expect Ubuntu to just grab the whole disk.
-
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: New install of ZM 1.36 not using entire disk space

Post by asker »

For future reference, when you install Ubuntu 20, it automatically enables LVM unless you choose to disable it. When it is enabled, it is by default not configured to take up full disk space. In your case, it is 200G and that is then where ZM is installed, so it sees a total of 200GB.

I found out the same thing when I set up my new linux machine with ubuntu 20. However it is very easy to then extend lvm to the full space later (and actually is also one of the benefits of lvm). See https://askubuntu.com/questions/1269493 ... stallation
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Post Reply