1

After a power loss 1 directory (maybe more, I don't know) just became a file on my SSD (ext4 fs):

-rw-------  1 postgres      postgres       16K May 15 20:06 stolon

It was a directory! How could it happen?
And can I make it great directory again?

  • 3
    Have you run a file system check? – roaima May 26 '18 at 21:10
  • No, I didn't. I had 2 replicas of all files. After restarting Stolon without this "file" it just recreated everything. But didn't know this can happen on ext4. I thought it is kinda protected from power loss. – Sergey Jul 29 '18 at 17:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.