-
Notifications
You must be signed in to change notification settings - Fork 91
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
partitions not properly wiped #624
Comments
I think a call to |
... except for all those to which it would not apply |
Indeed, I suspect you'd get errors on File based SRs. It could probably go in the LVHDSR class though. |
I'm going with |
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
) Signed-off-by: Yann Dirson <[email protected]>
In reports like xcp-ng/xcp#390 and https://xcp-ng.org/forum/topic/7465/upgrade-to-8-3-beta-1-fails we see users getting hit by a previous ZFS partition not being properly wiped.
util.zeroOut
usesdd
to clear explicit block ranges in a given block dev (which cannot account for all kinds of signatures in the wild), and tools likevgcreate
are used in a mode that would ask the user what to do. Would there be any problem in callingwipefs -a
on the target block device?I can see it could be a bad idea to use
--force
onvgcreate
, as it is quite an "override all checks" flag and there don't seem to be a flag to just ignore previous contents, although it could avoid any upcoming issues that would not be covered by the currentwipefs
version.The text was updated successfully, but these errors were encountered: