I recently had a customer ask me to reset a Samsung DVR. Of course, I first checked to see if there was a hardware switch to reset it. There wasn’t.
Googling the reset procedure, I discovered all of the resets for Samsung DVRs were pressing a combination of buttons on the front of the machine or remote. My machine had no buttons and none of the combination of buttons worked.
I did find a YouTube video that had a 7th combination of buttons that did work. This combination should work for SDR-3300N or the SDR-3040N and perhaps a few others.
On the remote, press:
in quick succession. I was able to get it on the first attempt. It will prompt you to reset to factory which you select OK.
Special thanks to 4k Vlogs for the info.
Link to the video: https://www.youtube.com/watch?v=RSwb7aaPIY8
Relates to: Gigastrand and Next Level NVR Software
We have seen where the drive appears to fill up but there is no apparent reason for the drive being full. Three of the reasons we have seen so far are caused by 4 different but related issues.
- Apache errors – for some unknown reason, the Apache log file (located in /var/log/apache2/) sometimes grows to an incredible size. Deleting the log file resolves this issue.
- Virtual Ramdisk error – The Gigastrand NVR has a virtual ramdisk where it caches images. Sometimes (especially if the motion daemon is fiddled with) the ramdisk will start writing to the user folder. Deleting the files and and NVR restart will resolve that issue as well.
- Storage Limit – If you have a full complement of cameras, the default storage size of 20Gb will fill up very fast (less than 12 hours in some cases). This is too fast for the machine to effectively clean up. This issue manifests itself in the same way as the other 2 issues, but the system is essentially working.
To fix this issue, edit the /etc/kmotion/kmotion_rc file and change the images_dbase_limit_gb to something higher than 20Gb but less than your total available storage. Do an NVR Restart to make the changes go into effect.
Give Gigastrand OS about 64Gb in your storage calculations. Subtract that from your total drive space so that it does not interfere with your video storage.
4. Firefox – If you use live view on the NVR regularly, Firefox will save all the images it downloads in /home/user/.cache/mozilla/firefox/[profile].default/cache2/entries/. Clear this out first. Then, open Frefox and go to menu>Preferences>Privacy. Under History click Never Remember History. Close Firefox and restart the computer.
Using a secondary storage drive was not originally in the design for the Gigastrand NVR software however, it is a critical feature for many users to be able to separate out the video storage from their main system drive. It also solves a host of other issues with storage and even allows for an external device or a RAID to be used for storage.
At some point we will release a script file to do this automatically. For now, this is how you can do it manually.
NOTE: This could result in data loss if not done properly. If you are not comfortable doing this on your own, Gigabytes can help you remotely.
- Format and setup the drive (using Parted or Gparted)
NOTE: If you format the drive EXT3, the rest of the instructions will work fine. Otherwise, in step 4, change ext3 to the file system that you set the drive up with.
- edit fstab (/etc/fstab) as root (right-click on the file>Root Actions>Open As Text)
- Add the line
for Gigastrand NVR Software:
/dev/sdb1 /etc/kmotion/images_dbase ext3 relatime,errors=remount-ro 0 2
/dev/sdb1 /home/user/.IvideonServer/archive ext3 relatime,errors=remount-ro 0 2
be sure to change “sdb1” to the appropriate drive or partition.
- Save the file
- Open the drive in Dolphin or Konqueror (or click on Computer on the desktop)
- Change ownership to active user (right-click>Root Actions>Ownership to Active User)
If you are running Gigastrand or Next Level NVR software you may have to edit an additional file.
- Edit /etc/apache2/envvars as root
- add the following 2 lines
- export APACHE_RUN_USER=user
- export APACHE_RUN_GROUP=user
- restart Apache
Open a terminal and type in sudo service apache2 restart
It wouldn’t hurt to restart the computer to make sure all the settings took hold but that is optional. Be sure to stop the NVR before you start and start the NVR (icons on the desktop) once complete.