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

Create a technical support case if you need further support.

Restoring a dead storage device in SafeSync for Enterprise (SSFE)

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

A storage device is marked as "Down" when it cannot correctly gain the ob state of Mogile Service by the deviceChecker script.

Details
Public

To identify the issue:

  • Check the log of deviceChecker script:
    grep "local WRITEABLE=" /var/log/osdp/storage-check.log* | sort -u | head -1
      
    # If there is any matched string, that means it cannot get the status correctly from this moment.
    # example matched string:  storage-check.log-20160906:[Local][2016-09-05T08:26:03] local WRITEABLE=
    
  • Check the Storage Management page on the Admin portal if the error icon shows up beside the storage device.

    Storage Management

To resolve the issue:

  1. Apply the SSFE 3.2 EP-2 package to fix it. You can download it by clicking on this link.
  2. Make the storage device "Alive" in the Mogile File System:

    # Get the current status of storage devices
    mogadm device list

    # Example:
    # osdp-store1 [1]: alive
    # used(G) free(G) total(G)
    # dev11: down 5.652 61.249 66.901

    # Mark a device as alive
    # mogadm device mark Mark a device as {alive,dead,down,drain,readonly}
    # Numeric devid to modify.
    # Hostname of device
    # One of {alive,dead,down,drain,readonly}
    mogadm device mark osdp-store1 11 alive

    # Check the status again
    mogadm device list

    # Example:
    # osdp-store1 [1]: alive
    # used(G) free(G) total(G)
    # dev11: alive 5.652 61.249 66.901

  3. Update the device's mysql status:

    # Get the current status of storage devices
    mysql -uroot -psafesync osdp -e "select * from devices_map\G";

    # Example:
    # *************************** 1. row ***************************
    # device_id: 1
    # nic_id: 0
    # appliance_id: 1
    # status: down
    # created: 2016-06-27 07:34:14
    # accessed: 2016-09-08 07:57:02

    # Mark a device as alive
    mysql -uroot -psafesync osdp -e "update devices_map set status='alive' where device_id=1\G";

    # Check the status again
    mysql -uroot -psafesync osdp -e "select * from devices_map\G";

    # Example:
    # *************************** 1. row ***************************
    # device_id: 1
    # nic_id: 0
    # appliance_id: 1
    # status: alive
    # created: 2016-06-27 07:34:14
    # accessed: 2016-09-08 07:57:02

  4. Check the Storage Management page on the Admin portal if the status is back to normal. Click the Refresh button.

    Storage Management

Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
1115599
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.