Mount email warning

  • 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...



    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,

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

  • OK... file found.


    /etc/monit/conf.d/openmediavault-filesystem.conf


    [EDIT] And if you have some rsnapshot saves configured on that drive, don't forget to delete/re-create them... else your / drive will be quickly full ;) (like me this morning ! lol)


    Cheers,

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

    3 Mal editiert, zuletzt von sbocquet ()

  • It seems that I have missed Something...



    For me, the conf file is fine...
    Any idea to "patch" this error message?

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

  • Ok... found it;)


    Thanks to that thread Receiving "service name conflict" errors after upgrade from 0.4.38 to 1.7


    I have made a copy of the old .conf file to a .sav file... and it seems that monit takes all the conf file in the directory regardless of the file extension name ;)


    Deleted the .sav file and restarted the service.


    Works !

    Lian Li PC-V354 (with Be Quiet! Silent Wings 3 fans)
    ASRock Rack x470D4U | AMD Ryzen 5 3600 | Crucial 16GB DDR4 2666MHz ECC | Intel x550T2 10Gb NIC

    1 x ADATA 8200 Pro 256MB NVMe for System/Caches/Logs/Downloads
    5 x Western Digital 10To HDD in RAID 6 for Datas
    1 x Western Digital 2To HDD for Backups

    Powered by OMV v5.6.26 & Linux kernel 5.10.x

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!