why I get “existing superblock read failed: Invalid argument”

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Facing issue while running mfks.xfs -f -i



$ truncate -s 41943040 /d/backends/disk1



$ mkfs.xfs -f -i size=512 /d/backends/disk1



gives error



meta-data=/d/backends/disk1 isize=512 agcount=2, agsize=5120 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0
data = bsize=4096 blocks=10240, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal log bsize=4096 blocks=855, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
existing superblock read failed: Invalid argument
mkfs.xfs: pwrite64 failed: Unknown error -22









share|improve this question

























    up vote
    0
    down vote

    favorite












    Facing issue while running mfks.xfs -f -i



    $ truncate -s 41943040 /d/backends/disk1



    $ mkfs.xfs -f -i size=512 /d/backends/disk1



    gives error



    meta-data=/d/backends/disk1 isize=512 agcount=2, agsize=5120 blks
    = sectsz=512 attr=2, projid32bit=1
    = crc=1 finobt=1, sparse=0
    data = bsize=4096 blocks=10240, imaxpct=25
    = sunit=0 swidth=0 blks
    naming =version 2 bsize=4096 ascii-ci=0 ftype=1
    log =internal log bsize=4096 blocks=855, version=2
    = sectsz=512 sunit=0 blks, lazy-count=1
    realtime =none extsz=4096 blocks=0, rtextents=0
    existing superblock read failed: Invalid argument
    mkfs.xfs: pwrite64 failed: Unknown error -22









    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Facing issue while running mfks.xfs -f -i



      $ truncate -s 41943040 /d/backends/disk1



      $ mkfs.xfs -f -i size=512 /d/backends/disk1



      gives error



      meta-data=/d/backends/disk1 isize=512 agcount=2, agsize=5120 blks
      = sectsz=512 attr=2, projid32bit=1
      = crc=1 finobt=1, sparse=0
      data = bsize=4096 blocks=10240, imaxpct=25
      = sunit=0 swidth=0 blks
      naming =version 2 bsize=4096 ascii-ci=0 ftype=1
      log =internal log bsize=4096 blocks=855, version=2
      = sectsz=512 sunit=0 blks, lazy-count=1
      realtime =none extsz=4096 blocks=0, rtextents=0
      existing superblock read failed: Invalid argument
      mkfs.xfs: pwrite64 failed: Unknown error -22









      share|improve this question













      Facing issue while running mfks.xfs -f -i



      $ truncate -s 41943040 /d/backends/disk1



      $ mkfs.xfs -f -i size=512 /d/backends/disk1



      gives error



      meta-data=/d/backends/disk1 isize=512 agcount=2, agsize=5120 blks
      = sectsz=512 attr=2, projid32bit=1
      = crc=1 finobt=1, sparse=0
      data = bsize=4096 blocks=10240, imaxpct=25
      = sunit=0 swidth=0 blks
      naming =version 2 bsize=4096 ascii-ci=0 ftype=1
      log =internal log bsize=4096 blocks=855, version=2
      = sectsz=512 sunit=0 blks, lazy-count=1
      realtime =none extsz=4096 blocks=0, rtextents=0
      existing superblock read failed: Invalid argument
      mkfs.xfs: pwrite64 failed: Unknown error -22






      mount filesystem volume-control file-format






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 21 at 13:16









      rss

      1




      1




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).






          share|improve this answer




















          • but i am able to create new partition on this : fdisk /d/backends/disk1 and it is not a mounted disk. It is a device created from gluster server.
            – rss
            Mar 22 at 4:18


















          up vote
          0
          down vote













          I have build and installed xfsprogs solved my issue



          apt-get install libtool automake gettext libblkid-dev uuid-dev
          git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
          cd fsprogs-dev
          make && make install





          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017940%2fwhy-i-get-existing-superblock-read-failed-invalid-argument%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).






            share|improve this answer




















            • but i am able to create new partition on this : fdisk /d/backends/disk1 and it is not a mounted disk. It is a device created from gluster server.
              – rss
              Mar 22 at 4:18















            up vote
            0
            down vote













            You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).






            share|improve this answer




















            • but i am able to create new partition on this : fdisk /d/backends/disk1 and it is not a mounted disk. It is a device created from gluster server.
              – rss
              Mar 22 at 4:18













            up vote
            0
            down vote










            up vote
            0
            down vote









            You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).






            share|improve this answer












            You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 21 at 13:52









            waltinator

            20.6k74068




            20.6k74068











            • but i am able to create new partition on this : fdisk /d/backends/disk1 and it is not a mounted disk. It is a device created from gluster server.
              – rss
              Mar 22 at 4:18

















            • but i am able to create new partition on this : fdisk /d/backends/disk1 and it is not a mounted disk. It is a device created from gluster server.
              – rss
              Mar 22 at 4:18
















            but i am able to create new partition on this : fdisk /d/backends/disk1 and it is not a mounted disk. It is a device created from gluster server.
            – rss
            Mar 22 at 4:18





            but i am able to create new partition on this : fdisk /d/backends/disk1 and it is not a mounted disk. It is a device created from gluster server.
            – rss
            Mar 22 at 4:18













            up vote
            0
            down vote













            I have build and installed xfsprogs solved my issue



            apt-get install libtool automake gettext libblkid-dev uuid-dev
            git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
            cd fsprogs-dev
            make && make install





            share|improve this answer
























              up vote
              0
              down vote













              I have build and installed xfsprogs solved my issue



              apt-get install libtool automake gettext libblkid-dev uuid-dev
              git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
              cd fsprogs-dev
              make && make install





              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                I have build and installed xfsprogs solved my issue



                apt-get install libtool automake gettext libblkid-dev uuid-dev
                git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
                cd fsprogs-dev
                make && make install





                share|improve this answer












                I have build and installed xfsprogs solved my issue



                apt-get install libtool automake gettext libblkid-dev uuid-dev
                git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
                cd fsprogs-dev
                make && make install






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 22 at 9:40









                rss

                1




                1



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017940%2fwhy-i-get-existing-superblock-read-failed-invalid-argument%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Trouble downloading packages list due to a “Hash sum mismatch” error

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Cutting all the characters after the last /