My computer has an SSD and an internal hard drive. I tried to set things up so that the hard drive would mount automatically on start-up. Unfortunately, something must have gone wrong because I can't mount it at all. I tried to put things back the way they were with the backup copy of fstab that I made before starting, but that didn't help.
When I try to access my hard drive using Files, I get the message:
Unable to access “47862f8f-0d45-4f1e-94f1-bb9ce2b88d23” mount: /etc/fstab: parse error: ignore entry at line 10. mount: /dev/sdb2 is already mounted or /mnt/47862f8f-0d45-4f1e-94f1-bb9ce2b88d23 busy /dev/sdb2 is already mounted on / /dev/sdb2 is already mounted on /mnt/47862f8f-0d45-4f1e-94f1-bb9ce2b88d23
Here are the contents of fstab.
UUID=3b0c4420-5c63-4878-be41-357c7c47dd7e /dev/disk/by-uuid/c126cc7a-ab90-46d2-aafb-c26f94a5bcb4 >/home/allan/Documents/ExtraDrive ext4 user,nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=47862f8f-0d45-4f1e-94f1-bb9ce2b88d23 none swap sw 0 0 /dev/disk/by-uuid/47862f8f-0d45-4f1e-94f1-bb9ce2b88d23 /mnt/47862f8f->0d45-4f1e-94f1-bb9ce2b88d23 ext4 user,nosuid,nodev,nofail,x-gvfs-show 0 1
UUID=3b0c4420-5c63-4878-be41-357c7c47dd7e /dev/disk/by-uuid/3b0c4420-5c63-4878-be41-357c7c47dd7e >/home/allan/Documents/ExtraDrive ext4 user,nosuid,nodev,nofail,x-gvfs->show 0 0
Connect to Cabinet //cabinet.usask.ca/work$ /mnt/cabinet cifs username=ajm195,noauto,user 0 0
This is the output of lsblk -f:
NAME FSTYPE LABEL UUID MOUNTPOINT sdb
├─sdb2 ext4 Ubuntu 47862f8f-0d45-4f1e-94f1-bb9ce2b88d23 /mnt/47862f8f-0d45-4f1 ├─sdb3 swap 3b0c4420-5c63-4878-be41-357c7c47dd7e [SWAP] └─sdb1
Here is the output of df -k:
Filesystem 1K-blocks Used Available Use% Mounted on udev 1961612 0 1961612 0% /dev tmpfs 396648 16552 380096 5% /run /dev/sdb2 111117096 96395236 9054328 92% / tmpfs 1983240 33852 1949388 2% /dev/shm tmpfs 5120 4 5116 1% /run/lock tmpfs 1983240 0 1983240 0% /sys/fs/cgroup cgmfs 100 0 100 0% /run/cgmanager/fs tmpfs 396648 80 396568 1% /run/user/1000
I'm running version 16.04. I would greatly appreciate any help resolving this.