Posts by vinny

    would you change anything in

    /etc/sysctl.d/99-openmediavault-nonrot.conf


    when using zram?


    not sure which file loads last this or sysctl.conf...



    it looks like this


    what is a non rotating device?

    You use even more ram and you have two systems trying to move some of the same files to tmpfs.

    ok I checked the switches on /etc/default there is armbian-ramlog there it doesn't mention which files but sets 50mb limit for /tmpfs which I figured is not very significant


    but we're running OMV anyway so better to handle logs to flashmemory plugin as there are specific OMV logs


    so i left armbian-ramlog service disabled and turned armbian-zram-config on, that should leave the logs alone for OMV right?


    with this i could go higher on ZFS ARC which is nice for a NAS like OMV

    but for now i set ZFS ARC to metadata only and will tune it per dataset to have more control over what's cached or not


    reminding that ARC is also compressed

    i find it very cool that you can double the effective ram on these little boards because there's no way to upgrade them

    i found by accident setting the min/max speed blank rather than "" solved the issue


    both cpu and nvme were struggling

    I'm getting a super annoying bug after i convert armbian to OMV the cpu clocks cap at 408mhz, nvme drops to sata speeds, tested on 2 different armbian images, doesn't happen on vendor image

    What were you doing when you got this message?

    iirc nothing at all just staring at the web gui



    emmc can't handle writes much better than SD. If it is onboard, you can't change it if it fails either. stats are only parts of the writes. There are still many, many things logging that will write a lot. zram doesn't help with any of that. If you have swap, the amount of tmpfs being used really isn't relevant since linux will move anything using tmpfs from ram to swap if the system needs the ram.

    so what's the downside of keeping them both enabled?

    zram will use even more ram if you keep the flashmemory plugin installed. If you uninstall the flashmemory plugin, then your OS media is not protected from writes.

    is this erroor i just got related?



    OS is on emmc, stats monitoring disabled and no network shares for now i think it may be worth it disabling folder2ram/flashmemory in favour of zram if i keep up with backups

    since both systems are 64 bit, I don't think persistent data would really be architecture specific. So I would think you could copy data over. But it might depend on the app.

    can confirm it works at least for sqlite and meili databases



    i noticed the OMV arm installScript disabled zram on armbian is there any reason to keep it that way? with ZFS every gigabyte counts lol

    But you had to install zfs-dkms too. Not really a fan of the radxa image. I prefer the Armbian image.

    fixed: the problem was that i had low-level formatted that drive to 4kb sector size(for virtualization, 4k iops, it helps) but only UEFI boot systems can see 4k drives so i formatted it back to 512b and everything works, now tested on armbian with vendor kernel(6.1)



    next steps are finding how to migrate the amd64 containers to this new platform i have no clue is it as simple as appending image:aarch64 or image:rockchip(for containers that use gpu/npu)?


    i guess the container's databases/data can't just be copied over right?

    is /boot/efi mounted?

    yes, sorry for the formatting



    though the efi folder appears to be empty

    Ahh you're awesome, i had totally forgotten about the config.xml



    is this other error related?


    it says no efi is mounted when i try to update initramfs


    radxa@rock-5b:~$ sudo update-initramfs -u -k all

    update-initramfs: Generating /boot/initrd.img-6.1.43-19-rk2312

    Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.

    Alternatively, use --esp-path= to specify path to mount point.

    update-initramfs: Generating /boot/initrd.img-6.1.43-15-rk2312

    Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.

    Alternatively, use --esp-path= to specify path to mount point.



    lsblk

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS

    mtdblock0 31:0 0 16M 0 disk

    mmcblk0 179:0 0 29.1G 0 disk

    ├─mmcblk0p1 179:1 0 16M 0 part /config

    ├─mmcblk0p2 179:2 0 300M 0 part /boot/efi

    └─mmcblk0p3 179:3 0 28.8G 0 part /var/folder2ram/var/cache/samba

    /var/folder2ram/var/lib/monit

    /var/folder2ram/var/lib/rrdcached

    /var/folder2ram/var/spool

    /var/folder2ram/var/lib/openmediavault/rrd

    /var/folder2ram/var/tmp

    /var/folder2ram/var/log

    /

    mmcblk0boot0 179:32 0 4M 1 disk

    mmcblk0boot1 179:64 0 4M 1 disk

    zram0 252:0 0 3.9G 0 disk [SWAP]


    [7:29 PM]

    omv didn't add that modprobe entry. You are running into some very strange issues.

    well everywhere i searched ppl said OMV disables the second interface when you configure another to avoid routing issues, blocking the driver via modprobe.d seemed to make sense


    it's a fresh install on top of a fresh arm debian install

    i tried installing on omv7/debian kernel 6.1 on a rk3588 board even though zfs-dkms is installed the board won't boot


    now i removed everything related to zfs reformatted the(secondary) zfs drive to be able to boot

    i think it broke my OMV installation, i keep getting this error spam every 5 seconds


    i made the mistake of running omv-firstaid on a clean install and configuring up a wlan interface for a quick setup

    and now the ethernet nic is gone from ip-a i can see it with lspci and kernel module is loaded but can't find the interface anywhere I tried deleting files in /etc/netplan, running omv-salt etc

    guess i could manually add a file to /etc/netplan but i don't remember the interface name?


    Thanks in advance.

    thanks for the comprehensive answer i'll research more, i overlooked the build button too


    The plugin sets the build flag if it finds "build:" in the compose file - https://github.com/OpenMediaVa…ined/rpc/compose.inc#L530

    Thanks