Does data in /var filesystem is lost on reboot in Solaris

Posted on 2012-09-06
Last Modified: 2012-09-07
Hi experts,

Does data in /var filesystem is lost on reboot in Solaris?

We have 2 critical files in /var/personal directory, just need to know if it is lost on reboot or does not.

Thanks and regards
Question by:ashwin2012
    LVL 30

    Accepted Solution


    No files will be erased between reboots over the /var data system. So you can boot them and won't be loosing any files unless you have a custom special script running after a boot operation which is very unlikely.


    Author Comment

    just to know can you please let me know which /dir are lost on reboot in solaris so we will refrain from storing data in it.
    LVL 16

    Expert Comment

    No data will be lost on reboot in Solaris with any directories, whcih has been definded in /etc/vfstab. But usually any user (personal) data should store in a seperated dir such as /home or user defind dir other than root, /usr /var etc. just in case of crashed OS.
    LVL 40

    Assisted Solution

    no directory will be lost. only filesystems that are not mounted automatically will not be mounted and after reboot you can remount them

    If you have files in /tmp dir then they might be deleted

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now