Posts by fmnamado

    Thank you for your quick answer and insights.

    Go for ext4 if you do not need the advanced features of btrfs.

    btrfs needs some learning and maintenance.

    OK Thank you, I was leaning to this option. If it needs learning and maintenance I'm out, I better learn something that adds more value.


    The plugin is making use of luks. You can google "luks linux" to see if it is considered stable. I would think so. I use it since several years on a portable drive.

    I know that LUKS is "old" and stable, but the plugin could be beta like and unstable.

    Just to get your opinion because I don't feel like being a tester of this.

    Just want as robust as the filesystem underneath.


    But why do you need file encryption on a NAS? Biggest risk is probably that someone is hacking your server while it is running and the filesystem is decrypted.

    Different risks that I can see the difference.

    I want LUKS to avoid anyone with physical access to the NAS to access data.

    It will be mainly turn off.

    I will turn it on when needed, it is meant to be used as a vault.

    Hence the security and need for privacy.


    Luks cannot prevent you from loosing data. For that you need backup.

    Think about backup.

    Not an issue ATM.

    In terms of losing data, I will be at the same risk as now, with external drives.

    I am only gaining some functionality


    Also consider the age of your drives. Check the SMART values of those drives.

    Now that is something interesting and useful to explore.

    My drives are somewhat old but haven't been turned on many hours.

    Mild usage.

    But I would like to check it.

    Unfortunately, the information is always somehwat criptic.

    There are some programs for PC the decode the information into a more human form.

    Like comparing to other drives of the same model, explaining the values, etc.


    Can OMV display in an easy way and alert for a problem?

    Right now I cannot check because I only have access to a virtualized testing instalation.


    I guess now one can judge if some hardware purchased from aliexpress will work without problems with Debian (OMV is based on Debian).

    Let's see what happens 8o I am looking forward for the hardware.

    Hello,


    Please advise me with your thoughts.


    Sorry if it is not the right place to ask, but as there are many subjects, I chose this one.


    ATM I have 8 external USB hard drives with my data.

    To avoid plugin in my computer, and avoid all the problems with USB hubs, mounting etc etc, I am thinking in schuking the hard drives and connecting it to a JONSBO N3 PC build.

    乔思伯JONSBO

    It would be 8 HDD (plus one SSD for OMV) single volumes, no RAIDs, redundancy/backups or complicated setup.

    Just to replace simple drives connected to a PC.


    Yes, I know I will have to copy my data over and over to format with a new filesystem.


    I am a daily user of OMV, so I have some moderate experience.


    For this setup, I quickly tried OMV with LUKS plugin, simulated some ahrd drives, encrypting and decrypting info.

    With no problem.

    Just to be sure, I mounted this virtual drives in Ubuntu, and using the passphrase, I could access data.

    So for me it is fine.


    That brings me some questions:

    1. BTRFS or EXT4 (or other)? This drives ar archive media and files (downloads, etc), so I won't need snapshots. Is the checksum feature good? Or I should just use EXT4? Right now they are with AppleFS, so I assume EXT4 would be a fine replacement.
    2. Is the OMV LUKS plugin stable enough to not lose data?
    3. Other suggestions to be aware (...?)


    Bear in mind that my main objective is to be robust and stable.

    I want to setup this and forget, to simply work.

    Don't want to administrate and solve problems. Setup and forget.

    It will be mainly turned off, turn on, access the files, and off again.

    Performance is not the main issue.


    I will get a PC motherboard with gigabit connection and enough SATA ports.

    Probably will have to buy soemthing like this https://pt.aliexpress.com/item/1005005653706057.html

    I assume it will be detected by BIOS (driverless) and OMV without a problem, right?


    Any comments?


    Thank you very much ! :love:

    Hello


    I have a raspberry pi 4 2GB running OMV 6.3.4-1 (Shaitan).


    I could download via FTP @ 12MB/s (i have only Ethernet 100 mbit there, so it's normal) but now I coan only fo on 2-3MB and sometimes it hangs and downloads fail.


    Looking online it seems to be trim related.


    How can I chak if there is something I can do?


    openmediavault-flashmemory 6.2 is installed


    Thank you.

    Hello,


    I just came here to give you feedback and record for others.


    I got clonezilla in a usb thumbdrive using rufus and other pen I put ubuntu, because I was already thinking I would need Gparted, what came to be true.


    I booted into clonezilla and having A LOT OF ATTENTION, I chose the option clone drive.

    always selected the default options, and chose from my 240GB SSD to my new 1TB SSD.


    Waited some time. I managed to get an average 25MB/s, what as near the USB2.0 limit.

    My SSD cases were USB2.0, which has 480mbit max speed, which is 60MB/s. As I am sharing the bus to write and read, would be 30MB/s max.

    I whink it went great.

    Another good thing, has clonezilla knew the partition, ext4 type, it only copied the data.
    I was having nightmares into thinking it would copy 240GB of data, even unused. But know.


    Right after copying without any problem with clonezilla, I booted into Ubuntu and used Gparted.

    Clonezilla copied 240GB of partition data into a 1TB, so I would need to resize the partition in order to use the full 1TB.


    In fact I had two partitions: one with 50GB and the other, aprox. 175GB of data.

    I wanted to covert the 50GB into 100GB (double the space for system), and the 175GB to data, to convert the remaining space.


    Once again, zero issues.


    I put the SSD into the case, booted the raspberry pi 4, it booted everything OK.

    All my shares and services of OMV were working without changing anything, so as @macom said, the identifiers got copied, etc.


    @macom THANK YOU VERY MUCH for your help, as I was afraid of not working.

    I risked into buying an SSD that could turn useless.

    And I didn't know clonezilla, so thank you very much for everything! ;)

    Hello,


    I have the following setup


    Raspberry pi 4 with 2GB ram


    Argon M.2 Case


    Kingston SSD m.2 240GB SA400M8240G


    Raspberry pi OS Lite


    Open Media Vault with docker and portainer installed from Open Media Vault interface.


    Several services in docker containers (HomeAssistant, JDownloader, another Self Hosted Apps, etc).



    I have at the moment two partitions in the same SSD: first 50GB for OS and OMV, and the remaining 173GB for data.


    If I recall correctly, after installing everything (OS, OMV, docker/portaneiner) I made this two partitions by putting the SSD connected to an ubuntu machine and resizing it. I made this because OMV cannot share the system partition.



    I want to buy a new 1TB SSD. I would like to migrate in some low-level clone disk tool to have the minimum, or preferably, no hassle. Just copy and plug the new SSD and boot, everything working. I am expecting just to have to resize again the new partitions in order to use all the space of bigger SSD. I would resize the first partition to 100GB and the second to the maximum remining space (aprox. 830GB).



    First question, how can I do this? I assume with dd command.


    Second question: can I expect this flawless copy method, or may have some kind of hardware related implications, like relying on some weird partition ID the creates a problem when booting? Will OMV accept this with no problem?



    Is there some kind of tutorial? I can only find from SD card to SSD. I don’t know if there aren’t any differences in SSD to SSD.



    I don’t know if this is the right place to post, if not please tell me where it should be.



    Thank you very much.

    sudo omv-salt deploy run phpfpm



    So it seems something breaks related to the third command?


    Sorry the multi-posting but it kept saying I had a limit of 10000 characters...is there a way of bypassing this in this long copy pasting debugs?



    Thank you!

    Just to see if something might be different, I rebooted. Tried to access the Web GUI with sucess so I ran your commands again.


    This is the result of the same commands after a reboot.




    systemctl status openmediavault-engined



    sudo omv-salt deploy run nginx

    This one got two errors/red flags


    sudo omv-salt deploy run phpfpm


    sudo omv-salt deploy run nginx


    Hello,


    I tried running this via SSH in my raspbian port.

    I can confirm that I ran this when the bad gateway problem was happning, I just tried accessing Web interface and I am having the 502 error.


    I ran each oof your command one by one, I don't know if it is supposed or all at once.


    When I run the first command, the CLI "hangs" (changes line and keeps the cursor on _

    Via other SSH CLI, with top, I see the systemctl doing something, taking 20% of my CPU


    I would say it hangs for a minute or so, is this normal?


    systemctl status openmediavault-engined

    Hello and thank you for your support.


    Yes I did, and just got to some problem about NGINX, which someone said it wasn't installed, as others mentioned that it is by default...


    So I didn't get to any point as I am very new to OMV. I have some experience in linux but right now I don't know where to start, that's why I made a so-long and so-broad post... to see if someone with more experience could guide me to a direction.


    Copy paste information just after a reboot.


    Nome do anfitrião
    raspberrypi

    Versão
    6.0.31-2 (Shaitan)

    Processador
    BCM2835

    Kernel
    Linux 5.15.32-v8+

    System Time
    25/07/2022, 14:52:37

    Tempo de disponibilidade
    4 minutes

    Load Average
    4.58, 3.50, 1.50

    CPU Usage
    51.5%
    Memory Usage

    81.1% of 1.81 GiB

    Thank you once again, if you can help me guiding to a direction, I would be very grateful :)

    Hello,

    I have some random problem I cannot seem to understand where should I start to debug it, so I write here to see if you can help me pinpoint where can I start.

    If this isn't in the right place please mention ir or move the thread.


    Hardware:

    Raspberry pi 4 with 2GB ram.

    Argon One M.2 SSD case

    SSD: Kingston A400 240GB

    HDD: 2.5" WD HDD 500GB in USB case

    The SSD has two partitions. The first one with 50GB (where all the system files are) and the other has 170GB to use with my files (the idea os to serve as cache files for self-hosted apps).


    Software (by installed order)

    Raspbian OS 64bit

    OpenMediaVault

    Docker/Portainer (installed via OpenMediaVault interface)

    Home Assistant Supervised

    Several docker packages - I list next the ones that are running (I have others installed but stopped right now)



    So the problem is, somehwere in time (I don't know the pattern of when or why), Openmediavault ceases to let me in. I Put my password and login in WebGUI and it says

    502 - BAD GATEWAY

    If I access the pi via SHH, pinging DNSs stops working, but IP pinging works, either local or internet. Pinging 1.1.1.1 works, ping google.com does not, gives the message:

    ping: google.com: Name or service not known


    I am not sure if this is consequence of my router losing DNS connection, because it's a thing that is happening: internet keeps on but the wireless connection or DHCP service stops assigning/aception new wireless clients, the DNS solving stops but the ip connection keeps working.).

    I don't know if this has something to do with this because:

    -All the clients, wired or wireless do somekind of refreshing, and as soon I power cycle my router, all of them have DNS connectivity, with the rpi this doesn't happen (remmeber that I dont know if this is related.

    -It shouldn't have nothing to do with a local login, via WebGUI, in the same local network.


    99% of the time, rebooting the pi via SSH solves the problem. I say 99% of the time because I think that one time it didn't, it needed another reboot.

    The WebGUI accepted me and pinging DNSs works after reboot.


    All of my remote access is done via OpenVPN connection via my router, so I am not talking about remote acess, as via VPN, all is as I was in my physical local network.


    I know it is a long text, but can you please help me? Where to start?

    Updating something? What?

    Step by step trial and error? How/which?


    Thank you very much.

    OK thank you for your help


    just a quick update. with so much practice, I almost do this blindfolded... lol some many reintalls


    reintalled raspberry OS

    then OMV 6

    then docker and portainer

    then home assistant supervised

    tried to restore and everything OK


    tomorrow I will continue putting my containers back


    what is the best way to backup the rip minimizing my trouble both into backuing up, checking the integrity of the backups and restoring?

    everything from OS, OMV, docker, containers, etc. I would like a one click approach (sort of) and preferably online, with rip on to a samba share.


    thank you!

    No I haven't, I was following a tutorial.


    What do you want me to specific see? I already now I cannot install in Desktop version, that one I already found out :D


    lite version - check

    64 bits - check

    clean ssd (not using sd card) + pi imager - check

    SHA256 on IMG - check


    until the install script of OMV I am completely comfortable, already made the processo dozens of times


    any thing you want to point out or just pointing me to a tutorial ?


    in any case TY :)

    I guess my best option is to start over (once again) by using a fresh install


    Now I will use :

    raspberry pi os -> OMV6 -> docker


    by this order, let me see if now I can make this work!

    I didn't even entered your command yet


    just before reading your help, I was trying to install a plugin, remote munt


    that's why I came to this thread, because I couldn't install a plugin


    as described, I just commented the docker source in

    sudo nano /etc/apt/sources.list.d/omvextras.list


    I just went there and it is still commented.


    after that I could install plugin. I installed remote mount.

    I input the data /login and pw for samba share) and rebooted


    after reboot I cannot login anymore

    so it has nothing to do with your help command because I never got to enter it


    I have stoped all my docker containers, ran omg first aid and changed to another port and nothing


    any idea? :(

    Well now it broke.



    I cannot login in web ui, it gives me an error 502 bad gateway

    I already ran the omg first aid command and changed the port and no solution

    all I did was installing remote mount plugin, made a mount and rebooted


    it is getting hard to get this working :(