Hello, guys! After switching to OMV6, I noticed floating problem with phantom FS.
Floating - I don't know what action or config produce it. But I caught the problem twice and had have to clean reinstall.
Installation method: on server debian with several unfree drivers.
Installed and configured: users, ssh, disks, FS, shared dirs, smb, portainer, plugins (nut, minidlna, flashmemory, diskstat, cputemp, kvm, sharerootfs)
I suppose guilty sharerootfs or kvm
So, one day I've get pending update in web UI.
It's mistake to:
- ignore it
- revert it
- applay it
because i've got stub system after it. System mounted with flag "errors=remount-ro", so after salt deploy phantom changes, system goes read-only mode. No sudo privileges, reboot only from physical button.
What there was in changes? New mntent with 79684322-3eac-11ea-a974-63a080abab18 uuid.
cd /etc/openmediavault
ls
# config.xml config.xml.0001 php.ini
diff -c config.xml config.xml.0001
*** config.xml 2022-03-09 14:07:25.804882643 +0300
--- config.xml.0001 2022-03-09 14:07:25.804882643 +0300
***************
*** 415,420 ****
--- 415,430 ----
<usagewarnthreshold>85</usagewarnthreshold>
<comment>noxMnt</comment>
</mntent>
+ <mntent>
+ <uuid>79684322-3eac-11ea-a974-63a080abab18</uuid>
+ <fsname>/dev/sda6</fsname>
+ <dir>/</dir>
+ <type>ext4</type>
+ <opts>noatime,nodiratime,errors=remount-ro</opts>
+ <freq>0</freq>
+ <passno>1</passno>
+ <hidden>1</hidden>
+ </mntent>
</fstab>
<shares>
<!--
Alles anzeigen
Joke in that there was not such device:
enot@stone:/etc/openmediavault$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
└─sda1 ext4 1.0 nox defeb500-44b5-4d90-90de-5f38c2eb66dd 937.8G 0% /srv/dev-disk-by-uuid-defeb500-44b5-4d90-90de-5f38c2eb66dd
sdb
├─sdb1 ntfs Recovery C800668300667878
├─sdb2 vfat FAT32 BA68-3968 66.1M 31% /boot/efi
├─sdb3
├─sdb4 ntfs winOs 3CB2429EB2425D10
├─sdb5 vfat FAT32 NO_LABEL 157E-FEB0
├─sdb6 ext4 1.0 nixOs 78d29736-9098-4dc8-b617-7dd0bd881b5c 72.4G 7% /
└─sdb7 swap 1 d6400408-c4f0-4500-8321-c7f926ac1bf8 [SWAP]
sdc
├─sdc1 ntfs winData 794E09230EB2CBC2
└─sdc2 ext4 1.0 nixData 5df3d4ad-0414-4018-a3c9-bd248ee5fa4c 2.8T 10% /srv/dev-disk-by-uuid-5df3d4ad-0414-4018-a3c9-bd248ee5fa4c
sdd
└─sdd1 ext4 1.0 nixBkup b2f9a5d4-ea0f-44d0-9ce9-d72536fbdcb0 1.7T 0% /srv/dev-disk-by-uuid-b2f9a5d4-ea0f-44d0-9ce9-d72536fbdcb0
Alles anzeigen
Right choice is just delete config.xml.0001 and reboot.
After that, I tried to configure storage for KVM.
In dialogue at KVM -> Pools -> Add -> Path I get error
ZitatFailed to execute XPath query '//system/fstab/mntent[uuid='79684322-3eac-11ea-a974-63a080abab18']'. a few seconds ago
Nice, yes? Of cource there were nothing with such guid in fstab or config.xml.
Strange solution: remove plugin sharerootfs - it'll also remove KVM and some cache. After that - install KVM again.
So, problem had gone.