-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
overlayfs panics in runsc #216
Comments
Okay I think an easy repro is to edit a file inside the sandbox and save it. Then edit the same file from outside. This triggers the panic listed above. |
This violates the --file-access=exclusive (default) contract. Are you using --file-access=shared? |
Ah that makes sense. I wasn't using --file-access=shared. I guess panic is appropriate in this case? |
Yeah, in this case the caching in the FS layer is out-of-sync from the actual data, and is truly in an inconsistent state (through no fault of the sandbox). I'm not sure it's possible to recover from that inconsistency, so a panic seems appropriate. |
Repro,
Start runsc with --overlay.
Copy large amounts of data (I was copying over around 148 Gigs).
Ctrl-c midway of copy
ls -la (panics)
The text was updated successfully, but these errors were encountered: