hi, I have upgrade from OMV4 to OMV5 this when OK, However, I need to re-gen the fstab file. I did this doing the following:
This produce a non-working fstab, relevant section below:
# >>> [openmediavault]
b616b60c-896a-4ffb-93a7-ffea1c206951 /media/b616b60c-896a-4ffb-93a7-ffea1c206951 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
b5bc14e4-183a-449f-a21d-8744e0bd3627 /media/b5bc14e4-183a-449f-a21d-8744e0bd3627 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
If the fstab is inspected the leading 'UUID=' is missing from both the auto generated part of the fstab and thus this will not mount. Also more oddly the '/etc/resolev.conf' was removed. The fstab was generated from the following model in the config.xml. (if you need the network config i can supply this as well the advance section of the networking config have a DNS server entry and it using the new systemd networking)
<mntent>
<uuid>48c7501f-4ea9-4b5e-9af0-f71f93985324</uuid>
<fsname>b616b60c-896a-4ffb-93a7-ffea1c206951</fsname>
<dir>/media/b616b60c-896a-4ffb-93a7-ffea1c206951</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>b1915f21-1e8d-4054-9541-adfa3cf2bb33</uuid>
<fsname>b5bc14e4-183a-449f-a21d-8744e0bd3627</fsname>
<dir>/media/b5bc14e4-183a-449f-a21d-8744e0bd3627</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>
Alles anzeigen
I can fix both the file easily by adding the 'UUID=' to the fstab and re-setting-up '/etc/resolv.conf'. However what did i do incorrect is the config.xml incorrect
and why is this effecting the '/etc/resolv.conf' ?
Any help most welcome as to why this is happening.