Categories
Knowledge Support Support exacqVision Server Categories Products

Replacing a Drive in Ubuntu 20.04 or later, Using GParted (Legacy)

This procedure is applicable to replacing the primary hard drive of a Linux-based exacqVision system. It assumes that the operating device is installed to an on-board flash device. Do NOT use this procedure when simply adding a drive to a system.

  1. Run GParted from System, Administration, GParted. Select the empty hard drive from the drop-down list in the top-right corner. Note that the drive is unallocated, which indicates that you have selected the correct hard drive. Select Create Partition Table from the Device menu.


  2. Select gpt from the Select New Partition Table Type drop-down list. Click Apply.


  3. Right-click in the unallocated space and select New to open the Create New Partition window. Select 20000 (or more) in the New Size (MiB) box. Select linux-swap in the File System drop-down list. In the Label field, type swap. Click Add.


  4. Right-click the unallocated space and select New to open the Create New Partition window. Select 10000 (or more) in the New Size (MiB) box. Select ext4 in the File System drop-down list. In the Label field, type /mnt/export. Click Add.


  5. Right-click the unallocated space and select New to open the Create New Partition window. Select the highest available number in the Set New Size (MiB) box. Make sure Free Space Preceding and Free Space Following are both zero. Select ext4 in the File System drop-down list. In the Label field, type /mnt/edvr/1. Click Add.


  6. Click the green checkmark and then click Apply. Wait for the operations to complete.
  7. Open a Terminal window by selecting ApplicationsAccessories, and then Terminal. Enter the following command:

    sudo gedit /etc/fstab
  8. Add the following lines to the end of the fstab file:

    LABEL=swap none swap sw 0 0
    tmpfs /tmp tmpfs defaults,size=10g 0 0
    tmpfs /var/tmp tmpfs defaults
    LABEL=/mnt/export /mnt/export ext4 relatime,errors=remount-ro 0 0
    LABEL=/mnt/edvr/1 /mnt/edvr/1 ext4 relatime,errors=remount-ro 0 0


  9. In the terminal window, enter the following commands.

    sudo /etc/init.d/edvrserver stop
    sudo udevadm trigger

    sudo mount -a

    To create your export directories and change ownership:
    Note: in the following commands both “admin” and “user” should be changed to the relevant account names for the machine having issues.

    sudo mkdir /mnt/export/admin
    sudo mkdir /mnt/export/user
    sudo chown admin /mnt/export/admin
    sudo chown user /mnt/export/user
    sudo /etc/init.d/edvrserver start
  10. In a Terminal window, enter the following commands:
    Note: in the following commands both “admin” and “user” should be changed to the relevant account names for the machine having issues.

    sudo rm -r /home/admin/exacqVision\ Files
    sudo rm -r /home/user/exacqVision\ Files
    sudo ln -s /mnt/export/admin /home/admin/exacqVision\ Files
    sudo ln -s /mnt/export/user /home/user/exacqVision\ Files
  11. Run exacqVision Client and check the Storage configuration. You should see the new drive in the list of attached storage devices

Categories
Knowledge Support Support exacqVision Server Categories Products exacqVision Hardware

ExacqVision A-Series 4U Drive Replacement Guide

NOTE: This article assumes that you already know which drive number must be replaced, and that you have a replacement drive ready to install in the system.

NOTE: The photos in this article illustrate the replacement of Drive 3.

To replace a hard drive in an exacqVision A-Series 4U system manufactured on or after 07/30/2015, complete the following steps:

  1. Shut down the system and remove all power cables.
  2. Use a screwdriver to remove the screws that hold the system lid in place. Remove the lid.
  3. Locate the drive that needs to be replaced. Drives are labeled by numbers 0 up to 7 (the Drive 3 label is circled in the blue oval in the following image).

    Power and communication cables must be removed from all drives in the same cage — drives 0-3 or drives 4-7. Power cables are on top (circled in red) and communication cables are on the bottom (one example is shown in a green oval). Note the labels on the communication cables, as they must be plugged in later in the same order.
  1. Remove the screws that hold the cage in place. There are two screws on the side of the chassis and four screws on the bottom. For better access to the screws on the bottom, you can tilt the system on its side as shown. CAUTION: If you tilt the system on its side, hold the cage in with your hand as you remove the screws so that the cage does not fall out of the system.

<br>

  1. Slide the cage up and out of the chassis.
  1. Remove the screws that hold the drive in its cage. There are two screws on the bottom of the cage and two screws on top of the cage. Remove the drive from the cage.

<br>

  1. Slide the replacement drive into the empty slot in the cage. Secure it in the slot using the four screws removed in the previous step.
  2. Slide the cage back into the chassis and affix it with the six screws removed in step 4.
  3. Plug the communication cables into the drives. Note the labels on the cables and plug them in order according to the drive numbers.
  4. Plug the power cables (in any order) into the drives.
  5. Secure the system lid using the screws removed in step 2.
  6. Connect the power cable and start the system.

<br>

exacqVision-A-Series-4U-Drive-Replacement-Guide.pdf