[SOLVED] Error mounting filesystem via either Disks or fstab

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jiawen
Level 2
Level 2
Posts: 75
Joined: Sun Mar 17, 2013 5:29 pm

[SOLVED] Error mounting filesystem via either Disks or fstab

Post by jiawen »

I get this error when I try to mount a pre-existing partition:

Code: Select all

Error mounting filesystem

Error mounting system-managed device /dev/sdb6: Command-line `mount "/mnt/a8232d93-dc61-40a6-941c-5567a1b6134f"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb6,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

 (udisks-error-quark, 0)
I get a similar error whether I try to do it through the Disks GUI or directly through editing the fstab. Doing dmesg | tail gives:

Code: Select all

 [132169.213592] EXT3-fs (sdb5): error: unrecognized mount option "x-gvfs-show" or missing value
[132484.316984] EXT3-fs (sdb6): error: unrecognized mount option "x-gvfs-show" or missing value
[132598.409618] EXT3-fs (sdb6): error: unrecognized mount option "x-gvfs-show" or missing value
[132656.954865] kjournald starting.  Commit interval 5 seconds
[132657.054436] EXT3-fs (sdb6): using internal journal
[132657.054440] EXT3-fs (sdb6): mounted filesystem with ordered data mode
[132719.499671] EXT3-fs (sdb6): error: unrecognized mount option "x-gvfs-show" or missing value
[132983.555140] EXT3-fs (sdb6): error: unrecognized mount option "x-gvfs-show" or missing value
[133098.650812] EXT3-fs (sdb6): error: unrecognized mount option "x-gvfs-show" or missing value
[133760.639765] EXT3-fs (sdb6): error: unrecognized mount option "x-gvfs-show" or missing value
Does that just mean I need to get rid of the "x-gvfs-show" option? (What does that option do, and what inserted it there?) Here is my current, relevant fstab:

Code: Select all

/dev/disk/by-uuid/a8232d93-dc61-40a6-941c-5567a1b6134f /mnt/a8232d93-dc61-40a6-941c-5567a1b6134f auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=mppart 0 0
Please help! Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
altair4
Level 20
Level 20
Posts: 11427
Joined: Tue Feb 03, 2009 10:27 am

Re: Error mounting filesystem via either Disks or fstab

Post by altair4 »

Step 1: Don't use the Disks utility.

Step 2: Fix your /etc/fstab

Note: You might want to run the following command to make sure it really has that UUID number and that it is in fact formatted to ext3:

Code: Select all

sudo blkid -c /dev/null
** Create a mount point for this partition to live in. I'm going to use /mnt/Data but it can be anything you want. Just make sure you use the exact same mount point in fstab:

Code: Select all

sudo mkdir /mnt/Data
** Change this:
/dev/disk/by-uuid/a8232d93-dc61-40a6-941c-5567a1b6134f /mnt/a8232d93-dc61-40a6-941c-5567a1b6134f auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=mppart 0 0
To this:

Code: Select all

UUID=a8232d93-dc61-40a6-941c-5567a1b6134f /mnt/Data ext3 defaults,noatime 0 2
** If the partition is currently mounted unmount it.

** Then run the following command to test for syntax errors and if there are none mount the partition:

Code: Select all

sudo mount -a
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
jiawen
Level 2
Level 2
Posts: 75
Joined: Sun Mar 17, 2013 5:29 pm

Re: Error mounting filesystem via either Disks or fstab

Post by jiawen »

That got it. Thank you.
johnywhy

Re: Error mounting filesystem via either Disks or fstab

Post by johnywhy »

altair4 wrote:Create a mount point for this partition to live in. I'm going to use /mnt/Data but it can be anything you want.
including /media/MyStuff ?

thx
CinnamonRoll

Re: [SOLVED] Error mounting filesystem via either Disks or f

Post by CinnamonRoll »

jiawen wrote:What does that option do, and what inserted it there?
I'm also wondering what it's doing. However, I suspect I know what inserted it there. Did you use the application Disks to generate the line in /etc/fstab? As I and others have noted, the current version of Disks seems to apply this option by default.
altair4
Level 20
Level 20
Posts: 11427
Joined: Tue Feb 03, 2009 10:27 am

Re: [SOLVED] Error mounting filesystem via either Disks or f

Post by altair4 »

x-gvfs-show will do something < fill in the name of your personal diety > never intended. It will create a link on the side panel of your file manager and on the desktop if you allow that sort of thing for partitions that are not mounted under /media or $HOME.

Back in the olden days you mounted something under /mnt when you didn't want it to show up on the side panel or on the desktop. Makes no sense to put it under /mnt then add x-gvfs-show. And if you wanted to change how it displayed you changed it's LABEL.

It's made worse in Disks because it asks you if you want it to:
Show in user interface
The new user will look at that and say ... well of course I do. That's why I'm mounting it. What kind of a daft question is that? Selecting that option inserts x-gvfs-show.

I'm going to be uncharacteristically generous here and suggest that "Disks" isn't buggy it's that Mint isn't ready for it yet. Disks was written and designed to fit within the whole systemd / brave-new-world udev/udisks universe. When Mint goes to version 18 all the backend pieces will be in place to have this goofy option work.

BTW, This thread is 3 years old. The OP may have gone to the dark side and is a happy MacBook user today.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Locked

Return to “Storage”