Hi.
First sorry for my english and thanks for the help.
After syncing a snapraid array it gives me the follwing error.
Code
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export SHELL=/bin/sh; sudo --shell --non-interactive --user='root' -- /var/lib/openmediavault/cron.d/userdefined-825cbd03-2094-4867-8200-21b6663130f6 2>&1' with exit code '1': Self test...
Loading state from /srv/dev-disk-by-uuid-d198490f-27bf-4e04-803b-1ac5bfb7549f/snapraid.content...
Scanning disk D1...
Scanning disk D2...
Scanning disk D3...
Scanning disk D4...
Using 785 MiB of memory for the file-system.
Initializing...
Resizing...
Saving state to /srv/dev-disk-by-uuid-d198490f-27bf-4e04-803b-1ac5bfb7549f/snapraid.content...
Saving state to /srv/dev-disk-by-uuid-5500857a-1cf2-420b-ad39-8edf801effa5/snapraid.content...
Saving state to /srv/dev-disk-by-uuid-62118653-0966-42ec-a0e9-ffe855f6baec/snapraid.content...
Saving state to /srv/dev-disk-by-uuid-0345ab3d-f539-4df9-871a-03673490fcb4/snapraid.content...
Verifying /srv/dev-disk-by-uuid-d198490f-27bf-4e04-803b-1ac5bfb7549f/snapraid.content...
Verifying /srv/dev-disk-by-uuid-5500857a-1cf2-420b-ad39-8edf801effa5/snapraid.content...
Verifying /srv/dev-disk-by-uuid-62118653-0966-42ec-a0e9-ffe855f6baec/snapraid.content...
Verifying /srv/dev-disk-by-uuid-0345ab3d-f539-4df9-871a-03673490fcb4/snapraid.content...
Verified /srv/dev-disk-by-uuid-0345ab3d-f539-4df9-871a-03673490fcb4/snapraid.content in 6 seconds
Verified /srv/dev-disk-by-uuid-62118653-0966-42ec-a0e9-ffe855f6baec/snapraid.content in 7 seconds
Verified /srv/dev-disk-by-uuid-d198490f-27bf-4e04-803b-1ac5bfb7549f/snapraid.content in 8 seconds
Verified /srv/dev-disk-by-uuid-5500857a-1cf2-420b-ad39-8edf801effa5/snapraid.content in 9 seconds
Syncing...
Using 40 MiB of memory for 32 cached blocks.
0%, 1 MB
0%, 45 MB
0%, 581 MB
0%, 1117 MB
0%, 1655 MB
0%, 2188 MB, 535 MB/s, 511 block/s, CPU 19%, 4:18 ETA
0%, 2654 MB, 521 MB/s, 497 block/s, CPU 19%, 4:25 ETA
0%, 3168 MB, 520 MB/s, 496 block/s, CPU 19%, 4:25 ETA
0%, 3646 MB, 514 MB/s, 491 block/s, CPU 19%, 4:28 ETA
0%, 4180 MB, 516 MB/s, 493 block/s, CPU 19%, 4:27 ETA
0%, 4716 MB, 516 MB/s, 493 block/s, CPU 19%, 4:27 ETA
0%, 5197 MB, 512 MB/s, 489 block/s, CPU 18%, 4:29 ETA
0%, 5742 MB, 516 MB/s, 492 block/s, CPU 18%, 4:27 ETA
...
99%, 7867352 MB, 313 MB/s, 419 block/s, CPU 14%, 0:00 ETA
99%, 7867583 MB, 312 MB/s, 419 block/s, CPU 14%, 0:00 ETA
99%, 7867825 MB, 312 MB/s, 419 block/s, CPU 14%, 0:00 ETA
99%, 7868082 MB, 311 MB/s, 419 block/s, CPU 14%, 0:00 ETA
99%, 7868322 MB, 310 MB/s, 419 block/s, CPU 14%, 0:00 ETA
99%, 7868579 MB, 309 MB/s, 419 block/s, CPU 14%, 0:00 ETA
99%, 7868824 MB, 309 MB/s, 419 block/s, CPU 14%, 0:00 ETA
99%, 7868887 MB, 300 MB/s, 408 block/s, CPU 17%, 0:00 ETA
100% completed, 7868900 MB accessed in 5:29
D1 8% | *****
D2 48% | *****************************
D3 3% | *
D4 1% |
parity 23% | **************
raid 4% | **
hash 9% | ******
sched 1% |
misc 0% |
|______________________________________________________________
wait time (total, less is better)
0 file errors
0 io errors
1 data errors
DANGER! Unexpected data errors! The failing blocks are now marked as bad!
Use 'snapraid status' to list the bad blocks.
Use 'snapraid -e fix' to recover.
Saving state to /srv/dev-disk-by-uuid-d198490f-27bf-4e04-803b-1ac5bfb7549f/snapraid.content...
Saving state to /srv/dev-disk-by-uuid-5500857a-1cf2-420b-ad39-8edf801effa5/snapraid.content...
Saving state to /srv/dev-disk-by-uuid-62118653-0966-42ec-a0e9-ffe855f6baec/snapraid.content...
Saving state to /srv/dev-disk-by-uuid-0345ab3d-f539-4df9-871a-03673490fcb4/snapraid.content...
Verifying /srv/dev-disk-by-uuid-d198490f-27bf-4e04-803b-1ac5bfb7549f/snapraid.content...
Verifying /srv/dev-disk-by-uuid-5500857a-1cf2-420b-ad39-8edf801effa5/snapraid.content...
Verifying /srv/dev-disk-by-uuid-62118653-0966-42ec-a0e9-ffe855f6baec/snapraid.content...
Verifying /srv/dev-disk-by-uuid-0345ab3d-f539-4df9-871a-03673490fcb4/snapraid.content...
Verified /srv/dev-disk-by-uuid-0345ab3d-f539-4df9-871a-03673490fcb4/snapraid.content in 6 seconds
Verified /srv/dev-disk-by-uuid-62118653-0966-42ec-a0e9-ffe855f6baec/snapraid.content in 14 seconds
Verified /srv/dev-disk-by-uuid-d198490f-27bf-4e04-803b-1ac5bfb7549f/snapraid.content in 17 seconds
Verified /srv/dev-disk-by-uuid-5500857a-1cf2-420b-ad39-8edf801effa5/snapraid.content in 19 seconds in /usr/share/openmediavault/engined/rpc/cron.inc:185
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): Engined\Rpc\Cron->Engined\Rpc\{closure}('/tmp/bgstatusbq...', '/tmp/bgoutputFL...')
#1 /usr/share/openmediavault/engined/rpc/cron.inc(189): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: Engined\Rpc\Cron->execute(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('execute', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Cron', 'execute', Array, Array, 1)
#6 {main}
Alles anzeigen
after that I have executed "snapraid status" and the reading has been
Code
Self test...
Loading state from /srv/dev-disk-by-uuid-d198490f-27bf-4e04-803b-1ac5bfb7549f/snapraid.content...
Using 737 MiB of memory for the file-system.
SnapRAID status report:
Files Fragmented Excess Wasted Used Free Use Name
Files Fragments GB GB GB
27053 16 2862 4.8 4161 793 83% D1
18443 20 1046 - 1649 317 83% D2
32658 22 4388 - 2070 1865 52% D3
28506 0 0 - 2072 1863 52% D4
--------------------------------------------------------------------------
106660 58 8296 4.8 9953 4840 67%
49%| o
| o
| o
| o
| o
|o o
|o o
24%|o o
|o o
|o o o
|o o o
|o o o
|o o o
|o o o
0%|o_________________________o__________o_____________________________o_o
6 days ago of the last scrub/sync 0
The oldest block was scrubbed 6 days ago, the median 3, the newest 0.
WARNING! The array is NOT fully synced.
You have a sync in progress at 99%.
The 87% of the array is not scrubbed.
You have 1 files with zero sub-second timestamp.
Run the 'touch' command to set it to a not zero value.
No rehash is in progress or needed.
DANGER! In the array there are 1 errors!
They are from block 5918679 to 5918679, specifically at blocks: 5918679
To fix them use the command 'snapraid -e fix'.
The errors will disappear from the 'status' at the next 'scrub' command.
Alles anzeigen
I have looked for information in the forum and I thought that the solution was to apply "snapraid --filter-error fix" whit the following result
Code
Self test...
Loading state from /srv/dev-disk-by-uuid-d198490f-27bf-4e04-803b-1ac5bfb7549f/snapraid.content...
Searching disk D1...
Searching disk D2...
Searching disk D3...
Searching disk D4...
Filtering...
Using 763 MiB of memory for the file-system.
Initializing...
Fixing...
100% completed, 2 MB accessed in 0:00
2 errors
0 recovered errors
1 UNRECOVERABLE errors
DANGER! There are unrecoverable errors!
Alles anzeigen
Now i'm stuck and i dare not do anything else, i appreciate any help.
Before all this i have changed a 2TB disk for a 4TB one (D3) and added another 4TB (D4). After these operations the sync command was correct. Later ihave copied files from one disk to another to empty the full ones and sync again gave me the error. I don't know if this is relevant.