Beiträge von riki77

    Did you unplug the USB-Disk while instaling OMV?

    How did you back up?


    it looks like the disk has been wiped.

    No, I did not disconnect the disk. It has always remained connected.

    I used to do the backup via MC.

    If I am not mistaken, the SMART data are these:


    ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE


    1 Raw_Read_Error_Rate POSR-K 100 253 051 - 0

    3 Spin_Up_Time POS--K 253 253 021 - 2400

    4 Start_Stop_Count -O--CK 100 100 000 - 209

    5 Reallocated_Sector_Ct PO--CK 200 200 140 - 0

    7 Seek_Error_Rate -OSR-K 200 200 000 - 0

    9 Power_On_Hours -O--CK 100 098 000 - 671

    10 Spin_Retry_Count -O--CK 100 100 000 - 0

    11 Calibration_Retry_Count -O--CK 100 253 000 - 0

    12 Power_Cycle_Count -O--CK 100 100 000 - 13

    192 Power-Off_Retract_Count -O--CK 200 200 000 - 2

    193 Load_Cycle_Count -O--CK 166 166 000 - 102388

    194 Temperature_Celsius -O---K 116 104 000 - 36

    196 Reallocated_Event_Count -O--CK 200 200 000 - 0

    197 Current_Pending_Sector -O--CK 200 200 000 - 0

    198 Offline_Uncorrectable ----CK 100 253 000 - 0

    199 UDMA_CRC_Error_Count -O--CK 200 200 000 - 0

    200 Multi_Zone_Error_Rate ---R-- 100 253 000 - 0

    Maybe a misunderstanding: there are two options: create and mount; when you select mount it should show you filesystems that are available, but not mounted


    I have this situation:

    What partitions are on the disk:


    fdisk -l /dev/sdg

    fdisk -l /dev/sdg

    Disk /dev/sdg: 3,7 TiB, 4000752599040 bytes, 7813969920 sectors

    Disk model: Elements 25A1

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes

    What happens if you click + in the filesystem view and then select mount?


    It makes me choose which drive to create, if I select the USB disk it makes me format it, but I don't have to do that

    Yes I know, but in the file system it does not appear.

    In the 'Disks' section it is called /sdg, but the file system is not there!

    I installed OMV on a new hard drive. I was able to mount the old RAID and see the folders and all the data.

    I don't understand how to see the usb hard drive I started the backup on. If I recreate it in File System it formats it for me and I don't have to format it!

    If the software is on a RAID array, the recommendations will not help.

    If you system boots from an USB stick, make a basic install of OMV6 onto an USB stick, mount the raid, create a sahred folder and continue from there.

    OMV is installed on a boot hd.

    I'll try to see what I can do in the hope of succeeding.

    Thanks

    To be honest, I do not recal what the original problem was and am too lazy to read up this thread.


    OMV fortmats disks with ext4 file system whic hcan be read on every linux system, so if you plug the drive in question (not the os disk) into a linux computer you can copy the contents of it.


    Or you can try this tool to read the data on the ext4 disk from windows: https://www.diskinternals.com/linux-reader/ (never used it myself).

    The problem was that the raid had stopped working. I had a broken sata cable and some damaged hds.

    After several trials, thankful to your help, I managed to solve the problem with the raid and get the files backed up on a usb hd.

    Now I still haven't finished backing up and it seems that the hd OMV is installed on is broken. But, as I said in the previous post, Windows seems to recognise it.

    Now if possible I would like to copy the whole system to a new hd and resume the backup

    I will try the software you recommended and let you know.

    Here I am again guys.


    So far I've been trying to save a copy of all the various files to hd. I had almost managed to complete the backup of all the most important files.


    Unfortunately, however, it seems that the hd with the O.S. has failed.


    The system rebooted but OMV no longer loads.


    I tried connecting the hd via USB to the PC and Windows can see it, or at least it senses that there is an hd connected and asks me to format it.


    I ask again: is it possible in case I can read the contents of this hd, to clone OMV to another hd and continue the backup?

    I'm back. After a busy week, today I got back on track.

    I decided to copy folder by folder using WinSCP. It will be a long job but at least I know it will be done.

    There are some files that I can't copy in any way, probably damaged, but I can open them with the various video players or photo viewers. Is it possible that there's no way to force them to be copied?

    The disks do not match at all! Has the target disk been empty before you did the rsync?

    Yes, it was empty


    Code
    root@NAS:~# /srv/dev-disk-by-uuid-F48E91208E90DD04/Anna/CLUB ACADEMY
    -bash: /srv/dev-disk-by-uuid-F48E91208E90DD04/Anna/CLUB: No such file or directory


    Code
    root@NAS:~# du -xhd 1/srv/dev-disk-by-uuid-F48E91208E90DD04/Anna/CLUB ACADEMY/
    du: cannot access 'ACADEMY/': No such file or directory


    Something is not working



    I put the slash in the rsync command!

    (If you mean this command)

    rsync -av /srv/dev-disk-by-id-md-name-debian-Raid/ /srv/dev-disk-by-uuid-F48E91208E90DD04/

    Is Anna deleteing and creating files in her directory and you see this in the disk usage?

    No one is operating on the Raid at this time.



    Code
    root@NAS:~# du -xhd 1 /srv/dev-disk-by-id-md-name-debian-Raid/
    24K     /srv/dev-disk-by-id-md-name-debian-Raid/Download
    16K     /srv/dev-disk-by-id-md-name-debian-Raid/lost+found
    1.2T    /srv/dev-disk-by-id-md-name-debian-Raid/Anna
    1001G   /srv/dev-disk-by-id-md-name-debian-Raid/Riccardo
    604M    /srv/dev-disk-by-id-md-name-debian-Raid/Config
    102G    /srv/dev-disk-by-id-md-name-debian-Raid/Downloads
    2.3T    /srv/dev-disk-by-id-md-name-debian-Raid/
    Code
    root@NAS:~# du -xhd 1 /srv/dev-disk-by-id-md-name-debian-Raid/Riccardo
    932G    /srv/dev-disk-by-id-md-name-debian-Raid/Riccardo/Foto-Video
    55G     /srv/dev-disk-by-id-md-name-debian-Raid/Riccardo/Sistemi Operativi & Sw
    95M     /srv/dev-disk-by-id-md-name-debian-Raid/Riccardo/Libri Fotografia
    15G     /srv/dev-disk-by-id-md-name-debian-Raid/Riccardo/PcGame
    1001G   /srv/dev-disk-by-id-md-name-debian-Raid/Riccardo

    why would you expect 2.4TB + 1 TB ofdata.

    Actually, I don't expect 2.4 + 1 TB, but what the command du -xhd 1 /srv/dev-disk-by-uuid-F48E91208E90DD04/

    returns to me is different from what I actually see in the folders. The 2.3 TB must be divided between the "Anna" folder and the "Riccardo" folder. In the "Richard" folder there is about 1 TB.


    And once you see, the used space decrease, do the same.

    I'm sorry, I don't quite understand what you mean; could you please explain it again?


    Is it possible, rsync has never executed properly and you are seeing the regular space usage changes in the directory Anna?

    Sorry, I don't quite understand the question; can you explain what you mean, please? Thank you

    Should have been du -xhd 1 /srv/dev-disk-by-uuid-F48E91208E90DD04/ without the space.

    Code
    root@NAS:~# du -xhd 1 /srv/dev-disk-by-uuid-F48E91208E90DD04/
    2.4T    /srv/dev-disk-by-uuid-F48E91208E90DD04/Anna
    96M     /srv/dev-disk-by-uuid-F48E91208E90DD04/Config
    0       /srv/dev-disk-by-uuid-F48E91208E90DD04/Download
    0       /srv/dev-disk-by-uuid-F48E91208E90DD04/Downloads
    0       /srv/dev-disk-by-uuid-F48E91208E90DD04/lost+found
    57M     /srv/dev-disk-by-uuid-F48E91208E90DD04/Riccardo
    2.4T    /srv/dev-disk-by-uuid-F48E91208E90DD04/
    root@NAS:~#

    There should be more than 1 TiB of data in the 'Riccardo' folder!

    Do you have any services configured on that drive?


    In the USB drive? No, no services.



    I ran the command and this is the result:

    Code
    root@NAS:~# du -xh d 1 /srv/dev-disk-by-uuid-F48E91208E90DD04/
    du: cannot access 'd': No such file or directory
    du: cannot access '1': No such file or directory

    Did you try deleting the mp4 file? If that file is the reason rsync gets stuck, deleting one file or even the folder and it's contents is worth a try. (Maybe try copying them to a client, before deleting them.)

    Yes I deleted the file. I launched rsync and now it stays like this

    Code
    root@NAS:~# rsync -av /srv/dev-disk-by-id-md-name-debian-Raid/ /srv/dev-disk-by-uuid-F48E91208E90DD04/
    sending incremental file list
    ./

    No, there is a chance to destroy the drive.

    So you will have to copy from the cli with the rsync command an be patient. Can you post the command, so we can check it and give hints how to run it even when disconnecting your laptop.


    If you still have the rsync job running, you can check progress by tail -f /var/log/rsync.log. To stop the log output press ^C

    After I've done this too:

    - You might try deleting the "passion" MP4 :) . The file might be corrupted in a way that rsync can't handle.

    I re-launched the command you can see below

    and remains so indefinitely:

    Code
    root@NAS:~# rsync -av /srv/dev-disk-by-id-md-name-debian-Raid/ /srv/dev-disk-by-uuid-F48E91208E90DD04/
    sending incremental file list
    ./

    I also launched this one, but I can't see anything:

    tail -f /var/log/rsync.log