[SOLVED] Error mounting filesystem via either Disks or fstab

Forum rules
Before you post please read this
jiawen
Level 1
Level 1
Posts: 42
Joined: Sun Mar 17, 2013 5:29 pm

[SOLVED] Error mounting filesystem via either Disks or fstab

Postby jiawen » Fri Mar 22, 2013 1:43 am

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 jiawen on Mon Mar 25, 2013 7:30 pm, edited 1 time in total.
Desktop: Linux Mint 17.3 | Mate 1.12.0 | i5 6500 CPU | 16 GB RAM | GTX 960 | c. 6 TB HD

altair4
Level 17
Level 17
Posts: 7899
Joined: Tue Feb 03, 2009 10:27 am

Re: Error mounting filesystem via either Disks or fstab

Postby altair4 » Fri Mar 22, 2013 6:30 am

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 1
Level 1
Posts: 42
Joined: Sun Mar 17, 2013 5:29 pm

Re: Error mounting filesystem via either Disks or fstab

Postby jiawen » Mon Mar 25, 2013 7:30 pm

That got it. Thank you.
Desktop: Linux Mint 17.3 | Mate 1.12.0 | i5 6500 CPU | 16 GB RAM | GTX 960 | c. 6 TB HD

User avatar
johnywhy
Level 3
Level 3
Posts: 133
Joined: Tue Feb 05, 2008 9:22 pm
Contact:

Re: Error mounting filesystem via either Disks or fstab

Postby johnywhy » Wed Jun 03, 2015 11:15 pm

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
Linux Noob, but been coding for 35 years, wrote unix shell scripts in awk, lex, and sed 30 years ago.

CinnamonRoll
Level 1
Level 1
Posts: 7
Joined: Sun May 03, 2015 9:03 am

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

Postby CinnamonRoll » Wed Feb 03, 2016 4:16 pm

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 17
Level 17
Posts: 7899
Joined: Tue Feb 03, 2009 10:27 am

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

Postby altair4 » Wed Feb 03, 2016 4:39 pm

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.


Return to “Mounting Partitions”

Who is online

Users browsing this forum: No registered users and 1 guest