Can only mount with gparted

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











up vote
0
down vote

favorite












I have the following /etc/fstab entry which fails to execute at system boot/startup:



/dev/sdb1 /media/ssd256 ext4 rw,user,exec,umask=000 0 0


Doing



sudo mount -a


yields:



mount: /media/ssd256: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.


However, if I sudo gparted and mount via its UI, then the device is mounted.
I am not sure how to fix this issue.



EDIT:
I changed the options to use defaults instead of rw,user,exec,umask=000, now sudo mount -a also works.
The question now is: what is wrong with my initial options?







share|improve this question


















  • 2




    Does gparted actually show an ext4 filesystem type for this device? What output for fsck command on /dev/sdb1? What if you replace options rw,user,exec,umask=000 with just "defaults"?
    – tonioc
    Jan 13 at 8:30










  • Did you fsck /dev/sdb1 ?
    – Mukesh Sai Kumar
    Jan 13 at 8:33














up vote
0
down vote

favorite












I have the following /etc/fstab entry which fails to execute at system boot/startup:



/dev/sdb1 /media/ssd256 ext4 rw,user,exec,umask=000 0 0


Doing



sudo mount -a


yields:



mount: /media/ssd256: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.


However, if I sudo gparted and mount via its UI, then the device is mounted.
I am not sure how to fix this issue.



EDIT:
I changed the options to use defaults instead of rw,user,exec,umask=000, now sudo mount -a also works.
The question now is: what is wrong with my initial options?







share|improve this question


















  • 2




    Does gparted actually show an ext4 filesystem type for this device? What output for fsck command on /dev/sdb1? What if you replace options rw,user,exec,umask=000 with just "defaults"?
    – tonioc
    Jan 13 at 8:30










  • Did you fsck /dev/sdb1 ?
    – Mukesh Sai Kumar
    Jan 13 at 8:33












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have the following /etc/fstab entry which fails to execute at system boot/startup:



/dev/sdb1 /media/ssd256 ext4 rw,user,exec,umask=000 0 0


Doing



sudo mount -a


yields:



mount: /media/ssd256: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.


However, if I sudo gparted and mount via its UI, then the device is mounted.
I am not sure how to fix this issue.



EDIT:
I changed the options to use defaults instead of rw,user,exec,umask=000, now sudo mount -a also works.
The question now is: what is wrong with my initial options?







share|improve this question














I have the following /etc/fstab entry which fails to execute at system boot/startup:



/dev/sdb1 /media/ssd256 ext4 rw,user,exec,umask=000 0 0


Doing



sudo mount -a


yields:



mount: /media/ssd256: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.


However, if I sudo gparted and mount via its UI, then the device is mounted.
I am not sure how to fix this issue.



EDIT:
I changed the options to use defaults instead of rw,user,exec,umask=000, now sudo mount -a also works.
The question now is: what is wrong with my initial options?









share|improve this question













share|improve this question




share|improve this question








edited Jan 13 at 8:37

























asked Jan 13 at 8:21









erdal.karaca

1033




1033







  • 2




    Does gparted actually show an ext4 filesystem type for this device? What output for fsck command on /dev/sdb1? What if you replace options rw,user,exec,umask=000 with just "defaults"?
    – tonioc
    Jan 13 at 8:30










  • Did you fsck /dev/sdb1 ?
    – Mukesh Sai Kumar
    Jan 13 at 8:33












  • 2




    Does gparted actually show an ext4 filesystem type for this device? What output for fsck command on /dev/sdb1? What if you replace options rw,user,exec,umask=000 with just "defaults"?
    – tonioc
    Jan 13 at 8:30










  • Did you fsck /dev/sdb1 ?
    – Mukesh Sai Kumar
    Jan 13 at 8:33







2




2




Does gparted actually show an ext4 filesystem type for this device? What output for fsck command on /dev/sdb1? What if you replace options rw,user,exec,umask=000 with just "defaults"?
– tonioc
Jan 13 at 8:30




Does gparted actually show an ext4 filesystem type for this device? What output for fsck command on /dev/sdb1? What if you replace options rw,user,exec,umask=000 with just "defaults"?
– tonioc
Jan 13 at 8:30












Did you fsck /dev/sdb1 ?
– Mukesh Sai Kumar
Jan 13 at 8:33




Did you fsck /dev/sdb1 ?
– Mukesh Sai Kumar
Jan 13 at 8:33










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










dmesg| tail will show



EXT4-fs (dm-4): Unrecognized mount option "umask=000" or missing value


Indeed, umask option is not part of accepted ones for ext4 fs : see man mount



this is why...






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: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f416763%2fcan-only-mount-with-gparted%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    dmesg| tail will show



    EXT4-fs (dm-4): Unrecognized mount option "umask=000" or missing value


    Indeed, umask option is not part of accepted ones for ext4 fs : see man mount



    this is why...






    share|improve this answer
























      up vote
      1
      down vote



      accepted










      dmesg| tail will show



      EXT4-fs (dm-4): Unrecognized mount option "umask=000" or missing value


      Indeed, umask option is not part of accepted ones for ext4 fs : see man mount



      this is why...






      share|improve this answer






















        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        dmesg| tail will show



        EXT4-fs (dm-4): Unrecognized mount option "umask=000" or missing value


        Indeed, umask option is not part of accepted ones for ext4 fs : see man mount



        this is why...






        share|improve this answer












        dmesg| tail will show



        EXT4-fs (dm-4): Unrecognized mount option "umask=000" or missing value


        Indeed, umask option is not part of accepted ones for ext4 fs : see man mount



        this is why...







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 13 at 9:13









        tonioc

        1,12457




        1,12457






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416763%2fcan-only-mount-with-gparted%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay