-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Check "failmode wait" documentation and behavior #9395
Comments
@kpande are you able to recommend any other project which exposes S3 as a virtual block device and is flexible for ZFS? |
@kpande there's only one open bug on the s3backer repo. What are the (incredible number of) other bugs? It looks useful, but it would be good to know what problems you've had, using it with ZFS. |
I think that s3backer is not the cause of the pool suspension. If we remove all disks from pool with property failmode=wait, ZFS should block all I/O access until the device connectivity is recovered and the errors are cleared but unfortunately this does not happen:
and after a few seconds:
and even if we device connectivity is recovered pool is still suspended:
so I think failmode=wait doesn't work according to the zpool manual. |
I have also tried to simulate SCSI delay using
and after some time we have pool suspension so
|
Based on previous comments from @arturpzol on this issue, perhaps a more suitable title for this would be " |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
Nowhere in the description of the failmode property does it clearly state how to bring a suspended pool back online. Add a few words to property description and the zpool-clear(8) man page. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#9395
Nowhere in the description of the failmode property does it clearly state how to bring a suspended pool back online. Add a few words to property description and the zpool-clear(8) man page. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#9395
@arturpzol I believe this is a matter of documentation. It is possible to resume the pool in your scsi_debug example above, but there are two additional steps.
I've opened #12907 to try and clarify the documentation regarding using |
Nowhere in the description of the failmode property does it clearly state how to bring a suspended pool back online. Add a few words to property description and the zpool-clear(8) man page. Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes openzfs#12907 Closes openzfs#9395
Nowhere in the description of the failmode property does it clearly state how to bring a suspended pool back online. Add a few words to property description and the zpool-clear(8) man page. Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes openzfs#12907 Closes openzfs#9395
Nowhere in the description of the failmode property does it clearly state how to bring a suspended pool back online. Add a few words to property description and the zpool-clear(8) man page. Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes openzfs#12907 Closes openzfs#9395
Nowhere in the description of the failmode property does it clearly state how to bring a suspended pool back online. Add a few words to property description and the zpool-clear(8) man page. Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes openzfs#12907 Closes openzfs#9395
Nowhere in the description of the failmode property does it clearly state how to bring a suspended pool back online. Add a few words to property description and the zpool-clear(8) man page. Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes openzfs#12907 Closes openzfs#9395
Nowhere in the description of the failmode property does it clearly state how to bring a suspended pool back online. Add a few words to property description and the zpool-clear(8) man page. Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes openzfs#12907 Closes openzfs#9395
System information
Describe the problem you're observing
I try to configure zpool on s3backer filesystem using a loopback device and has one ambiguity with failmode property.
According to manual when
failmode=wait
ZFS blocks all I/O access until the device connectivity is recovered and the errors are cleared. Unfortunately this does not happen.When connection with S3 is broken (which is a rather common case in S3 connectivity) after a few minutes zpool goes to suspended state.
WARNING: Pool 'S3' has encountered an uncorrectable I/O failure and has been suspended.
I have also tried to configure all
zio_deadman
parameters with different values but effect is the same.The only way out (known to me) of the suspended state is to
zpool clear
after resume the S3 connectivity but only possible when multihost is disabled.Are there any other parameters for which I can specify that
failmode=wait
will wait indefinitely without zpool suspension.The text was updated successfully, but these errors were encountered: