Categories
Knowledge Support Support exacqVision Server Categories Products

How to Determine if a Drive is Read-Only

In Linux systems a filesystem error may cause a storage volume to be re-mounted by the operating system as Read-Only. This could be evident on the Storage page under the Drives tab when the volume status changes to ‘Write Error’ or when you attempt to search for video and find the system does not appear to be recording recent video.

<br>

How can you determine if the volume is now Read-Only?

Make a note of the volume you suspect as being Read-Only. Open a Terminal window and change directory to that volume. If the storage label is /mnt/edvr/1, enter:

cd /mnt/edvr/1

Attempt to make a new file in this location by entering:

sudo touch test.txt

If the command prompt returns without any other message, the file was created successfully and this volume is not currently in a Read-Only state.

If you get a return message that the file was unable to be created because it is Read-Only you may want to run fsck on the volume to try to correct any filesystem errors and remount it.

Categories
Knowledge Support Support Categories Products exacqVision Hardware

exacqVision Drives Incorrectly Marked as Read Only in Ubuntu Linux

If a hard drive in an Ubuntu Linux-based exacqVision system has an error in its file system, it could be marked as read only. This could cause a failure in the process of storing recorded video.

Starting with version 4.9, exacqVision detects whether a drive is read only. To determine whether a hard drive is read only in exacqVision 4.8 and earlier, try to save a temporary file to it by entering sudo touch /mnt/edvr/2/temp.file in a Terminal window (where “/mnt/edvr/2” is the name of the drive). If this command fails, the drive is read only. Alternatively, you can enter cat /proc/mounts and look for “ro” in the result.

To remount drives and change them to read-write, enter sudo mount -a.

<br>

exacqVision-Drives-Incorrectly-Marked-as-Read-Only-in-Ubuntu-Linux.pdf