Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: /srv empty after booting, recovering folders after reboot

  1. #11
    Join Date
    May 2017
    Location
    Reunion Island
    Posts
    30

    Default Re: /srv empty after booting, recovering folders after reboot

    Quote Originally Posted by hcvv View Post
    It was just a thought. It is very strange what you report, so one tries everything
    I agree with you, it sounds really uncommon. Have I done some kind of silly manipulation ? I can't remember of that, but it's generally the case. But it would then happen all the time : on the contrary it is a random event.

    I am grateful for your thoughts and guesses anyway.

  2. #12
    Join Date
    May 2017
    Location
    Reunion Island
    Posts
    30

    Default Re: /srv empty after booting, recovering folders after reboot

    Hi,

    today this problem occurred again, so I tried to check filesystem using ls and tree :

    Code:
    erik@linux-5n3o:~> cd /srv
    erik@linux-5n3o:/srv> ls -l
    total 0
    erik@linux-5n3o:/srv> 
    erik@linux-5n3o:/srv> tree
    .
    
    0 directories, 0 files
    erik@linux-5n3o:/srv>
    Then I waited to see whether things could get better after booting process completion. But they didn't.
    Last edited by Voronamanga; 12-Aug-2019 at 11:45. Reason: images did'nt load, wrong url

  3. #13
    Join Date
    May 2017
    Location
    Reunion Island
    Posts
    30

    Default Re: /srv empty after booting, recovering folders after reboot

    And now after reboot :

    Code:
    erik@linux-5n3o:/srv> ls -l
    total 0
    drwxr-x--- 1 firebird firebird  0  9 juil. 16:16 firebird
    drwxr-xr-x 1 tftp     tftp      0 31 juil. 16:49 tftpboot
    drwxr-xr-x 1 wwwrun   wwwrun   38  4 juil. 16:14 www
    erik@linux-5n3o:/srv>

  4. #14
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,859

    Default Re: /srv empty after booting, recovering folders after reboot

    I see it, but I cannot believe it
    Henk van Velden

  5. #15
    Join Date
    May 2017
    Location
    Reunion Island
    Posts
    30

    Default Re: /srv empty after booting, recovering folders after reboot

    Quote Originally Posted by hcvv View Post
    I see it, but I cannot believe it
    I take your disbelief as a mark of empathy ...

    Erik

  6. #16
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,859

    Default Re: /srv empty after booting, recovering folders after reboot

    Quote Originally Posted by Voronamanga View Post
    I take your disbelief as a mark of empathy ...

    Erik
    That is correct.

    I recall this problem several times a day in the hope that I will get a"AHA Erlebnis". In vain thus far
    Henk van Velden

  7. #17
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,649

    Default Re: /srv empty after booting, recovering folders after reboot

    If BTRFS maybe there is a glitch since most sub-directories in BTRFS are mounted so that mount is randomly failing????? Week sector maybe run smartctrl

  8. #18
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,925
    Blog Entries
    2

    Default Re: /srv empty after booting, recovering folders after reboot

    Recommend checking your file system integrity.

    https://btrfs.wiki.kernel.org/index.php/Btrfsck

    You'll notice like most articles that you shouldn't run a "repair" unless there is no alternative, it can be destructive.
    So, for instance you might start with the following which will safely fix certain problems in your case
    Code:
    btrfs scrub start /srv/
    If this is a Production server system,
    You might want to consider how critical this problem might be, whether you feel you can live it or not and if one day you can't recover how valuable the data is(ie backup)...
    IIRC the procedure when running a repair is similar to the procedure recovering a database... After a successful repair, you shouldn't rely on its integrity. You should immediately create a new volume and copy your data into that, then reconfigure mounting the new copy in place of the original.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #19
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,649
    Blog Entries
    14

    Default Re: /srv empty after booting, recovering folders after reboot

    Please check
    Code:
    sudo journalcrl | grep srv
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •