Skip to content
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

Support multi-attach #120

Closed
Akrog opened this issue Jun 6, 2019 · 1 comment · Fixed by #162
Closed

Support multi-attach #120

Akrog opened this issue Jun 6, 2019 · 1 comment · Fixed by #162
Labels
enhancement New feature or request
Projects

Comments

@Akrog
Copy link
Member

Akrog commented Jun 6, 2019

We should support multi-attach for block volumes even if we cannot support it for mount volumes.

@Akrog Akrog added the enhancement New feature or request label Jun 6, 2019
@Akrog Akrog added this to To do in Ember-CSI via automation Jun 6, 2019
@Akrog Akrog mentioned this issue Jan 8, 2020
@Akrog
Copy link
Member Author

Akrog commented Jan 8, 2020

Multi-attach mount volumes would be problematic even on the single writer multiple readers scenario.

There are filesystems (like NTFS, and Ext4) that would corrupt the volume when we mount them on multiple hosts, even if they are read only.

We'll still have issues when we use other filesystems that don't have that issue, because Linux clients cache blocks locally, and they do not invalidate that cache. So we could experience application crashes when accessing data structures that were partially cached while being changed on the original.

Ext4 replays the journal even on readonly mounts. So a readonly mount will still write to the underlying block device. It would be unsafe even if both the mounts were readonly. We could try attaching the volume as readonly (or setting it to RO with blockdev --setro) before mounting and see it if works for the all readers (and no writers) case.

Akrog added a commit to Akrog/ember-csi that referenced this issue Apr 7, 2020
With this patch we now support RWX and ROX modes for block volumes, and
we fail for mount volumes.

Fix embercsi#120
Akrog added a commit to Akrog/ember-csi that referenced this issue Apr 8, 2020
With this patch we now support RWX and ROX modes for block volumes, and
we fail for mount volumes.

Fix embercsi#120
Akrog added a commit to Akrog/ember-csi that referenced this issue Apr 8, 2020
With this patch we now support RWX and ROX modes for block volumes, and
we fail for mount volumes.

Fix embercsi#120
Ember-CSI automation moved this from To do to Done Apr 13, 2020
trgill pushed a commit to trgill/ember-csi that referenced this issue Apr 21, 2020
With this patch we now support RWX and ROX modes for block volumes, and
we fail for mount volumes.

Fix embercsi#120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Ember-CSI
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant