Filesystem not mounting -HELP PLEASE

  • Hi,


    Please can someone help, This morning i logged into SSH and ran "apt-get update" and then "apt-get upgrade" and then rebooted the Pi when booted back up i found that my main drive was missing so i rebooted again and the same issue. so i looged back into SSH and did the following


    sda1 is my main drive (fileserver)


    then i went into fstab


    fileserver is there (ignore next cloud i unplugged thinking thats what was causing the problems)


    I plugged in screen and rebooted the pi again and found this


    Please can someone help i CANT lose the data that is on my main drive

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • **UPDATE**

    So appears i had bad superblocks which i managaed repair using this guideand mounted the drive but i cant see my data on there

    when i check OMV

    the data is there, but when i access threw SMB on my windows machine i get this

    When i try exploring using SSH i get this

    the fileserver is missing?

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • Do you know what directory the files are stored in?

    There should be a folder in

    /srv/dev-disk-by-label-Fileserver/


    called Fileserever with all the files on it

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • Did you look in the lost+found directory?


    Also, you should look for hidden directories:


    ls -al

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Did you look in the lost+found directory?


    Also, you should look for hidden directories:


    ls -al

    I got this

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • Did you look in the lost+found directory?


    Also, you should look for hidden directories:


    ls -al

    sorry went back into the lost+found folder it is all in there how do i retrive this?

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • Create the new directory where you want the files to be stored and move them there from lost+found.


    If you don't have midnight Commander installed, you should and use it for things like this.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Create the new directory where you want the files to be stored and move them there from lost+found.


    If you don't have midnight Commander installed, you should and use it for things like this.

    I only have access via the terminal window how do i move the files?

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • Create the new directory where you want the files to be stored and move them there from lost+found.


    If you don't have midnight Commander installed, you should and use it for things like this.

    so i am sunning this command

    cp -r /srv/dev-disk-by-label-Fileserver/lost+found/ /srv/dev-disk-by-label-Fileserver/test

    Which appears to be copying


    i have mounted in SMB share to access it but

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • Figured it out i need to copy one by one to be able to access the folder.


    Thank you so much gderf you are a stress saver.


    What is midnight commander?

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • Thank you, thats what the plan was for today, my orignal back up drive (2.5 SSD) died so i was going to use a external powered 3.5 HDD to back everything up too just incase something happened just untill i managed to get another SSD but im currently move all files/folders from lost+found to another folder whilst my windows machine is copying everything on the OMV server......its one of thouse where i wished i didnt give up smoking!!!

    Normally if its in red it's bad!!!


    Machine 1 - Dell OptiPlex 790 - Core i5-2400 3.10GHz - 16GB RAM - OMV5

    Machine 2 - Raspberry PI4 - ARMv7 - 2GB - OMV5

  • STUKguy

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!