How to prevent NX Witness from creating HD Witness Media folders all over the place?

Answered

Comments

10 comments

  • Avatar
    Roman Yuldashev

    Hello Bilgin Ozkan,

    Unfortunately, at the moment we do not have a solution that we could advise you. But most likely it will appear in a month. 

    0
    Comment actions Permalink
  • Avatar
    Miguel Câmara

    Hello Roman Yuldashev,

    We just received a report from a partner with the same problem.

    Not only does it create a folder on a USB drive whenever it is connected to the USB drive, it also does now allow the user to safely remove the USB, who always gets the warning "Device is in use, do not disconnect" (or similar).

    Can you confirm if this only happens in the latest version 4.2.0.33306?

    Can we revert to a previous build, while this issue is not solved?

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Dear Bilgin Ozkan and Miguel Câmara,

    Please check THIS support article about how Nx manages its storage and THIS support article about how to enable and disable USB storage.

    The warning "Device is in use, do not disconnect" is a standard notification of the operating system, since you have to eject any USB storage from the OS before you pull it out of the system, otherwise the storage might be corrupted, and you lose data.

    We do not confirm this issue. But if you would like to downgrade, please check THIS support article.

    0
    Comment actions Permalink
  • Avatar
    Bilgin Ozkan

    Hey Norman - Nx Support I'm not 100% sure that is the solution. The second link on how to enable and disable doesn't mention how to disable. Only how to enable, and it also says "By default, this is disabled since it has significant downsides". 

    I've still created the by default non-existent registry string and given it a value of 0. I am yet to reboot, but let's see if that does it. I like how you do not confirm the issue but... :)

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi Bilgin Ozkan,

    Did the reboot resolve the issue?

    I do confirm the issue exist(ed), but it should be resolved when you use Nx Witness 4.2+.
    The issue existed in July 2020 on a Windows instance in Vbox.

    If the reboot didn't resolve the issue, can you tell me more about your system?

     

    1. Are you using virtualization for the Nx Witness Mediaserver?
    2. What OS are you using for the Nx Witness Mediaserver?
    3. Does the issue occur with USB thumbdrives or USD diskdrives or both?
    4. Can you provide the output of the following API call with the USB drives plugged in and share the output?
      api/storageSpace
    0
    Comment actions Permalink
  • Avatar
    Bilgin Ozkan

    Hey Norman - Nx Support

    no, it did not. 

    I'm running Nx Witness Mediaserver 4.2.0.32840 on a Windows 10 machine. 

    The HD Witness Media folder is created on both thumb and disk drives regardless.

    Here's the output:

    {"error":"0","errorString":"","reply":{"storageProtocols":["smb"],"storages":[{"freeSpace":"80765456384","isBackup":false,"isExternal":false,"isOnline":true,"isUsedForWriting":false,"isWritable":false,"reservedSpace":"11502983168","storageId":"{05481477-c9a1-1d28-b99d-f4a1cca8934e}","storageStatus":"used|tooSmall|dbReady","storageType":"local","totalSpace":"115029831680","url":"H:\\HD Witness Media"},{"freeSpace":"684128841728","isBackup":false,"isExternal":false,"isOnline":true,"isUsedForWriting":true,"isWritable":false,"reservedSpace":"32212254720","storageId":"{ab1172d8-5b64-6ec2-4985-9740bdbe1081}","storageStatus":"used|tooSmall|system|dbReady","storageType":"local","totalSpace":"998590377984","url":"C:\\HD Witness Media"},{"freeSpace":"2088169279488","isBackup":false,"isExternal":false,"isOnline":true,"isUsedForWriting":true,"isWritable":true,"reservedSpace":"32212254720","storageId":"{55e6fa80-dacd-9770-95ea-76cfad1f8165}","storageStatus":"used|dbReady","storageType":"local","totalSpace":"4000768323584","url":"F:\\HD Witness Media"},{"freeSpace":"432337678336","isBackup":false,"isExternal":false,"isOnline":true,"isUsedForWriting":true,"isWritable":true,"reservedSpace":"32212254720","storageId":"{9fd5d55b-5d55-8ca4-cd95-c2151d5efc88}","storageStatus":"used|dbReady","storageType":"local","totalSpace":"2000396742656","url":"E:\\HD Witness Media"},{"freeSpace":"29878534144","isBackup":false,"isExternal":false,"isOnline":true,"isUsedForWriting":true,"isWritable":false,"reservedSpace":"32212254720","storageId":"{6e810ac8-815d-3d9f-82b1-134ea1dbd0f1}","storageStatus":"used|tooSmall|dbReady","storageType":"local","totalSpace":"30750179328","url":"J:\\HD Witness Media"},{"freeSpace":"1127421800448","isBackup":false,"isExternal":false,"isOnline":true,"isUsedForWriting":true,"isWritable":true,"reservedSpace":"32212254720","storageId":"{2f5260bd-c601-46e5-1d6d-84797b281a90}","storageStatus":"used|dbReady","storageType":"local","totalSpace":"4000650883072","url":"B:\\HD Witness Media"},{"freeSpace":"5328337547264","isBackup":false,"isExternal":false,"isOnline":true,"isUsedForWriting":true,"isWritable":true,"reservedSpace":"32212254720","storageId":"{2edfc100-ba68-5186-2b64-a1de3fa43ffe}","storageStatus":"used|dbReady","storageType":"local","totalSpace":"8001545039872","url":"D:\\HD Witness Media"},{"freeSpace":"165321502720","isBackup":false,"isExternal":false,"isOnline":true,"isUsedForWriting":false,"isWritable":false,"reservedSpace":"24992389120","storageId":"{61855a74-d730-8bbc-9b3a-0813f11c6821}","storageStatus":"used|tooSmall|dbReady","storageType":"local","totalSpace":"249923891200","url":"G:\\HD Witness Media"},{"freeSpace":"444045017088","isBackup":false,"isExternal":false,"isOnline":true,"isUsedForWriting":true,"isWritable":true,"reservedSpace":"32212254720","storageId":"{7f1108b7-27f7-3931-a518-2f4f6a65a6a2}","storageStatus":"used|dbReady","storageType":"local","totalSpace":"2000363188224","url":"K:\\HD Witness Media"}]}}

     

     

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Thank you, Bilgin Ozkan,

    All drives are reported as 'local' drives, while USB drives should report themselves as 'USB' drives and subsequently ignored by the system.

    Could you clarify which drive numbers are USB drives?

    0
    Comment actions Permalink
  • Avatar
    Pedreo

    Hi there,

    I am also experiencing this frustrating behaviour with Ubuntu server. I wish to use a single location on a single hard drive only which is set to my main drive, yet NX Witness 5.0.0.35064 continuously and aggressively (re)creates 'HD Witness Media' folders in the root of my raid array and within each subfolder of the root of my raid array. If I delete them, NX Witness just recreates them. How can I blacklist the path to my raid array from inclusion in NX Witness? Thanks

    0
    Comment actions Permalink
  • Avatar
    Anderson Chang

    Hi Pedreo,

    I would say this is the design of the Nx Witness.

    Nx Witness will scan all the storage volumes on the server, to discover and get the record of how many storage volumes can be used to do the recording.
    Though, Nx Witness creates the HD Witness Media folder on the root path of each storage volume, it will only write the video archive to the storage volume(s) which is enabled by the user.
    Therefore, you can just leave the HD Witness Media there, Nx Witness will not consume the storage volume unless you enable the storage volume for recording.

     

    However, this draws my attention:

    NX Witness 5.0.0.35064 continuously and aggressively (re)creates 'HD Witness Media' folders in the root of my raid array and within each subfolder of the root of my raid array.

    Could you share the following information with us?

    1. The screenshot of the Server Settings > Storage Management page.

    2. The architecture of the RAID array.
        Do you mount the different subfolders to the OS?

     

    Thank you.

    0
    Comment actions Permalink
  • Avatar
    Udo Matzinger

    This behaviour of Nx is still one of my biggest gripes with the software, even more so with V5 which 'understands' ZFS and has polluted all my ZFS volumes.
    Nx witness seems to be designed only for a dedicated Nx machine and is not a well behaved software on a server with more than one purpose.
    I am looking now into putting Nx Witness into a virtual machine on my server or a docker container.

    0
    Comment actions Permalink

Please sign in to leave a comment.