note:
1. This mode is only applicable to the case where the size of the network disk video file is smaller than the remaining capacity of the local hard disk.
2. The process of copying the video file takes a long time to prevent the session connection from timing out. The copy process needs to run the automatic carriage return script on the secureCRT and format the network disk.
[Back up the network disk file to the RSE local]
Log in to the RSE command line and enter the command as shown below to view the local hard disk /home/rseuser/localDisk/recorderList/remaining capacity.
867G, IPSAN network disk / home / rseuser / ipsanDisk / recorderList / has used capacity 17G, that is, network disk video
The piece size is smaller than the remaining capacity of the local hard disk.

Then execute the command:
cp -r /home/rseuser/ipsanDisk/recorderList/ /home/rseuser/localDisk/recorderList/
You can back up the video files on the network disk to your local hard disk.
[Backup video migration to new storage]
Confirm the mount on the new network disk and execute the command:
cp -r /home/rseuser/localDisk/recorderList/recorderList/* /home/rseuser/ipsanDisk/recorderList/
This command copies the video files backed up by the local hard disk back to the network disk.
Then you need to modify the file permissions of the copy back to the network disk, and execute the commands separately:
chown -R rseuser:root /home/rseuser/ipsanDisk/recorderList/
chmod -R 770 /home/rseuser/ipsanDisk/recorderList/
Finally delete the backup folder and execute the command:
rm -rf /home/rseuser/localDisk/recorderList/recorderList/