Hi,
I do use six hdd, btrfs, raid10. I had to replace the first drive because of bad blocks. I do used the commands 'add' and 'delete missing' to do this.
Now, I do have some trouble with my filesystems and I do speak of every filesystem, not only the raid10-array.
#1
There is just the raid-array selectable for shared folders. Other mounted partitions are not shown. When I try to umount this not selectable partition I do have the following error:
Fehler #0:
exception 'OMV\Config\DatabaseException' with message 'The XPath query '//system/fstab/mntent[(((((fsname='/dev/sdg3' or fsname='/dev/disk/by-id/ata-Crucial_CT512MX100SSD1_14260C6AB776-part3') or fsname='/dev/disk/by-id/wwn-0x500a07510c6ab776-part3') or fsname='/dev/disk/by-label/OMV-Data') or fsname='/dev/disk/by-uuid/3440785c-e2cb-488f-93e1-bd30aed3cd1f') or fsname='3440785c-e2cb-488f-93e1-bd30aed3cd1f')]' does not return the requested number of 1 object(s).' in /usr/share/php/openmediavault/config/database.inc:172
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(952): OMV\Config\Database->getByFilter('conf.system.fil...', Array, 1)
#1 [internal function]: OMVRpcServiceFileSystemMgmt->umount(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('umount', Array, Array)
#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('FileSystemMgmt', 'umount', Array, Array, 1)
#5 {main}
#2
The same happens while trying to unmount the raid10-array:
Fehler #0:
exception 'OMV\Config\DatabaseException' with message 'The XPath query '//system/fstab/mntent[(((((fsname='/dev/sdb' or fsname='/dev/disk/by-id/ata-WDC_WD40EFRX-68N32N0_WD-WCC7K5CRTF53') or fsname='/dev/disk/by-id/wwn-0x50014ee2645e1d37') or fsname='/dev/disk/by-label/Halut-NAS-Data') or fsname='/dev/disk/by-uuid/5238e0fa-b814-4d3d-baed-0eb668c4f65c') or fsname='5238e0fa-b814-4d3d-baed-0eb668c4f65c')]' does not return the requested number of 1 object(s).' in /usr/share/php/openmediavault/config/database.inc:172
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(952): OMV\Config\Database->getByFilter('conf.system.fil...', Array, 1)
#1 [internal function]: OMVRpcServiceFileSystemMgmt->umount(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('umount', Array, Array)
#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('FileSystemMgmt', 'umount', Array, Array, 1)
#5 {main}
#3
This happend after I had to install OMV3 again. Tried to upgrade to OMV4 but I had even more problems with 4.0.6. No shared folders accessible other the network...
mount shows:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=881734,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=1416252k,mode=755)
/dev/sdg1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
tmpfs on /etc/machine-id type tmpfs (ro,relatime,size=1416252k,mode=755)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=1329)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/sdb on /srv/dev-disk-by-id-ata-WDC_WD40EFRX-68WT0N0_WD-WCC4E1PF3UN9 type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
/dev/sdb on /export/Backup type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@Backup)
/dev/sdg3 on /srv/dev-disk-by-label-OMV-Data type btrfs (rw,relatime,ssd,discard,space_cache,subvolid=5,subvol=/)
Alles anzeigen
I do have 2 entries for /dev/sdb:
/dev/sdb on /srv/dev-disk-by-id-ata-WDC_WD40EFRX-68WT0N0_WD-WCC4E1PF3UN9 type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
/dev/sdb on /export/Backup type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@Backup)
I ask for help, as I don't know where to fix this...
Kind regards,
Tom