Partitioning for efficiency and convenience 1.28

Forum for questions and support relating to the 1.28.x releases only.
Locked
DVB Hardware
Posts: 201
Joined: Thu Jan 01, 2015 5:12 pm
Location: Rhode Island

Partitioning for efficiency and convenience 1.28

Post by DVB Hardware »

Is there any partitioning scheme that would help for server cpu / disk loading, event expansion?
8 or 16 ip camera system.
I have found info in this forum but outdated by 6 yrs. and much has changed since then

Jimmy
Linux Mint 21 Cinnamon Mariadb 10.6.x using Master 1.37.x latest always

DVB stands for Digital VIdeo Broadcasting , retired satellite downlink supplier
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Partitioning for efficiency and convenience 1.28

Post by PacoLM »

A 6 years info could be outdated or just a good info!

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Nerre
Posts: 100
Joined: Thu Sep 25, 2014 10:22 am

Re: Partitioning for efficiency and convenience 1.28

Post by Nerre »

Zoneminder stores everything in one specific location, if you want to avoind Zoneminder filling your disk you could put that location on a separate partition (or LVM logical volume, for scalability).

I think everything else would be covered by any linux partitioning guidelines.
DVB Hardware
Posts: 201
Joined: Thu Jan 01, 2015 5:12 pm
Location: Rhode Island

Re: Partitioning for efficiency and convenience 1.28

Post by DVB Hardware »

I was think more on the results discoverd by troyy0206 at the last posting
http://www.zoneminder.com/forums/viewto ... 135#p60135

Jimmy
Linux Mint 21 Cinnamon Mariadb 10.6.x using Master 1.37.x latest always

DVB stands for Digital VIdeo Broadcasting , retired satellite downlink supplier
Nerre
Posts: 100
Joined: Thu Sep 25, 2014 10:22 am

Re: Partitioning for efficiency and convenience 1.28

Post by Nerre »

If the data is stored on the same disk, partitioning should affect performance. What affects performance is probably the use of another file system (reiserfs instead of ext3/ext4).

On my machine the disk speed is not an issue, on my machine CPU and shared RAM for image analysis are the bottleneck. But it you have a lot of cameras and a machine with a lot of RAM then maybe the disk could become a bottleneck.
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Partitioning for efficiency and convenience 1.28

Post by bbunge »

I'm running 16 IP cameras on a 2.6 GIG Quad PC with 16 GIG RAM and 1 TB WD drive. Ubuntu 14.04 with EXT 4 FS with the noatime option set. Have set ZM to use ramdisk for some temp file processes and the hard drive just has the "normal" "/" and swap partitions. All cameras are set to mocord and events are deleted after two weeks. There are up to six users watching video output (montage) at any given time as the cameras are monitoring a warehouse.

I would see no advantage to doing multiple partitions on this system. The advantage of one main partition is you can use more of it to store events.

bb
Nerre
Posts: 100
Joined: Thu Sep 25, 2014 10:22 am

Re: Partitioning for efficiency and convenience 1.28

Post by Nerre »

I just noticed a typing error
Nerre wrote:If the data is stored on the same disk, partitioning should affect performance.
should read
If the data is stored on the same disk, partitioning should not affect performance.
ofca
Posts: 7
Joined: Sat Apr 16, 2011 10:20 pm

Re: Partitioning for efficiency and convenience 1.28

Post by ofca »

On that note, I would like to setup SSD for current events and then some kind of daily move-to-archive mechanism for older events. Is there some way to set this up, so events can be browsed via normal zm interface?
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Partitioning for efficiency and convenience 1.28

Post by bbunge »

SSD's are still a bit expensive. Just bought a 1 TB WD Blue for $49.99.

Yes, you could store to a SSD and move events somewhere else but browsing them may be an issue.

Try it, document what you do if successful and post it to the WIKI!

bb
Locked