Linux filesystems recoverability











up vote
0
down vote

favorite












I am on Debian 8.6 and have 1x 4 member RAID6 2TB size in effect. Apart from backup system I now need to decide what filesystem to use.



The purpose of this array is reliability, availability, and the possibility to recover deleted files.










share|improve this question




























    up vote
    0
    down vote

    favorite












    I am on Debian 8.6 and have 1x 4 member RAID6 2TB size in effect. Apart from backup system I now need to decide what filesystem to use.



    The purpose of this array is reliability, availability, and the possibility to recover deleted files.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am on Debian 8.6 and have 1x 4 member RAID6 2TB size in effect. Apart from backup system I now need to decide what filesystem to use.



      The purpose of this array is reliability, availability, and the possibility to recover deleted files.










      share|improve this question















      I am on Debian 8.6 and have 1x 4 member RAID6 2TB size in effect. Apart from backup system I now need to decide what filesystem to use.



      The purpose of this array is reliability, availability, and the possibility to recover deleted files.







      filesystems data-recovery






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 24 at 19:39









      Rui F Ribeiro

      38.3k1476127




      38.3k1476127










      asked Oct 29 '16 at 11:31









      Vlastimil

      7,4471158132




      7,4471158132






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Use ext4.



          The mature (and not stale) choices are basically ext4 and xfs. Redhat like XFS for it's scalability, performance. I have nothing against it but ext4 is more commonly used and hence slightly better understood (community documentation like StackExchange).



          Don't expect to recover unlinked files.





          There used to be an undeleter for linux ext2. There isn't one that works for modern filesystems, in my experience.



          (When the FAT filesystem on your camera breaks with much-wanted photos on it - or you accidentally delete all - photorec is amazing. It works for many document types, not just photos. But you don't want to run it the server of a small business, it can't exclude files which are not deleted and it can't tell the filename).





          New-fangled copy-on-write filesystems can carry historical snapshots, allowing recovery if you delete a file that existed in the last snapshot. But:



          btrfs is not considered stable in Debian. (Everyone tells you to use the latest upstream kernel for btrfs, or possibly a distribution like SUSE where they were backporting fixes). btrfs' nascent native raid5/6 code was recently discovered to be broken and AFAIK still needs rewriting.



          ZFS would be a valid solution. But since you don't mention it yourself, I would not suggest it. It is not even included in Debian. ZFS is kind of its own thing... it even has it's own weird cache system separate from the normal Linux VFS.






          share|improve this answer




























            up vote
            0
            down vote













            This might not be the answer you want to hear but... As far as I know, there is currently no filesystem that can recover deleted files in a reliable way. I say "reliable" because I know there are tools available that claim do this, to some extent.



            The only foolproof way to recover accidentally deleted files is via backups.



            My suggestion is that you, instead of looking for a filesystem that can recover files, make sure that you know which data you want to back up, and do so regularly using whatever tool suits you best (I rely heavily on rsync but there are plenty of other backup tools available).






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "106"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f319703%2flinux-filesystems-recoverability%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote



              accepted










              Use ext4.



              The mature (and not stale) choices are basically ext4 and xfs. Redhat like XFS for it's scalability, performance. I have nothing against it but ext4 is more commonly used and hence slightly better understood (community documentation like StackExchange).



              Don't expect to recover unlinked files.





              There used to be an undeleter for linux ext2. There isn't one that works for modern filesystems, in my experience.



              (When the FAT filesystem on your camera breaks with much-wanted photos on it - or you accidentally delete all - photorec is amazing. It works for many document types, not just photos. But you don't want to run it the server of a small business, it can't exclude files which are not deleted and it can't tell the filename).





              New-fangled copy-on-write filesystems can carry historical snapshots, allowing recovery if you delete a file that existed in the last snapshot. But:



              btrfs is not considered stable in Debian. (Everyone tells you to use the latest upstream kernel for btrfs, or possibly a distribution like SUSE where they were backporting fixes). btrfs' nascent native raid5/6 code was recently discovered to be broken and AFAIK still needs rewriting.



              ZFS would be a valid solution. But since you don't mention it yourself, I would not suggest it. It is not even included in Debian. ZFS is kind of its own thing... it even has it's own weird cache system separate from the normal Linux VFS.






              share|improve this answer

























                up vote
                1
                down vote



                accepted










                Use ext4.



                The mature (and not stale) choices are basically ext4 and xfs. Redhat like XFS for it's scalability, performance. I have nothing against it but ext4 is more commonly used and hence slightly better understood (community documentation like StackExchange).



                Don't expect to recover unlinked files.





                There used to be an undeleter for linux ext2. There isn't one that works for modern filesystems, in my experience.



                (When the FAT filesystem on your camera breaks with much-wanted photos on it - or you accidentally delete all - photorec is amazing. It works for many document types, not just photos. But you don't want to run it the server of a small business, it can't exclude files which are not deleted and it can't tell the filename).





                New-fangled copy-on-write filesystems can carry historical snapshots, allowing recovery if you delete a file that existed in the last snapshot. But:



                btrfs is not considered stable in Debian. (Everyone tells you to use the latest upstream kernel for btrfs, or possibly a distribution like SUSE where they were backporting fixes). btrfs' nascent native raid5/6 code was recently discovered to be broken and AFAIK still needs rewriting.



                ZFS would be a valid solution. But since you don't mention it yourself, I would not suggest it. It is not even included in Debian. ZFS is kind of its own thing... it even has it's own weird cache system separate from the normal Linux VFS.






                share|improve this answer























                  up vote
                  1
                  down vote



                  accepted







                  up vote
                  1
                  down vote



                  accepted






                  Use ext4.



                  The mature (and not stale) choices are basically ext4 and xfs. Redhat like XFS for it's scalability, performance. I have nothing against it but ext4 is more commonly used and hence slightly better understood (community documentation like StackExchange).



                  Don't expect to recover unlinked files.





                  There used to be an undeleter for linux ext2. There isn't one that works for modern filesystems, in my experience.



                  (When the FAT filesystem on your camera breaks with much-wanted photos on it - or you accidentally delete all - photorec is amazing. It works for many document types, not just photos. But you don't want to run it the server of a small business, it can't exclude files which are not deleted and it can't tell the filename).





                  New-fangled copy-on-write filesystems can carry historical snapshots, allowing recovery if you delete a file that existed in the last snapshot. But:



                  btrfs is not considered stable in Debian. (Everyone tells you to use the latest upstream kernel for btrfs, or possibly a distribution like SUSE where they were backporting fixes). btrfs' nascent native raid5/6 code was recently discovered to be broken and AFAIK still needs rewriting.



                  ZFS would be a valid solution. But since you don't mention it yourself, I would not suggest it. It is not even included in Debian. ZFS is kind of its own thing... it even has it's own weird cache system separate from the normal Linux VFS.






                  share|improve this answer












                  Use ext4.



                  The mature (and not stale) choices are basically ext4 and xfs. Redhat like XFS for it's scalability, performance. I have nothing against it but ext4 is more commonly used and hence slightly better understood (community documentation like StackExchange).



                  Don't expect to recover unlinked files.





                  There used to be an undeleter for linux ext2. There isn't one that works for modern filesystems, in my experience.



                  (When the FAT filesystem on your camera breaks with much-wanted photos on it - or you accidentally delete all - photorec is amazing. It works for many document types, not just photos. But you don't want to run it the server of a small business, it can't exclude files which are not deleted and it can't tell the filename).





                  New-fangled copy-on-write filesystems can carry historical snapshots, allowing recovery if you delete a file that existed in the last snapshot. But:



                  btrfs is not considered stable in Debian. (Everyone tells you to use the latest upstream kernel for btrfs, or possibly a distribution like SUSE where they were backporting fixes). btrfs' nascent native raid5/6 code was recently discovered to be broken and AFAIK still needs rewriting.



                  ZFS would be a valid solution. But since you don't mention it yourself, I would not suggest it. It is not even included in Debian. ZFS is kind of its own thing... it even has it's own weird cache system separate from the normal Linux VFS.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 29 '16 at 17:27









                  sourcejedi

                  22.1k43397




                  22.1k43397
























                      up vote
                      0
                      down vote













                      This might not be the answer you want to hear but... As far as I know, there is currently no filesystem that can recover deleted files in a reliable way. I say "reliable" because I know there are tools available that claim do this, to some extent.



                      The only foolproof way to recover accidentally deleted files is via backups.



                      My suggestion is that you, instead of looking for a filesystem that can recover files, make sure that you know which data you want to back up, and do so regularly using whatever tool suits you best (I rely heavily on rsync but there are plenty of other backup tools available).






                      share|improve this answer



























                        up vote
                        0
                        down vote













                        This might not be the answer you want to hear but... As far as I know, there is currently no filesystem that can recover deleted files in a reliable way. I say "reliable" because I know there are tools available that claim do this, to some extent.



                        The only foolproof way to recover accidentally deleted files is via backups.



                        My suggestion is that you, instead of looking for a filesystem that can recover files, make sure that you know which data you want to back up, and do so regularly using whatever tool suits you best (I rely heavily on rsync but there are plenty of other backup tools available).






                        share|improve this answer

























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          This might not be the answer you want to hear but... As far as I know, there is currently no filesystem that can recover deleted files in a reliable way. I say "reliable" because I know there are tools available that claim do this, to some extent.



                          The only foolproof way to recover accidentally deleted files is via backups.



                          My suggestion is that you, instead of looking for a filesystem that can recover files, make sure that you know which data you want to back up, and do so regularly using whatever tool suits you best (I rely heavily on rsync but there are plenty of other backup tools available).






                          share|improve this answer














                          This might not be the answer you want to hear but... As far as I know, there is currently no filesystem that can recover deleted files in a reliable way. I say "reliable" because I know there are tools available that claim do this, to some extent.



                          The only foolproof way to recover accidentally deleted files is via backups.



                          My suggestion is that you, instead of looking for a filesystem that can recover files, make sure that you know which data you want to back up, and do so regularly using whatever tool suits you best (I rely heavily on rsync but there are plenty of other backup tools available).







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Oct 29 '16 at 16:23

























                          answered Oct 29 '16 at 16:11









                          maulinglawns

                          6,16621225




                          6,16621225






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f319703%2flinux-filesystems-recoverability%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              List directoties down one level, excluding some named directories and files

                              list processes belonging to a network namespace

                              list systemd RuntimeDirectory mounts