Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Moving root partition files to another device for SafeSync for Enterprise (SSFE)

    • Updated:
    • 21 Oct 2016
    • Product/Version:
    • SafeSync for Enterprise 3.1
    • SafeSync for Enterprise 3.2
    • Platform:
    • iOS 9.2
Summary

If the end-user didn't add a new storage device after installing SSFE, the file will write to the root partition and the partition will be full soon.

This article shows how to move files to another device.

Details
Public

Prerequisites:

  • The customer's SSFE version should be 3.2.
  • Check if SSFE has more than 2 storage devices. If the total of the storage devices is less than 3, add another storage device from admin portal.

To move files:

  1. Secure Shell (SSH) login to the SSFE server.
  2. Input the following commands:

    # get the root permission
    sudo su

    # please set the $target_dev_id to the device id that need to be drain (i.e. 11, 21 etc...)
    # for example target_id_dev=11
    target_dev_id=ID && ( [ "$target_dev_id" = "ID" ] && echo "please enter the valid target_dev_id" ) || ( [ "$(hostname)" = "appliance1" ] && s_host="osdp-store1" || s_host="osdp-store2" && mogadm device mark $s_host $target_dev_id drain) 2> /dev/null

    mogadm fsck reset && mogadm fsck start
    watch -n 1 mogadm fsck status
    # wait status to 100%

    # check if the file number of drain device is close to zero
    watch -n 1 'stats=$(mogstats 2> /dev/null) && last=$(echo "$stats" | grep -n "Statistics for file ids" | cut -d":" -f1) && echo "$stats" | sed -n "1,${last}p"'

    # if the storage type is local
    # for example: /opt/SingleInstaller/nodeControl/bin/mount-local.bash --dead dev11
    /opt/SingleInstaller/nodeControl/bin/mount-local.bash --dead dev$devid

    # if the storage type is iscsi
    # for example: /opt/SingleInstaller/nodeControl/bin/mount-iscsi.bash --dead dev11
    /opt/SingleInstaller/nodeControl/bin/mount-iscsi.bash --dead dev$devid

    # FINISH

Premium
Internal
Rating:
Category:
Configure
Solution Id:
1115621
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.