使用“磁盘”工具更改挂载点时出错 - Ubuntu 14.04

使用“磁盘”工具更改挂载点时出错 - Ubuntu 14.04

我正在尝试将我的辅助磁盘“2TB”挂载到“User1”主目录中。我使用“磁盘”工具卸载了 2TB 磁盘 >> 挂载选项 > 然后将挂载点更改为 /home/User1/Desktop/2TB。当我再次尝试挂载磁盘时,我收到此错误消息

安装系统管理设备 /dev/sda1 时出错:命令行“mount “/home/User1/Desktop/2TB” 存在,退出状态为非零 32:mount:错误的 fs 类型、错误的选项、/dev/sda1 上的错误超级块、缺少代码页或辅助程序或其他错误。在某些情况下,在系统日志中发现有用的信息 - 尝试 dmseg | tail 等。(udisks-error-quark,0)

错误消息的含义是什么以及如何修复将我的 2TB 磁盘安装到 User1 桌面?

odoo@odoo-server:~$ dmseg | tail
No command 'dmseg' found, did you mean:
 Command 'mmseg' from package 'sunpinyin-utils' (main)
 Command 'dmesg' from package 'util-linux' (main)
dmseg: command not found
odoo@odoo-server:~$ dmesg | tail
[111847.580077] audit: type=1326 audit(1502853701.271:37): auid=4294967295 uid=65534 gid=65534 ses=4294967295 pid=17834 comm="vsftpd" exe="/usr/sbin/vsftpd" sig=31 arch=c000003e syscall=37 compat=0 ip=0x7f19b84de6d7 code=0x0
[112028.927039] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[112156.908954] audit: type=1326 audit(1502854010.591:38): auid=4294967295 uid=65534 gid=65534 ses=4294967295 pid=19225 comm="vsftpd" exe="/usr/sbin/vsftpd" sig=31 arch=c000003e syscall=37 compat=0 ip=0x7f19b84de6d7 code=0x0
[112231.855116] EXT4-fs (sda1): Unrecognized mount option "x-gvfs-show" or missing value
[112416.979618] audit: type=1326 audit(1502854270.659:39): auid=4294967295 uid=65534 gid=65534 ses=4294967295 pid=19781 comm="vsftpd" exe="/usr/sbin/vsftpd" sig=31 arch=c000003e syscall=37 compat=0 ip=0x7f19b84de6d7 code=0x0
[112571.897055] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[112571.982229] systemd-hostnamed[21350]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
[112699.479816] audit: type=1326 audit(1502854553.151:40): auid=4294967295 uid=65534 gid=65534 ses=4294967295 pid=21426 comm="vsftpd" exe="/usr/sbin/vsftpd" sig=31 arch=c000003e syscall=37 compat=0 ip=0x7f19b84de6d7 code=0x0
[112849.342441] audit: type=1326 audit(1502854703.011:41): auid=4294967295 uid=65534 gid=65534 ses=4294967295 pid=21573 comm="vsftpd" exe="/usr/sbin/vsftpd" sig=31 arch=c000003e syscall=37 compat=0 ip=0x7f19b84de6d7 code=0x0
[113019.536448] EXT4-fs (sda1): Unrecognized mount option "x-gvfs-show" or missing value
odoo@odoo-server:~$

odoo@odoo-server:~$ sudo parted -l
Model: ATA WDC WD20PURX-64P (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      17.4kB  2000GB  2000GB  ext4         2TB


Model: ATA Crucial_CT275MX3 (scsi)
Disk /dev/sdb: 275GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End    Size    File system     Name  Flags
 1      1049kB  538MB  537MB   fat32                 boot
 2      538MB   258GB  257GB   ext4
 3      258GB   275GB  17.1GB  linux-swap(v1)



odoo@odoo-server:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=c69948a3-9b7d-4fd7-b66c-9dd885c92f08 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=DF63-A313  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda3 during installation
UUID=db6be66c-5106-40b5-a030-f456f2c635ca none            swap    sw              0       0
#/dev/disk/by-uuid/ab37b9d4-9510-4480-aa84-d5f598aa1d92 /mnt/ab37b9d4-9510-4480-aa84-d5f598aa1d92 auto default 0 0
/dev/disk/by-uuid/12C066590FB763E6 /home/cam1/Recording auto nosuid,nodev,nofail,x-gvfs-show,noauto 0 0

答案1

简单修复:

在 /etc/fstb 中将“x-gvfs-show”更改为“comment=x-gvfs-show”

来源:无法识别的挂载选项“x-gvfs-show”或缺少值

相关内容