Categories
Knowledge Support Support Categories exacqVision Hardware Products

Upgrading a Linux-based exacqVision Server with Active iSCSI Configuration to exacqVision 5.8 (Legacy)

When upgrading a Linux-based exacqVision server to exacqVision 5.8, the existing mount point for an active iSCSI connected drive might not be recognized. To work around this issue, complete the following steps after the upgrade is complete:

<br>

  1. Using exacqVision Client 5.8, open the Storage page for the upgraded server.
  2. Select the Extended tab.
  3. Look for your iSCSI connection and corresponding mount paths. If they appear as expected, no further action is necessary. Otherwise, continue with the following step.
  4. Note the mount paths that appear on the Extended tab. The example above shows /mnt/edvr/11/ (and three other mounts).
  5. On the Drive tab, deselect the recording drives listed on the Extended tab. Click Apply to disable recording to those mount paths.
  6. Ensure that the originally configured iSCSI mounts are still enabled for recording.
  7. On the server, run sudo /etc/init.d/edvrserver stop in Terminal.
  8. Use the mount command to determine the device name of the iSCSI mount point. The output will look similar to this:
    /dev/sdb1 on / type ext4 (rw,errors=remount-ro)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    /dev/sdc1 on /mnt/edvr/4 type ext4 (rw,_netdev,errors=remount-ro)
    /dev/sdd1 on /mnt/edvr/5 type ext4 (rw,_netdev,errors=remount-ro)
  9. Note the /dev/sdxx device name that corresponds to the /mnt/edvr/x mount path from earlier in the procedure.
  10. Run blkid -o value -s UUID /dev/sdc1 (substituting your device’s name for /dev/sdc1) to determine the UUID for the device.
  11. Open the /etc/fstab file for editing. Find the entry that specifies the iSCSI UUID. Change the mount point in the entry to the pre-upgrade configuration. For example, if the UUID= entry contains /mnt/edvr/4, change the “4” to “2.”
  12. Delete the fstab entry created for the iSCSI device before the upgrade. The file will have multiple entries for the mount point; keep the one specifying UUID, and delete the other, which will look similar to /dev/sdc1 /mnt/edvr/2 ext4 _netdev.errors=remount-ro 0 0.
  13. Save all changes.
  14. Continue to edit the fstab file for each iSCSI drive on the system.
  15. Run sudo mount -a to reload the fstab file.
  16. Open /usr/local/exacq/server and delete archivepi.xml and psfpi.xml.
  17. Run sudo /etc/init.d/edvrserver start.

<br>

exacqVision Client should now display the correct mount paths on the Extended tab on the Storage page.

<br>