LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-27-2021, 10:26 PM   #1
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,150

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
Snapraid with LVM. Unrecoverable errors?


Got a wild idea to try scripting something using LVM snapshots to create snapraid syncs from. It works. Mostly. I did find a problem that I simply cannot explain.

Here is the script

https://github.com/jmgibson1981/scri...napraid.sh.new

The problem I've hit seems to be something with a restoration then sync. I've built and tested this script in a Debian VM via VirtualBox.

I add a file to disk 1 of 2. I sync the snapraid. It does what it's supposed to. Creates snapshots, adjusts the /etc/snapraid.conf, syncs, then fixes /etc/snapraid.conf as it should be. If I delete the file, I can restore it. However if I sync a restored file, then delete it and try again it this is where I end up.

Code:
sudo snapraid fix -m
Self test...
Loading state from /snapraid/data/data1/snapraid.content...
Searching disk d1...
Searching disk d2...
Filtering...
Scanning disk d1...
Scanning disk d2...
Using 0 MiB of memory for the file-system.
Initializing...
Fixing...
unrecoverable 10000\ BC\ \(2008\).mkv%, 0:00 ETA
100% completed, 1 MB accessed in 0:00

    4712 errors
    4710 recovered errors
       1 UNRECOVERABLE errors
DANGER! There are unrecoverable errors!
This is the same file I deleted and restored before. I'm not sure if it's an issue with the source being a snapshot or what. But for some reason if you sync after a file restore you you get failed recoveries. I'm a bit lost. Any help or ideas?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Snapraid parity not using full cpu? Why? jmgibson1981 Linux - Server 2 04-30-2020 10:17 PM
Unrecoverable Error: execv() error attempting to run powah Red Hat 0 09-06-2006 01:15 PM
nvidia setup unrecoverable? weegolo Linux - Newbie 6 04-19-2006 04:15 AM
ps2pdf problems "Unrecoverable error, exit code 1" sohmc Linux - Software 1 11-14-2005 08:04 PM
Kernel panic: aic7xxx: unrecoverable BRKADRINT mallikarjun Linux - Hardware 2 11-27-2002 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration