New Dedicated drive does not exist.

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
Aman4672
Posts: 2
Joined: Mon May 04, 2020 7:29 pm

New Dedicated drive does not exist.

Post by Aman4672 » Mon May 04, 2020 7:33 pm

So i was having trouble getting this drive to work in ZM. The drive is a wd40purz (WD 4TB purple) BTW. so thinking i probably fed up some where so i just reinstalled my whole server. Ubuntu 18.04.4 LTS

To install Zm i used This Guide: https://zoneminder.readthedocs.io/en/st ... -04-bionic

And this one on the same page for a dedicated drive: https://zoneminder.readthedocs.io/en/st ... drive.html

Before i was using my software raid that i use for everything, just for testing. I remember just setting perms and then being good. But now with this drive it is freaking out and cant see it apparently. what am i missing?

Terminal and log: https://imgur.com/c03j6Rt

bbunge
Posts: 2667
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: New Dedicated drive does not exist.

Post by bbunge » Mon May 04, 2020 8:19 pm

Better install instructions: https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.34.x The Read The Docs instructions are, still, not up to date.

is your 4 TB drive the main (and only) drive in your server?
If you are using an older PC for a server the BIOS may not recognize the 4 TB drive.
If you are using one drive for the OS and the 4 TB for storage you need to install Ubuntu so the 4 TB drive is mounted correctly.

You may want to step up to Ubuntu 20.04. A server version is recommended although I use a mini.iso net install to end up with a minimal server without all the junk the live server image loads.

Instructions can be provided but are somewhere on this forum as your issue has been addressed several times before.

User avatar
snake
Posts: 334
Joined: Sat May 21, 2016 2:20 am

Re: New Dedicated drive does not exist.

Post by snake » Wed May 06, 2020 2:08 am

Secondary drives must be compatible filesystem (FAT32 won't work).

See
https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive

Aman4672
Posts: 2
Joined: Mon May 04, 2020 7:29 pm

Re: New Dedicated drive does not exist.

Post by Aman4672 » Thu May 07, 2020 1:42 am

OK I installed Ubuntu 20.04 server and ZM via the instructions you linked.

The 4TB purple is the 10th physical drive in the system
1: 1Tb Nvme ssd is my main drive
7: 2TB sas drives in a raid 6
1: 4Tb Drive sneaker data transfer
1: 4Tb Drive for Zm

It is a 1900x so i would be really surprised if the bios was that old

"If you are using one drive for the OS and the 4 TB for storage you need to install Ubuntu so the 4 TB drive is mounted correctly."
would you explain what you mean here. what i did was click the mount button and it mounted where i wanted it actually. with my raid 6 i had to do the whole mount/md/0 /media/sauron/Erebor and edit the fstab.

I have once again down chown -R www-data:www-data /media/sauron/Bara-dur/Events, and am still getting the same errors.

I posted sooner but for some reason it isn't showing up, so now i am responding again.

User avatar
iconnor
Posts: 1195
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: New Dedicated drive does not exist.

Post by iconnor » Fri May 08, 2020 12:04 am

first thing I would do is cutnpaste from logs and do ls -l /whatever the path is

Maybe try a path with a - in it? I wouldn't expect that to be a problem, but you never know.

biTToe
Posts: 1
Joined: Tue May 12, 2020 5:23 pm

Re: New Dedicated drive does not exist.

Post by biTToe » Sun May 17, 2020 8:51 pm

Did you ever get this to work?

I had the exact same problem as you; it took me a full day to figure it out. I'm pretty tech savvy, even with terminal, but it still took 5 or 6 full disc formattings to get it to work.

Frank

bbunge
Posts: 2667
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: New Dedicated drive does not exist.

Post by bbunge » Mon May 18, 2020 12:55 am

On a new Ubuntu or Debian install I get the drive for storage mounted and formatted at install.
When you get to the drive format area choose manual setup. (this is for legacy BIOS boot.)
The drive for the OS, partition the whole drive, select "/" as the mount point and EXT4 format The drive for Zoneminder storage partition the entire drive, Manually create a mount of "/zmstore" and format EXT4. Continue the install.
On first boot. create an events folder in /zmstore (mkdir /zmstore/events). Install LAMP or LEMP. change ownership of the /zmstore (chown -R www-data /zmstore)
Next see: https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive

You can also use systemd mount. See: https://wiki.zoneminder.com/Common_Issu ... ive_or_NAS

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests