Posts by Judibet

    if your raid is active then mount it somewhere and try to read data.
    What type of FS is there on md127?

    Hello,
    It is btrfs.


    Ok, the funny part about RAID-1 is: if one disk fails in theory you have all your data still available since RAID-1 implements a mirror. You can throw one disk away and still work with the other since they should contain an identical set of data. Of course this does not work as expected since mdraid only tries to mirror data but takes not care of actually mirroring the data (it simply doesn't care about data at all)


    RAID-1 was ok-ish twenty years ago when we had no better options. Today it's just insane to rely on something that inefficient and obviously not working. If wasting another disk for redundancy then please think about better ways to do this. And still you need backup since RAID NEVER provides data protection.


    So why still relying on RAID-1 (reassemble the array with a 2nd disk) and not using the new disk to copy data over from the remaining RAID-1 member and now starting to implement a better strategy also taking care about data protection (with 2 disks you could use rsnapshot between those for example)

    I will work on it, I need money for RAID 5 or 10 but I will work on it.
    I have backups but not for any datas (ISO's, phone ringtones, wallpapers, drivers, game ROMS and very old video games).
    I will lose wallpapers and maybe, very old video games only.
    The others datas have a backup.


    18496.7 minutes / 60 / 24 = only ~13 days remaining.


    Why exactly do people prefer availability (that obviously does NOT work) over data protection?


    And I really don't understand why you continue to use a failed concept (RAID-1) instead of starting with backup now...

    I have a backup but not for every datas.
    Then, I prefer trying to recover else I will lose some times to download ISO's (bad speed connexion).


    For the fail disk, it's just because I'm afraid to make mistakes.
    If it's impossible:
    • Can I take the old HDD (in spare)?
    • Can I repair the bad sector on the actual fail HDD?


    If it's impossible to retrieve datas (on the old HDD in spare), it's better for me.


    Thank you.


    Envoyé de mon SM-G935F en utilisant Tapatalk

    mdadm --zero-superblock /dev/sdb then


    mdadm --add /dev/md127 /dev/sdb


    cat /proc/mdstat

    I tried.
    I have this:

    Ok according to your output there are no active raid arrays, the output of blkid shows 2 drives which are part of a Raid 1 /dev/sda and /dev/sdb


    Try this mdadm --assemble --verbose --force /dev/md127 /dev/sd[ab]


    post the output of cat /proc/mdstat

    Thank you.
    I tried but I don't have my datas yet:

    You can't write on the link I posted but following the requested information then post here.

    I can't: the posted topic is pinned.
    I'm writting there the informations to post.

    You can mount degraded RAID1 and try to salvage data.

    How can I do it, please?

    What would be useful is post the information as requested here do this from the root prompt there is no need to change directory to /srv/dev/disk-by-label
    As a pointer /dev/md127 shows as stopped, 'if' I'm correct the entry in your mdadm.conf says spare and and is from one of the drives output in blkid

    Hello,


    I will try this.
    I think we couldn't write on this topic.
    Thank you.


    Regards,


    Envoyé de mon SM-G935F en utilisant Tapatalk

    Hello,


    RAID > 0 is used to avoid Data Lost.
    One drive is cloned in another.
    Maybe not for yourself, some of us needs RAID at home.
    Notice that I have professional reasons to use it at home to.


    Regards,


    Envoyé de mon SM-G935F en utilisant Tapatalk

    Hello,


    I don't understand what is happening.
    I'm using OpenMediaVault 3.0.99 (Erasmus)

    • 1 mounth before, I had a RAID 1 alert so I bought a new HDD.
    • After trying RAID reconstruction, I had mail alert because the old HDD had one bad sector...
    • Today, RAID was not available yet.
      I tried reboots: nothing
      I tried to check all HDD on my computer: I couldn't mount them to see the data's inside
    • After removing the fail HDD and keeping the new: I have no data yet
    • After plugin the fail HDD and keeping the now: I have no data yet but RAID is available now for repair.

    To avoid mistake and data lost, what please I have to do?


    Informations


    blkid


    lsmod | grep raid


    cat /etc/mdadm/mdadm.conf


    /etc/default/mdadm


    This topic checked

    Hello,


    I have no news about this message: failed to open stream: Input\/output error at \/srv\/dev-disk-by-label-Local\/www\/nextcloud\/lib\/composer\/composer\/ClassLoader.php#444","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/1.4.3","version":"12.0.0.29"}


    How please resolve this?


    Envoyé de mon SM-G935F en utilisant Tapatalk

    Hello,


    Thank you for your replies :-).


    I checked and yes but for me, user is www-data and group is www-data recursively Read + Write + Execute.
    Same thing with user permissions.
    I tried with owner root and owner www-data and it's doesn't work again.
    I tried after reboot and no way :(.


    Logs:
    {"reqId":"bXhexvZxPYjhRf29uwHq","level":3,"time":"2017-07-06T22:25:29+00:00","remoteAddr":"80.12.63.105","user":"--","app":"PHP","method":"HEAD","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/","message":"include(): Failed opening '\/srv\/dev-disk-by-label-Local\/www\/nextcloud\/lib\/composer\/composer\/..\/..\/..\/lib\/private\/L10N\/LanguageNotFoundException.php' for inclusion (include_path='\/srv\/dev-disk-by-label-Local\/www\/nextcloud\/3rdparty\/pear\/console_getopt:\/srv\/dev-disk-by-label-Local\/www\/nextcloud\/3rdparty\/pear\/pear_exception:\/srv\/dev-disk-by-label-Local\/www\/nextcloud\/3rdparty\/pear\/archive_tar:\/srv\/dev-disk-by-label-Local\/www\/nextcloud\/3rdparty\/pear\/pear-core-minimal\/src:\/srv\/dev-disk-by-label-Local\/www\/nextcloud\/apps') at \/srv\/dev-disk-by-label-Local\/www\/nextcloud\/lib\/composer\/composer\/ClassLoader.php#444","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/1.4.3","version":"12.0.0.29"}
    {"reqId":"bXhexvZxPYjhRf29uwHq","level":3,"time":"2017-07-06T22:25:29+00:00","remoteAddr":"80.12.63.105","user":"--","app":"PHP","method":"HEAD","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/","message":"Class 'OC\\L10N\\LanguageNotFoundException' not found at \/srv\/dev-disk-by-label-Local\/www\/nextcloud\/lib\/private\/L10N\/Factory.php#270","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/1.4.3","version":"12.0.0.29"}
    {"reqId":"2cei9B1aAUWcrlncckV4","level":3,"time":"2017-07-06T22:25:40+00:00","remoteAddr":"80.12.63.105","user":"--","app":"PHP","method":"HEAD","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/","message":"include(\/srv\/dev-disk-by-label-Local\/www\/nextcloud\/lib\/composer\/composer\/..\/..\/..\/lib\/private\/L10N\/LanguageNotFoundException.php): failed to open stream: Input\/output error at \/srv\/dev-disk-by-label-Local\/www\/nextcloud\/lib\/composer\/composer\/ClassLoader.php#444","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/1.4.3","version":"12.0.0.29"}


    Thank you.

    Maybe it's file permission issues.
    Double check it.


    Hello,


    Thank you for this reply.
    I checked:

    • directory is www-data:ww-data
    • root user don't have permissions:
      root@ntx-010b:/srv/dev-disk-by-label-Local/www/nextcloud# ./occ integrity:sign-app
      -bash: ./occ: Permission denied
    • www-data don't have permission:
      root@ntx-010b:/srv/dev-disk-by-label-Local/www/nextcloud# su -s /bin/bash www-data
      www-data@ntx-010b:/srv/dev-disk-by-label-Local/www/nextcloud$ ./occ
      bash: ./occ: Permission denied

    What is wrong?
    Everything worked fine before.


    Thank you.


    Best regards,

    Hello,


    I have a big problem.
    Since 1 week, I couldn't send files in Nexctcloud.
    I have this on logs:


    Code
    Error PHP Class 'OC\L10N\LanguageNotFoundException' not found at /srv/dev-disk-by-label-Local/www/nextcloud/lib/private/L10N/Factory.php#270 2017-07-02T22:41:01+0200
    Error PHP include(): Failed opening '/srv/dev-disk-by-label-Local/www/nextcloud/lib/composer/composer/../../../lib/private/L10N/LanguageNotFoundException.php' for inclusion (include_path='/srv/dev-disk-by-label-Local/www/nextcloud/3rdparty/pear/console_getopt:/srv/dev-disk-by-label-Local/www/nextcloud/3rdparty/pear/pear_exception:/srv/dev-disk-by-label-Local/www/nextcloud/3rdparty/pear/archive_tar:/srv/dev-disk-by-label-Local/www/nextcloud/3rdparty/pear/pear-core-minimal/src:/srv/dev-disk-by-label-Local/www/nextcloud/apps') at /srv/dev-disk-by-label-Local/www/nextcloud/lib/composer/composer/ClassLoader.php#444 2017-07-02T22:41:01+0200
    Error PHP include(/srv/dev-disk-by-label-Local/www/nextcloud/lib/composer/composer/../../../lib/private/L10N/LanguageNotFoundException.php): failed to open stream: Input/output error at /srv/dev-disk-by-label-Local/www/nextcloud/lib/composer/composer/ClassLoader.php#444 2017-07-02T22:41:01+0200

    Do you please have an idea :(?


    Regards,

    I am waiting for this


    I have that (not asking for password):


    What is that?
    Now, it's working...


    I do nothing and it's now working ?( ...


    Oh my god ?( ...
    Thank you all for helping...

    I was ever done for both users :(.

    Bash
    root@ntx-010b:/srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/home# cat ~/.ssh/authorized_keys
    ssh-rsa xxx admin@jvlinux.fr
    ssh-rsa xxx Secteur 51
    ssh-rsa xxx admin@jvlinux.fr
    root@ntx-010b:/srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/home# cat /home/judibet/.ssh/authorized_keys
    ssh-rsa xxx judibet@jvlinux.fr
    ssh-rsa xxx Secteur 51
    ssh-rsa xxx admin@jvlinux.fr
    root@ntx-010b:/srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/home#

    The ssh connection, more verbosity please


    -vvv switch at the ssh command.

    OK :) :

    Bash
    ees/Sauvegardes/RTX-050C/etc/
    FILE_STRUCT_LEN=24, EXTRA_LEN=4
    cmd=ssh machine=ntx-010b user=root path=/srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/etc/
    cmd[0]=ssh cmd[1]=-l cmd[2]=root cmd[3]=ntx-010b cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvvvlHogDtpAXrze.iLsfx cmd[7]=--log-format=%i cmd[8]=. cmd[9]=/srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/etc/
    opening connection using: ssh -l root ntx-010b rsync --server -vvvvvvlHogDtpAXrze.iLsfx "--log-format=%i" . /srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/etc/ (10 args)
    msg checking charset: UTF-8
    root@ntx-010b's password:

    Forgotten to add:


    Remember you use .ssh/<keyname> for the key in your rsync. Please try with full path to the key (e.g. /home/user/.ssh/keyname) instead.

    Bash
    root@RTX-050C:~# rsync -v -e ssh -v -i /root/.ssh/jvlinux -aHtzrogpEAX /etc/sysctl.conf root@ntx-010b:/srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/etc/
    opening connection using: ssh -l root ntx-010b rsync --server -vvlHogDtpAXrze.iLsfx "--log-format=%i" . /srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/etc/ (10 args)
    root@ntx-010b's password:


    How about posting here both sshd_config files for both servers please


    cat /etc/ssh/sshd_config

    I have that (OMV):

    And that (computer):

    Bash
    root@RTX-050C:~# rsync -e ssh -v -i .ssh/jvlinux -aHtzrogpEAX /etc/sysctl.conf root@ntx-010b:/srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/etc/
    root@ntx-010b's password:
    sending incremental file list
    <f+++++++++ jvlinux
    sent 1,408 bytes received 35 bytes 222.00 bytes/sec
    total size is 3,776 speedup is 2.62
    root@RTX-050C:~#

    I have nothing for the key :(.

    Hello,


    I add the public keys (RSA RFC4716) in GUI per users before.
    As this topic.


    No way (with root or user):

    Bash
    judibet@RTX-050C:~$ rsync -e ssh -i .ssh/jvlinux.pub -aHtzrogpEAX /etc/group judibet@ntx-010b:/srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/etc/
    judibet@ntx-010b's password:
    judibet@RTX-050C:~$ rsync -aHtzrogpEAX /etc/group judibet@ntx-010b:/srv/dev-disk-by-label-Donnees/Sauvegardes/RTX-050C/etc/
    judibet@ntx-010b's password: