Posts by smvb64

    I powered down the pi and booted back up - Picture 1 happened again - after pressing enter I was able to log back in.

    sudo su - did work and was able to access root@OMVSUPER:~#


    Docker containers are functional and were able to access my shared network files as well.


    When you refer to "see if everything is green on the OMV GUI"

    do you mean this screen?


    OMV


    These are the services I have enabled.

    The only issue is just the press enter to boot - everything else looks A-OK



    Yes - root does not have a password set - I can create one


    cat /etc/passwd | grep root

    Code
    root:x:0:0:root:/root:/bin/bash


    ls -la /


    ls -la /root


    Thanks again guys,

    SM

    Can you connect the Pi to a screen to see if it boots normal?

    Or if it shows any error?


    If it boots, you can at least, run sudo raspi-config and activate the SSH.

    If I remember properly, it's 3 Interface options

    I just connected it to a monitor and we have life!


    Picture 1

    and after pressing enter

    Picture 2


    I am able to get access to my server using the web browser and access SSH again.

    Any other steps I should do? I think we got it!


    Thanks,

    SM


    Oops - I see the mistake - I flashed a new pi image (Unable to access SSH anymore) - made sure it was using the latest version of the Bootloader and booting from the SD card first


    Ran blkid got


    Code
    root@raspberrypi:~# cd /boot
    root@raspberrypi:/boot# cp -a cmdline.txt cmdline.old
    root@raspberrypi:/boot# blkid
    /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="C839-E506" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="701962cf-01"
    /dev/mmcblk0p2: LABEL="rootfs" UUID="568caafd-bab1-46cb-921b-cd257b61f505" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="701962cf-02"
    /dev/sda1: LABEL_FATBOOT="boot" LABEL="boot" UUID="EBBA-157F" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="4b9bc9e0-01"
    /dev/sda2: LABEL="rootfs" UUID="b3ce35cd-ade9-4755-a4bb-1571e37fc1b9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="4b9bc9e0-02"
    root@raspberrypi:/boot#


    Made the nano cmdline.txt change

    Code
    console=serial0,115200 console=tty1 root=PARTUUID=4b9bc9e0-02 rootfstype=ext4 fsck.repair=yes rootwait


    and the nano fstab change


    Code
    proc            /proc           proc    defaults          0       0
    PARTUUID=701962cf-01  /boot           vfat    defaults          0       2
    PARTUUID=4b9bc9e0-02            /       ext4    noatime,nodiratime,defaults     0 1
    # a swapfile is not a swap partition, no line here
    #   use  dphys-swapfile swap[on|off]  for that
    # >>> [openmediavault]
    /dev/disk/by-label/4TB          /srv/dev-disk-by-label-4TB      ext4    defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    /dev/disk/by-label/PLEXRSYNC            /srv/dev-disk-by-label-PLEXRSYNC        ext4    defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    /dev/disk/by-uuid/695e0790-f896-4ef0-9c86-237df935f00f          /srv/dev-disk-by-uuid-695e0790-f896-4ef0-9c86-237df935f00f      ext4    defaults,nofail,user_xattr,usrjquota=aquota.user,grp>
    # <<< [openmediavault]

    Rebooted the Pi and unfortunately get connection refused after a few moments


    Quote

    Honestly, don't see how an update could mess anything on the OS unless you did something out of the gui.

    Ok good to know - the only change I made was running the argon1.sh code outside of the gui. - I normally only use the gui or docker

    :thumbup: - I ran blkid and got this

    Quote

    /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="C839-E506" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="815c7a01-01"

    /dev/mmcblk0p2: LABEL="rootfs" UUID="568caafd-bab1-46cb-921b-cd257b61f505" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="815c7a01-02"

    /dev/sda1: LABEL_FATBOOT="boot" LABEL="boot" UUID="EBBA-157F" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="4b9bc9e0-01"

    /dev/sda2: LABEL="rootfs" UUID="b3ce35cd-ade9-4755-a4bb-1571e37fc1b9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="4b9bc9e0-02"

    and opened nano cmdline.txt and changed root=PARTUUID to 4b9bc9e0-02


    I changed nano fstab and made sure the boot pointed to PARTUUID to 4b9bc9e0-02


    I reboot the Pi and it got a little bit further this time but it didn't boot - it's refusing connections from Putty? it's upset with me aha


    Do you recommend just starting from the beginning? Is it possible an OMV update can cause this? Maybe I should back up before I update.

    I want to say thanks again though for all your help - learned a lot about Linux and troubleshooting boot issues

    Good stuff aha


    I ran fsck -a /dev/sda1 and it automatically fixed the dirty bit error and ran it again


    Quote

    root@raspberrypi:~# fsck /dev/sda1

    fsck from util-linux 2.36.1

    fsck.fat 4.2 (2021-01-31)

    /dev/sda1: 292 files, 98568/516190 clusters

    Looks like it fixed it but I'm not getting the bootloader question anymore?


    I tried booting it again with just the M.2 but unfortunately didn't want to boot.


    We may have to do the hybrid boot method - looks like just the boot is the issue now


    Thanks,

    SM

    root@raspberrypi:~# df -h /mnt/bootfsM2

    Definitely good news! files were found - the M.2 is still kicking



    and ls -al /mnt/rootfsM2


    Running fsck did show results


    fsck /dev/sda1



    fsck /dev/sda2 looks good



    Code
    root@raspberrypi:~# fsck /dev/sda2
    
    fsck from util-linux 2.36.1
    e2fsck 1.46.2 (28-Feb-2021)
    rootfs: clean, 538256/15015168 files, 9756010/60983086 blocks
    root@raspberrypi:~#

    For fsck /dev/sda1 - should I copy the original to backup and remove dirty bit?


    Thanks again,

    SM

    I finished with the bootloader steps and moved on to the 2nd part. I skipped the argon script for now


    fdisk -l /dev/sda - showed the M.2 Drive

    df -h | grep sda - nothing happened with this command - it just went to a new line


    fsck -N /dev/sda - outputted this


    root@raspberrypi:/home/pi# fsck -N /dev/sda

    fsck from util-linux 2.36.1

    [/usr/sbin/fsck.ext2 (1) -- /dev/sda] fsck.ext2 /dev/sda


    That's all

    I have a feeling it's unable to open/access sda?


    I tried rebooting the Pi with the M.2 drive only and unfortunately, it didn't boot


    I'll plug the sd card back in for now


    Thanks,

    SM

    Thank you for the response,


    I checked both cmdline.txt &config.txt - all readable text - nothing looked out of the ordinary.


    I was able to launch a fresh image of RaspiOS Lite and was able to SSH to it. The rules out any issue with the pi, phew.


    The output of fdisk -l /dev/mmcblk0 is



    and the output of fdisk -l /dev/sda is



    Thank you again for helping - It seems like it does detect the drive? The 232.6G is the M.2 Drive

    Hello all,


    I think I shot myself in the foot - not sure how to recover from this.

    I'm using a RPI 4 - ARGON case - booting off an M.2 drive - installed the latest OMV updates.


    Made the rookie mistake of not backing up the server - the last backup is months old - worst case I could give that a shot.



    The only major thing I could think of is I installed this script

    Code
     curl https://download.argon40.com/argon1.sh | bash 

    Just so I can control the in case fan - I also played around with docker and installed OMV updates.


    I went to reboot the server and nothing - green light turns on for a few moments then shuts off.

    Not sure what to do here - is there any way to recover or do I have to start from scratch


    I did have some duplicati backups but I think that was just for docker?


    Any advice is appreciated


    UPDATE;


    Was able to take a screenshot of the boot up


    https://imgur.com/a/IHUmoXp


    Thanks,

    SM

    Is the RPi booting from sd or m2? I would look at the i/o wait in top as well. If the OS media is having issues and you have docker on it, I could see the load being high.

    Yes the Rpi is being booted from M2 and I have docker installed. I looked at the i/o wait and did go to 0.1 then back to 0 then 0.1 again later. The issue is strange - the load just slowly keeps going up and up and at one point I lost communication with the web server.


    I uninstalled docker too to see maybe it was docker acting but the load was still high

    Hello all,


    I am running OMV 5 5.6.13.-1 on a Raspberry pi 4 using the Argon One M.2 case.


    The server has been working well for quite some time. I had around 30+ day uptime and

    I decied to do some updates and reset the server.


    After the reboot, I running into a strange issue where my CPU load average keeps going up and constantly. It went to around 11 at one point


    I unplugged my NAS storage and the issue still persists. I ran htop as well and can't find anything too out of the ordinary.


    Update: Using top

    I did notice php-fpm: pool openmediavault-webgui will use 45% for a few moments drop then repeat again


    I noticed as well rebooting OMV will cause the Pi to crash - I will have to manually remove and put the power back in


    Pictures

    Load average


    Htop


    Any ideas what the issue could be?


    Thank you,

    Dan

    I was just wondering what you did differently, because both ways do the exact same thing. I even referenced that post. Did you just happen to wait longer after starting up? All it does is add in a delay.

    The difference I can think of is I edited /lib/systemd/system/docker.service with nano changed the delay to 300s and also added

    Code
    ExecStartPre=/bin/sleep 30