Comments (2)
Same thing happens with moved files.
Added and modified files will be handled correctly by fsck.
from greyhole.
Possible solution: save in a new table all delete & renames that happened when 1+ drives are missing. Only insert in the table if we know a file copy is present on a missing drive.
When a drive comes back, play back those tasks in the same order they happened before, while only working on the file copies on the drive that re-appeared.
Another possible solution: during the fsck that happens when a drive re-appears, when we find a file on a re-appearing drive that isn't on the other drives, simply move that file to the trash. This assumes all files that are only on a re-appearing drive, and for which other copies should exist, shouldn't be there anymore.
from greyhole.
Related Issues (20)
- Error: failed to initialize Greyhole database HOT 2
- Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). HOT 5
- Greyhole slow when transferring things via Radarr/Sonarr etc. HOT 3
- greyhole timezone=-13:00 vs ubuntu 18 (mysql 5.7) HOT 2
- MySQL server has gone away HOT 2
- No access to files from shares. HOT 11
- Change fsck cron timing HOT 1
- Debian 12, samba 4.17 and VFS not building HOT 2
- VFS errors HOT 9
- logrotate is already installed HOT 6
- daemon: Greyhole VFS module warning HOT 2
- Greyhole won't start after update - SQL error Can't DROP 'uniqness'; HOT 4
- Makefile error Samba 4.18.6 HOT 5
- DEBUG read_smb_spool: Directory created: / WARN read_smb_spool: Failed to create directory HOT 1
- Can't add drive to drive selection group! HOT 16
- Ownership of share-folders inside gh folder HOT 6
- Accidentally Copied Lots of Small Files - Recovering from a Blown Out log and Spool. HOT 5
- fsck parallelism HOT 1
- Failed file copy (using rename) HOT 3
- No Files shown after reinstall Greyhole HOT 10
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 greyhole.