Partition /dev/sda5 is no longer mounted following update. How do I fix

Strange but following an update my multimedia data, about 4TB worth, no longer is sitting within my home directory tree. When I checked the partition I find it is not mounted.
Any views as to why after years of use this setup has broken and please remind me how I mount it so it is “permanently” part of the home directory tree.
Just a bit nervous when strange things happen and so much is at stake.

Are there any log entries indicating a problem? Have you checked “dmesg” to see if it indicates a problem?

You might try (as root)

fsck /dev/sda5

to see if that shows any issues.

And if that is clean, try manually mounting and see if there are any errors.

Maybe post the relevant line from “/etc/fstab”.

And please show us

cat /etc/fstab

so we can see what the entry is.

And apart from the fsck, you could also do a

mount -a

to see if it mounts or what the error messages are.

Hi and many thanks for the speedy response.
The partition in question is shown from the partitioner as:-

  • File System: XFS
  • Mount Point: /multimedia (not mounted)
  • Mount By: UUID
  • Label:
  • UUID: 4272b75a-ea72-4068-8826-e2dfc5611fd5

dmesg has no obvious issues except the last few lines which suggest a USB drive was not properly unmounted. (it was)

fsck was less help than I expected:-

install:~ # fsck /dev/sda5
fsck from util-linux 2.34
If you wish to check the consistency of an XFS filesystem or
repair a damaged filesystem, see xfs_repair(8).
install:~ # 

and here is fstab:-

install:/etc # cat fstab
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /                       btrfs  defaults                      0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /var                    btrfs  subvol=/@/var                 0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /usr/local              btrfs  subvol=/@/usr/local           0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /tmp                    btrfs  subvol=/@/tmp                 0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /srv                    btrfs  subvol=/@/srv                 0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /root                   btrfs  subvol=/@/root                0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /opt                    btrfs  subvol=/@/opt                 0  0
UUID=4272b75a-ea72-4068-8826-e2dfc5611fd5  /multimedia             xfs    defaults                      0  0
UUID=4ceac2e7-6bdc-40d2-9dff-da7a2099bf45  /home                   xfs    defaults                      0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /boot/grub2/x86_64-efi  btrfs  subvol=/@/boot/grub2/x86_64-efi  0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /boot/grub2/i386-pc     btrfs  subvol=/@/boot/grub2/i386-pc  0  0
UUID=B738-D576                             /boot/efi               vfat   defaults                      0  0
UUID=46f191b6-7472-49c0-bd98-75824020d947  swap                    swap   defaults                      0  0
UUID=18ac0db8-9da6-48f7-8bf0-9eab0def1de1  /.snapshots             btrfs  subvol=/@/.snapshots          0  0
install:/etc # 

In my home directory there is an entry which is in yellow on red background and if I look at the properties it seems this is what remains of the link which should connect to the partition which has been unmounted.

Can I do any harm by trying to mount /etc/sda5 and how should I do this exactly?

I assume yhis is the one you mean:

UUID=4272b75a-ea72-4068-8826-e2dfc5611fd5  /multimedia             xfs    defaults                      0  0

You can check that with:

ls -l /dev/disk/by-uuid | grep '4272b75a-ea72-4068-8826-e2dfc5611fd5'

It should link to /dev/sda5.

First you said that it is not mounted.
Now you tell that there is a link in the home directory of a particular user that links to /multimedia and that that link shows strange things, I assume in some GUI tool. Which does not mean it is not mounted.

Thus please first check if it is mounted:

mount | grep media

And of course show that symlink. browse to that home directory and do an ls -l of it:

cd /home/.....
ls -l .....

And where is the

mount -a

I asked for?

Hi Henk, I believe my explanation so far is correct. The partitioner shows /dev/sd5 is not mounted but the properties of directory entry /home/alastair/master show that there should be a link to /multimedia/multimedia when /dev/sda5 is mounted.
The reason I had not used the command mount -a was that I did not know the full situation and did not want to try and mount all until I was more confident the system had not been corrupted.
All the tests you subsequently suggested confirm this as follows:-

alastair@install:~> ls -l /dev/disk/by-uuid | grep '4272b75a-ea72-4068-8826-e2dfc5611fd5'
lrwxrwxrwx 1 root root 10 Oct  9 16:19 4272b75a-ea72-4068-8826-e2dfc5611fd5 -> ../../sda5
alastair@install:~> mount | grep media
alastair@install:~> ls -l
total 153
drwxr-xr-x  2 alastair users   225 Nov  8  2018 calendars_working_files
drwxr-xr-x  2 alastair users   172 Jun 26 21:57 Desktop
drwxr-xr-x  3 alastair users    27 Nov  8  2018 dfsee_15x
drwxr-xr-x  2 root     root     25 Jul 21  2017 dfsee_work
drwxr-xr-x 34 alastair users  8192 Sep 27 17:25 Documents
drwxr-xr-x 73 alastair users 16384 Oct  9 16:45 Downloads
-rw-r--r--  1 alastair users  9493 Aug 27 20:38
drwxr-xr-x  2 alastair users     6 May 31  2018 flv_videos
drwxr-xr-x  2 alastair users 65536 Oct  2 02:24 GiP_Recordings
drwxr-xr-x  3 alastair users    72 May 31  2018 Handbrake_Rips
lrwxrwxrwx  1 alastair users    22 Aug 15 21:52 mastermedia -> /multimedia/multimedia
drwxr-xr-x  2 alastair users    28 Aug 12 23:03 Misc_Computing_Files
drwxr-xr-x  2 alastair users     6 Mar 30  2017 Music
drwxr-xr-x  2 alastair users     6 Dec 23  2017 NAS_Backup_NFS
drwxr-xr-x  2 alastair users     6 Jul 20  2016 Nas_Multimedia_NFS
drwxr-xr-x  2 alastair users     6 Dec 23  2017 NAS_Test_NFS_Folder
-rw-r--r--  1 alastair users 16549 Oct  3 21:35 Passwords.kdbx
drwxr-xr-x  6 alastair users  4096 Oct  8 16:42 pCloudDrive
drwxr-xr-x 16 alastair users  4096 Sep 27 18:13 Pictures
drwxr-xr-x  2 alastair users     6 Mar  8  2016 Public_NFS_Share
drwxr-xr-x  2 alastair users     6 Aug  5 19:51 rips
drwxr-xr-x  4 alastair users  4096 Aug 12 21:27 scanned_docs
drwxr-xr-x  2 alastair users     6 May 28  2016 SD_Card_Work
drwxr-xr-x  8 alastair users  4096 Aug 12 21:35 SongKong
drwxr-xr-x  3 alastair users    48 Mar 18  2016 Tagging_Testing
drwxr-xr-x  3 alastair users  4096 Jan 26  2017 temp
drwxr-xr-x  2 alastair users   322 Apr 17  2017 tmp
drwxr-xr-x  2 alastair users     6 Oct 16  2016 Videos
drwxr-xr-x  4 alastair users    38 Jan 24  2016 VirtualBox VMs
drwxr-xr-x  7 alastair users  4096 Sep 30 21:10 Working
alastair@install:~> mount -a
mount: only root can use "--all" option
alastair@install:~> su -
install:~ # mount -a

I have now taken the plunge and mounted all and the mounted partition has picked up the link and all is working as it should. What I do not know still is why the partition became unmounted in the first place following a re-boot after a Tumbleweed update.
Many thanks to all for the help and guidance. I shall see what happens with the next re-boot which with Tumbleweed will not be long away!
Regards and thanks again,

OK, nice it works again. Indeed, the fact that we do not know exactly why it wasn’t mounted is a bit frustrating. Just watching is the best.

And next time, as always, it is far better to not (only) tell your conclusions, but show computer facts. Then others can draw their own conclusions. You have seen the commands above and they provide far more factual information then trying to tell what you see in the window of some silly GUI tool. :wink: