Hello everyone,
First poster here, and I decided to join the community as, unfortunately, I have a problem.
I am facing an issue with fstab mounting, so here I come, seeking guidance.
Following a bad partitioning, I have broken my previous OMV 2 installation. So be it then, that was a good oppotunity to switch to OMV3.
So I am remaking my system from scratch.
That means I have a basic OMV installation. I have only created a couple users, mounted my different partitions and set them as shared folders for NFS.
This is what my /etc/fstab looks like at the moment:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=8b6028a4-3ce8-4472-b77e-60ecb54ecf68 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=b48f49e0-757a-4ba7-8e00-f09a9b564aa1 none swap sw 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
/dev/disk/by-id/ata-Crucial_CT275MX300SSD1_16431465C41E-part3 /srv/dev-disk-by-id-ata-Crucial_CT275MX300SSD1_16431$
/dev/disk/by-id/ata-WDC_WD60EFRX-68MYMN1_WD-WXL1H840CSYU-part1 /srv/dev-disk-by-id-ata-WDC_WD60EFRX-68MYMN1_WD-WXL$
/dev/disk/by-id/ata-WDC_WD60EFRX-68MYMN1_WD-WXL1H840CSYU-part2 /srv/dev-disk-by-id-ata-WDC_WD60EFRX-68MYMN1_WD-WXL$
/dev/disk/by-id/ata-WDC_WD40EFRX-68WT0N0_WD-WCC4EKDH4L8K-part1 /srv/dev-disk-by-id-ata-WDC_WD40EFRX-68WT0N0_WD-WCC$
/srv/dev-disk-by-id-ata-WDC_WD60EFRX-68MYMN1_WD-WXL1H840CSYU-part2/. /export/Audio none bind,nofail 0 0
/srv/dev-disk-by-id-ata-Crucial_CT275MX300SSD1_16431465C41E-part3/. /export/Files none bind,nofail 0 0
/srv/dev-disk-by-id-ata-WDC_WD40EFRX-68WT0N0_WD-WCC4EKDH4L8K-part1/. /export/Movies none bind,nofail 0 0
/srv/dev-disk-by-id-ata-WDC_WD60EFRX-68MYMN1_WD-WXL1H840CSYU-part1/. /export/Series none bind,nofail 0 0
# <<< [openmediavault]
Alles anzeigen
At boot, the mounting of the /export/ folders fails because of permission denied.
It works correctly when I manually do a "mount -a" (via SSH).
Here are the current permission for the initial and /export/ folders:
drwxr-sr-x 4 root nas 4096 juin 25 19:53 dev-disk-by-id-ata-Crucial_CT275MX300SSD1_16431465C41E-part3
drwxrwsr-x 6 root nas 4096 juin 25 18:11 dev-disk-by-id-ata-WDC_WD40EFRX-68WT0N0_WD-WCC4EKDH4L8K-part1
drwx------ 2 root root 4096 juin 25 19:52 dev-disk-by-id-ata-WDC_WD60EFRX-68MYMN1_WD-WXL1H840CSYU-part1
drwx------ 2 root root 4096 juin 25 19:52 dev-disk-by-id-ata-WDC_WD60EFRX-68MYMN1_WD-WXL1H840CSYU-part2
drwxr-xr-x 2 ftp nogroup 4096 juin 25 19:39 ftp
drwx------ 2 root root 4096 juin 25 20:06 Audio
drwx------ 2 root root 4096 juin 25 20:06 Files
drwx------ 2 root root 4096 juin 25 20:06 Movies
drwx------ 2 root root 4096 juin 25 20:06 Series
drwxr-xr-x 2 root root 4096 juin 25 21:46 temp
So I am aware that I have a permission to change here, but I don't know which one.
Normally the mounting during boot is executed as root, so normally all the folders have the necessary permissions.
So thanks in advance for your clarifications.