Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[STRM/JSA] How to recover /store from file system errors

0

0

Article ID: KB29487 KB Last Updated: 21 May 2015Version: 1.0
Summary:

The system does not function properly due to file system errors. This article explains the method to fix file system errors specifically on the /store partition in STRM/JSA when rebooting the appliance does not resolve the issue.

Symptoms:

fsck (file system check) is the system utility/tool used to check the consistency of a file system in Unix/Linux. fsck is automatically run by the system at boot time, so rebooting the system should be the first step in attempting a resolution.

This article explains the method to fix file system errors specifically on the /store partition in STRM/JSA when rebooting the appliance does not resolve the issue.

Cause:

File system errors are usually caused by faulty hardware (bad disks), electrical problems, but most commonly we see the cause as nongraceful shutdowns in such cases as a crash, power loss (brownouts), or abruptly power-cycling the appliance.

Solution:

To fix file system errors:

  1. Stop STRM services using the following command:

  2. # service tomcat stop
    # service hostcontext stop
    # service imq stop
    # service postgresql stop
  3. Unmount both /store and /store/tmp:

  4. # umount /store/tmp
    # umount /store



  5. Run fsck on specific partition (the df -kh command shows the partition table, run fsck to partition in which /store was mounted). In this case, /store was mounted to sda 7 and /store/tmp was mount to sda5, hence:

  6. # fsck -fy /dev/sda7
    # fsck -fy /dev/sda5

    Note: Do not interrupt this process. It will take several hours to complete.

    Options:
    -f : Force checking even if filesystem is marked clean
    -y : Assume "yes" to all questions





  7. Once the above command is successful, mount the partitions:

  8. # mount /store
    # mount /store/tmp



  9. Start STRM services:

  10. # service postgresql start
    # service imq start
    # service tomcat start
    # service hostcontext start
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search