[SOLVED] Error mounting filesystem via either Disks or fstab

Forum rules
Before you post please read this

[SOLVED] Error mounting filesystem via either Disks or fstab

Postby jiawen on 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.
New desktop: Linux Mint 14 | Mate 1.4.2 | i5 2500K CPU | 8 GB RAM | GTX 560 Ti | c. 1.6 TB HD ||| Netbook: Xubuntu 10.04 | AMD Dual-core 1.6 GHz | 2 GB RAM | 320 GB HD
jiawen
Level 1
Level 1
 
Posts: 20
Joined: Sun Mar 17, 2013 5:29 pm

Linux Mint is funded by ads and donations.
 

Re: Error mounting filesystem via either Disks or fstab

Postby altair4 on 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.
altair4
Level 15
Level 15
 
Posts: 5833
Joined: Tue Feb 03, 2009 10:27 am

Re: Error mounting filesystem via either Disks or fstab

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

That got it. Thank you.
New desktop: Linux Mint 14 | Mate 1.4.2 | i5 2500K CPU | 8 GB RAM | GTX 560 Ti | c. 1.6 TB HD ||| Netbook: Xubuntu 10.04 | AMD Dual-core 1.6 GHz | 2 GB RAM | 320 GB HD
jiawen
Level 1
Level 1
 
Posts: 20
Joined: Sun Mar 17, 2013 5:29 pm


Return to Mounting Partitions

Who is online

Users browsing this forum: No registered users and 2 guests