Applies to: WRN-1632(S) and WRN-816S
Issue Summary
This article provides instructions for preventing storage drives from unmounting in WRN-1632(S) and WRN-816S.
Resolution
To prevent storage drives from unmounting:
- Download the update_fstab.sh file (attached to this article) and save it to the desktop of your WRN.
- Unplug all USB sticks or external hard drives.
- Right-click the desktop of your WRN and open Terminal.
- In the terminal, run the following command:
sudo chmod +x update_fstab.sh
This allows the script to be run as an application. - Run the cat /etc/fstab command to view the contents of the file.
- Ensure the file contains the following mount points:
/dev/sda /mnt/sda ext4 defaults,nofail,x-systemd.device-timeout=5 0 0
/dev/sdb /mnt/sdb ext4 defaults,nofail,x-systemd.device-timeout=5 0 0
/dev/sdc /mnt/sdc ext4 defaults,nofail,x-systemd.device-timeout=5 0 0
/dev/sdd /mnt/sdd ext4 defaults,nofail,x-systemd.device-timeout=5 0 0
- If the mount points match, run the command in the sudo ./update_fstab.sh file.
IMPORTANT: Running this script will briefly stop and start the
If the mount points do not match those above, the script cannot be run on this unit and no further action is needed.
media server. During this time (a few seconds), no video will
be recorded. - When prompted, enter your credentials.
- When the script is finished, run cat /etc/fstab again to verify the mount points have changed.
Example: (UUIDs will vary, but the format will remain the same)
UUID=12345678 /mnt/sda ext4 defaults,nofail,x-systemd.device-timeout=5 0 0
UUID=56781234 /mnt/sdb ext4 defaults,nofail,x-systemd.device-timeout=5 0 0
UUID=14235867 /mnt/sdc ext4 defaults,nofail,x-systemd.device-timeout=5 0 0
UUID=23146758 /mnt/sdd ext4 defaults,nofail,x-systemd.device-timeout=5 0 0
NOTE: If your system has less than four drives, only the
lines corresponding to the connected drives will update
with UUID mount points. The remaining lines will not
change and will stay the same after the script runs.