Comments (5)
The inevitable did happen today. Lost files and data even with EC goals coverage and a single disk failure.
One of my hard drive went bad with bad sectors, lizardfs reported damaged disk and I had to remove it from the system. And a lots of chunks and files shown up as unavailable even though the goal was EC(8,2).
I spot checked a few smaller missing files with mfsfileinfo and they only has 7 out 10 copies. So either lizardfs put all 3 missing copies on this single failed disk or it only generates 8 copies and one of them is on this particular disk.
I'm not sure how to have a "clear reproduction scenario". The system is in a definitely bad and precarious state and we can certainly debug from here and hopefully has a way to fix it. But not sure how to get to this state from a clean install.
Best thing at the moment is to have a way to detect files that are at risk and way to force it to redistribute.
from lizardfs.
Hi, @aletus this looks like a very interesting bug - thank you for sharing it.
Can we have a video chat about it, please?
If yes can you send me your contact data to [email protected], please?
after we got more data and a clear reproduction scenario I will gladly update this issue with an explanation for the fix.
from lizardfs.
I've observed this for EC goals too. @aNeutrino do you have a code pointer where the logic for spreading the chunks out is?
from lizardfs.
I wonder if it could be behind the reason Moosefs doesn't delete discarded junks until a week later.
from lizardfs.
@aletus, which version are you using? I did notice uneven distribution on only a few files/cases throughout 3+ years quite intensive using of 3.12.0, but nothing that would threaten my data - and believe me, you wouldn't probably entrust your data with the drives I did ;-)
I'm using 16+2, 8+2, 4+2, 4+1, 2+1 and x2, x3, x4 replication modes mostly, and if one drive goes south, I can see several chunks that have 2 copies to replicate, but on the other hand they do not appear in "endangered chunks" list, so I didn't wonder what is the reason of this behavior.
from lizardfs.
Related Issues (20)
- installing lizardfs-client in bullseye HOT 1
- lizardfs.com seems to be down HOT 1
- docs, repo, and ubu package are broken and wrong
- Enable/Enforce IO Timeouts for Mounts? HOT 2
- How to get the list of files which goal is 1 HOT 4
- :)
- Best way to disable rebalancing?
- Is there a way to keep overgoal chunks until free space falls below a threshold? HOT 1
- Shadow to master transition fails with existing metadata when no connection to master was established HOT 3
- Debian & Ubuntu Repo no longer exists? HOT 11
- Upgrade 3.12 to 3.13 HOT 8
- Website http://lizardfs.com/ is down HOT 2
- Fix documentation for installation HOT 5
- Unable to use lizardfs mount on Debian 11 bullseye with lizardfs-client HOT 3
- [PATCH] CMake 3.25 compatibility HOT 2
- IPv6 support HOT 1
- Status of the project? HOT 1
- Certificate expired on dev.lizardfs.com HOT 3
- aarch64 compiling got error: comparison is always true due to limited range of data type [-Werror=type-limits] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lizardfs.