[SOLVED] Mystery of Mounting a Synology partition via UUID not working
-
- Posts: 5
- Joined: 2017/08/25 17:04:09
[SOLVED] Mystery of Mounting a Synology partition via UUID not working
Dear all,
I have an issue with my CentOS Data Server mounting a Synology Partition via its UUID, and was hoping for some suggestions from any digital sleuths out there.
So, I have a computer set up running CentOS 6.7. In it, I had a beautiful /home directory containing subfolders for all my users. The /home folder was, and I stress was, because it is no longer able to mount, actually mounted at startup. My fstab has the following entries:
UUID = XXX /boot ext4 defaults 1 1
UUID = XXX /home ext4 defaults, _netdev 0 0
The problem is that the disk (as identified by its UUID) is no longer mounting to /home on startup.
When i run mount -a, i get the dreaded:
mount: special device UUID - XXX does not exist
I know this UUID points to something that exists, because I have another computer in my lab that shows a disk icon on the desktop, and UUID-XXX - File Browser at the top of the window when I click on it and open it. All the home directory contents are there and accessible from this computer.
I just can't figure out why it is not being seen by my data server as it was in the past.
Any thoughts or suggestions would be much appreciated,
Best,
Roger
I have an issue with my CentOS Data Server mounting a Synology Partition via its UUID, and was hoping for some suggestions from any digital sleuths out there.
So, I have a computer set up running CentOS 6.7. In it, I had a beautiful /home directory containing subfolders for all my users. The /home folder was, and I stress was, because it is no longer able to mount, actually mounted at startup. My fstab has the following entries:
UUID = XXX /boot ext4 defaults 1 1
UUID = XXX /home ext4 defaults, _netdev 0 0
The problem is that the disk (as identified by its UUID) is no longer mounting to /home on startup.
When i run mount -a, i get the dreaded:
mount: special device UUID - XXX does not exist
I know this UUID points to something that exists, because I have another computer in my lab that shows a disk icon on the desktop, and UUID-XXX - File Browser at the top of the window when I click on it and open it. All the home directory contents are there and accessible from this computer.
I just can't figure out why it is not being seen by my data server as it was in the past.
Any thoughts or suggestions would be much appreciated,
Best,
Roger
Last edited by rogiedodgie on 2017/08/30 13:23:29, edited 1 time in total.
Re: Mystery of Mounting a Device via UUID
Try removing the spaces:rogiedodgie wrote:Dear all,
I have an issue with my CentOS Data Server mounting a Synology Partition via its UUID, and was hoping for some suggestions from any digital sleuths out there.
So, I have a computer set up running CentOS 6.7. In it, I had a beautiful /home directory containing subfolders for all my users. The /home folder was, and I stress was, because it is no longer able to mount, actually mounted at startup. My fstab has the following entries:
UUID = XXX /boot ext4 defaults 1 1
UUID = XXX /home ext4 defaults, _netdev 0 0
The problem is that the disk (as identified by its UUID) is no longer mounting to /home on startup.
When i run mount -a, i get the dreaded:
mount: special device UUID - XXX does not exist
I know this UUID points to something that exists, because I have another computer in my lab that shows a disk icon on the desktop, and UUID-XXX - File Browser at the top of the window when I click on it and open it. All the home directory contents are there and accessible from this computer.
I just can't figure out why it is not being seen by my data server as it was in the past.
Any thoughts or suggestions would be much appreciated,
Best,
Roger
Code: Select all
UUID=XXX /boot ext4 defaults 1 1
UUID=XXX /home ext4 defaults, _netdev 0 0
-
- Posts: 5
- Joined: 2017/08/25 17:04:09
Re: Mystery of Mounting a Device via UUID
Thank you for your suggestion.
I tried removing all of the spaces as you suggested, and it still didn't mount the drives.
Any other thoughts?
Best,
Roger
I tried removing all of the spaces as you suggested, and it still didn't mount the drives.
Any other thoughts?
Best,
Roger
Re: Mystery of Mounting a Device via UUID
Run blkid to find out what UUID the filesystem does have and amend fstab to match. The uuid really should not change unless you reformat the filesystem or run a filesystem utility (like tune2fs) to set it to a new value.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Mystery of Mounting a Device via UUID
Excuse my ignorance: How is the server connected to the Synology? And what is a "Synology Partition"?
-
- Posts: 5
- Joined: 2017/08/25 17:04:09
Re: Mystery of Mounting a Device via UUID
Would a Consistency Check change the UUID? I did run one after the crash and loss of the /home directory?TrevorH wrote:Run blkid to find out what UUID the filesystem does have and amend fstab to match. The uuid really should not change unless you reformat the filesystem or run a filesystem utility (like tune2fs) to set it to a new value.
Roger
-
- Posts: 5
- Joined: 2017/08/25 17:04:09
Re: Mystery of Mounting a Device via UUID
We have a Synology Diskstation. It is a network attached storage (NAS) device. We access it through the local network via Ethernet cables.tunk wrote:Excuse my ignorance: How is the server connected to the Synology? And what is a "Synology Partition"?
https://www.synology.com/en-us
Best,
Roger
Re: Mystery of Mounting a Device via UUID
I was more thinking about if you're using NFS, samba, iSCSI or something else.
-
- Posts: 5
- Joined: 2017/08/25 17:04:09
Re: Mystery of Mounting a Device via UUID
Ok, we solved this problem.
Apparently there was a checkbox that in the Synology WebApp (under iSCSI LUN --> Edit --> Advanced) that allowed us to 'enable multiple sessions from one or more iSCSI initiators'. Once we turned this on (it was on for our other partitions as well), we were able to mount our Synology NAS partition as our /home directory on our Centos based server.
While we are not sure how or why this was changed, everything appears to be working again!
Roger
Apparently there was a checkbox that in the Synology WebApp (under iSCSI LUN --> Edit --> Advanced) that allowed us to 'enable multiple sessions from one or more iSCSI initiators'. Once we turned this on (it was on for our other partitions as well), we were able to mount our Synology NAS partition as our /home directory on our Centos based server.
While we are not sure how or why this was changed, everything appears to be working again!
Roger