btrfs volume not mounted after reboot

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • btrfs volume not mounted after reboot

      Hi,
      I have a btrfs volume consisting of 5 disks, which also shows up under Storage / File Systems - but it is neither Mounted nor Referenced. Status is Online.

      When I select the row with the btrfs volume and click Mount, the web gui gives after some time error "communication failure" and I can hear disk activity on the server for a longer time. Applying the configuration changes does not (visually) change the result.



      Source Code

      1. root@openmediavault:~# cat /etc/fstab
      2. # /etc/fstab: static file system information.
      3. #
      4. # Use 'blkid' to print the universally unique identifier for a
      5. # device; this may be used with UUID= as a more robust way to name devices
      6. # that works even if disks are added and removed. See fstab(5).
      7. #
      8. # <file system> <mount point> <type> <options> <dump> <pass>
      9. # / was on /dev/sda1 during installation
      10. UUID=ba03e21d-5f3b-49d2-af51-b54fcbce4e4f / ext4 errors=remount-ro 0 1
      11. # swap was on /dev/sda5 during installation
      12. UUID=a3b3e50f-365d-48fa-bf60-bff7c22fbc76 none swap sw 0 0
      13. /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
      14. tmpfs /tmp tmpfs defaults 0 0
      15. # UUID=dc7ca9ad-6af0-47e9-9c3a-860127d2c362 /mnt btrfs defaults 0 0
      16. # >>> [openmediavault]
      17. /dev/disk/by-id/ata-ST8000VN0022-2EL112_ZA15REZ0 /srv/dev-disk-by-id-ata-ST8000VN0022-2EL112_ZA15REZ0 btrfs defaults,nofail 0 2
      18. /dev/disk/by-id/ata-ST8000VN0022-2EL112_ZA10JE0A /srv/dev-disk-by-id-ata-ST8000VN0022-2EL112_ZA10JE0A btrfs defaults,nofail 0 2
      19. # <<< [openmediavault]
      Display All

      Source Code

      1. root@openmediavault:~# blkid
      2. /dev/sda1: LABEL="SSD" UUID="01CBBD747F977740" TYPE="ntfs" PARTUUID="ba9937a6-01"
      3. /dev/sdb1: UUID="ba03e21d-5f3b-49d2-af51-b54fcbce4e4f" TYPE="ext4" PARTUUID="a38799b1-01"
      4. /dev/sdb5: UUID="a3b3e50f-365d-48fa-bf60-bff7c22fbc76" TYPE="swap" PARTUUID="a38799b1-05"
      5. /dev/sdc: UUID="dc7ca9ad-6af0-47e9-9c3a-860127d2c362" UUID_SUB="2c91c083-c7fe-49f4-9366-9c7bc11b25e5" TYPE="btrfs"
      6. /dev/sdd: UUID="dc7ca9ad-6af0-47e9-9c3a-860127d2c362" UUID_SUB="ff69f7f1-8f1c-415a-85c7-fb9ebf128b4f" TYPE="btrfs"
      7. /dev/sde: UUID="dc7ca9ad-6af0-47e9-9c3a-860127d2c362" UUID_SUB="a3055af1-c347-4271-80c8-4c496b08e4e1" TYPE="btrfs"
      8. /dev/sdf: UUID="dc7ca9ad-6af0-47e9-9c3a-860127d2c362" UUID_SUB="806046ca-6ef3-4e6c-9b47-411ba66bea20" TYPE="btrfs"
      9. /dev/sdg: UUID="dc7ca9ad-6af0-47e9-9c3a-860127d2c362" UUID_SUB="bea7c939-21ad-4528-82a7-76585a3858c1" TYPE="btrfs"

      Source Code

      1. root@openmediavault:~# mount
      2. sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
      3. proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
      4. udev on /dev type devtmpfs (rw,nosuid,relatime,size=3041740k,nr_inodes=760435,mode=755)
      5. devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
      6. tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=611380k,mode=755)
      7. /dev/sdb1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
      8. securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
      9. tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
      10. tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
      11. tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
      12. cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
      13. pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
      14. cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
      15. cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
      16. cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
      17. cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
      18. cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
      19. cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
      20. cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
      21. cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
      22. cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
      23. systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10744)
      24. hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
      25. mqueue on /dev/mqueue type mqueue (rw,relatime)
      26. debugfs on /sys/kernel/debug type debugfs (rw,relatime)
      27. sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
      28. nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
      29. tmpfs on /tmp type tmpfs (rw,relatime)
      30. /dev/sdf on /srv/dev-disk-by-id-ata-ST8000VN0022-2EL112_ZA10JE0A type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
      Display All

      Probably something with the configuration is messed up, but I don't know where to start. Can anyone give advice?

      Thanks
      Christian
    • If I manually mount the drive on the command line with

      Source Code

      1. mount -v --source /dev/disk/by-id/ata-ST8000VN0022-2EL112_ZA15REZ0 --target /srv/dev-disk-by-id-ata-ST8000VN0022-2EL112_ZA15REZ0
      the system runs fine - except the GUI does not show the volume as Mounted. But I received an email:

      Status succeeded Service mountpoint_srv_dev-disk-by-id-ata-ST8000VN0022-2EL112_ZA15REZ0 Date: Mon, 03 Sep 2018 09:08:48 Action: alert Host: openmediavault Description: status succeeded (0) -- /srv/dev-disk-by-id-ata-ST8000VN0022-2EL112_ZA15REZ0 is a mountpointYour faithful employee,Monit

      Can mounting the volume be automized correctly?
    • Users Online 1

      1 Guest