Hi,
First, I know that it's better to let OMV GUI do its magic, but...for different reasons, I have change a mount point in /etc/fstab.
The mount point was linked "by label" and I changed it "by-id" (see lines 7 & 8 )
Code
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=052263f1-d951-4a32-bdbf-052649fe60da / ext4 errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
/dev/disk/by-id/ata-SAMSUNG_MZ7LN512HCHP-000L1_S1ZKNXAG526958-part5 /srv/dev-disk-by-id-ata-SAMSUNG_MZ7LN512HCHP-000L1_S1ZKNXAG526958-part5 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,discard,acl 0 2
/dev/disk/by-id/md-name-home-server:DiskPool /srv/dev-disk-by-id-md-name-home-server-DiskPool ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/dev/disk/by-id/md-name-home-server:Backup /srv/dev-disk-by-id-md-name-home-server-BackupPool ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# /dev/disk/by-label/BackupPool /srv/dev-disk-by-label-BackupPool ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
I have also changed config.xml file to match the previous change...
Code
<fstab>
...
<mntent>
<uuid>935e6c37-1f59-4ebc-97fa-2e23e75a2d37</uuid>
<fsname>/dev/disk/by-id/md-name-home-server:DiskPool</fsname>
<dir>/srv/dev-disk-by-id-md-name-home-server-DiskPool</dir>
<type>ext4</type>
<opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
<freq>0</freq>
<passno>2</passno>
<hidden>0</hidden>
</mntent>
<mntent>
<uuid>66082326-7fbd-4a82-ae52-f43d0f5155ce</uuid>
<fsname>/dev/disk/by-id/md-name-home-server:Backup</fsname>
<dir>/srv/dev-disk-by-id-md-name-home-server-BackupPool</dir>
<type>ext4</type>
<opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
<freq>0</freq>
<passno>2</passno>
<hidden>0</hidden>
</mntent>
</fstab>
Alles anzeigen
Everything works fine, but the problem is that I'm receiving an email at each reboot saying
"Status failed Servicemountpoint_srv_dev-disk-by-label-BackupPool
Date: Tue, 20 Mar 2018 17:14:06
Action: alert
Host: home-server
Description: status failed (1) --/srv/dev-disk-by-label-BackupPool n'est pas un point de montage
Your faithful employee,
Monit"
So I know that I there is still one ref to the old mount point, but where ???
Thanks for the help,
Cheers,