Posts by godfuture

    I found the error message in firefox debug tools:

    Schema->validateString() seems to be the problem, right? What config objects ("enumerateMountedFilesystems") are affected? I can then paste my config file.


    Update1: I went through the whole thing with help of AI and it gave really good hints and solutions. I have attached it (statistics_broken_withZFSonly.pdf).

    Update2: I checked my mountpoint config with omv-confdbadm read conf.system.filesystem.mountpoint | jq -r '.[] | {uuid,dir,fsname,type} ' and property "fsname" was never empty. As ChatGPT said this issue is probably generated during runtime.

    Hi,

    since I have moved to zfs-only installation, it seems fileystem usage statistics are not working anymore. When clicking it on gui, I get:

    Code
    fsname: The value false is not a string.

    As the error message is not so helpful....what can I check? Where to start?


    8.0.6-1 (Synchrony)

    Linux 6.12.63+deb13-amd64

    Have you tried omv-firstaid to fix/clear the RRD database?

    Yes, when I use ovm-firstaid db check there are no issues found. I have also deleted all db files. Still, there seems issue with time, even sys time is correct.

    Code
    collectd[4591]: rrdcached plugin: rrdc_update (/var/lib/rrdcached/db/localhost/df-root/df_complex-free.rrd, [1766173147.000958:94180950016.000000], 1) failed: rrdcached@unix:/run/rrdcached.sock: illegal attempt to update using time 1766173147.000958 when last update time is 1766173147.000966 (minimum one second step) (status=-1)

    Yes, in that case the OS can not store the latest time to the RTC on system shutdown because the hardware looses the inmformation becasue of the low or empty battery.

    I have the same error logs as Nocturnal-red. Your explanation seems to explain issues after restart, but what about system time being correct during runtime?

    Hi guys,

    I try to implement something like a homefolder, but with a more specific purpose than generic user storage. I want to setup a folder for Thunderbird archive in network, but files and folders should only be visible to those who created them. This means, for a new user, this folder should look completely empty.


    Linux permissions are still a bit tricky to me, but I have learned there is a umask, samba create and directory mask and default user and groups for folders and files. Unfortunately, none of those settings were helping to implement the goal described above.


    I also noticed that there are no groups in the system named like the user. If my user is "user1", there is no group "user1". Is this required to make folders and files visible only to its creator?


    How to achive all this?


    Many thanks for all input possible!

    You are replying to a 12 year old thread.

    And what is the problem? Really, where is the issue? In general, threads help people to solve their problems. Information is key. I have the same issue why should I open another thread? Just to see a recent date on it? I provided information to everyone else ending up here, too.

    Same issue here. My two "ST2000VN004-2E4164" are going down in less than a minute even I have set spin down to 180 minutes.


    This behavior is not changing no matter what is configured on other options like APM or accoustics.


    The only thing that helps is to disable everything entirely.


    I guess the omv implementation isnt working properly for all drives. Take a look here: [How-To] Spin-down hard drives with hd-idle

    Alright, this was a wild ride. As the threads in the links above concluded: there are only two ways to solve it either upgrade to grub 2.12 (in my case grub-efi 2.12) or recreate the boot partition. As I f**ked up my boot partition, because I didnt know how to install apps from backport (yes, I just learned today), I did both. Now it is working again.


    Import learning: if boot partition has to be recreated, do not only reinstall linux kernel and headers, but also "base-files" ;)

    Hi guys,

    I migrated from typical mdadm, luks, lvm2 to zfs. I was a big effort, but it worked in the end. I have created a mirrored boot and mirrored root on zfs. All fine. But I went from Intel CPU to AMD Pro APU. The /dev/dri path was missing so I tried to load the proper module. I have changed:

    Code
    cat > /etc/modprobe.d/gpu.conf << EOF # Load AMD driver
    options amdgpu si_support=0 cik_support=0
    update-initramfs -u -k all

    In grub commandline during boot, all zfs filesystems are shown as "unknown" and the following error is thrown:
    grub-install: error: compression algorithm inherit not supported


    Did I forget to update-grub? What might be the issue here? As a consequence of this error, my server is starting in grub commandline. How can I rescue the part grub booting?


    Thanks for every help to get the server up soon.


    Edit: I used this tutorial to prepare the new system:
    https://openzfs.github.io/open…m%20Root%20on%20ZFS.html#


    Edit: I think I ran into this issue:
    https://savannah.gnu.org/bugs/index.php?64297


    Edit: I am stuck. I cannot install grub2 2.12 in live due to broken dependencies on other packages and I dont know how to recreate boot pool with old config. Also dns seems broken in chroot. ;(;(;(


    Edit: DNS issue was the same as "https://unix.stackexchange.com/questions/564673/why-is-my-stub-resolve-conf-missing". I followed the solution in chroot and dns was working again.


    Any help highly appreciated :saint:

    Only if someone else writes the code. There is nothing stopping you from adding encryption from the command line.

    Since you are doing it from the command line, you can probably use whatever you want.

    That is just begging to have problems especially timing on startup. I would not do that.

    Can something like this be used with zfs? Because till now I see only possibility with files...

    dev-crypt /dev/disk/by-uuid/dev-crypt-uuid /dev/disk/by-id/usb-myStick luks,tries=3,keyfile-size=4096,keyfile-offset=512

    If this would work, how to plan auto mount with zfs? Is systemd service file the only way as the thread owner published?

    I am also interested into zfs native encryption. Till now I am working with mdadm, luks, lvm and ext4/btrfs. I want to reduce complexity, but there are no GUI options for encryption in openmediavault-zfs plugin. Also my luks automount is organized with non-file based key read from usb stick.

    Till now I have seen only passkey or binary file encryption with zfs. I would have to implement a script that reads from usb stick to write temporally to tmp device just to let zfs read from it. As I had issues with systemd service files to get them working properly timed during boot, I am scared to go down this path.


    Is it planned to get zfs native encryption into the plugin? And will the use of USB sticks (non file based keys) be part of the solution like it is for luks?


    Otherwise I think I have to use luks beneath zfs and encrypt every drive separatly.

    What is the output in your system of:

    root@server:~# dpkg -l | grep openmediavault

    The omv-release-upgrade command will only be available when you upgrade the system with the correct command:

    omv-upgrade


    Edit: I just saw that I made a typographical error in my previous post, it has now been corrected.

    Could you explain a little? What means will only be available when you upgrade the system with the correct command? I ran into this as well. I executed omv-upgrade. Then omv-release-upgrade. Then I got an error (just like reported here omv 6 to 7 upgrade grub-pc error

    Code
    Errors were encountered while processing:
    grub-pc
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I guess this means the upgrade failed short before end, but nonetheless never really finished properly. At first glance, everything looks fine. But this is just an impression. Now after upgrade, executing omv-release-upgrade gives me: -bash: omv-release-upgrade: Kommando nicht gefunden.


    As I had issues, I don't know what to expect. Therefore the question: can I expect the command omv-release-upgrade to be available after upgrade?

    The 9300-16i runs EXTREMELY hot! It's technically 2 packages (2 8-ports). I'd be weary for smaller builds. For a time I had it replaced with a 9305-16i which ran ~15c cooler.

    I could cancel my order. I had luck due to Chinese holidays. The cheapest 9305-16i incl. cables was 190€, but I have found 9500-16i for 243€. Lower power consumption 24/7 will pay off over years. Therefore I think the better option...also having the better product in the end.


    Many thanks for all the support. I finally figured out what stressed me since I started to selfhost. 8)