On Wed, 6 Apr 2016 09:05:45 +0900, Jorgen Lundman wrote:
Having had a handful of disks in this situation, and I had to dd the start and end of the disks to be able to use them again, is rather frustrating. ZFS is supposed to be admin friendly, so we don't have to dick around with partitions and dd blanking a disk just because a label got corrupted. (Even if it is not ZFS's fault). I find the discussion of "giving users a loaded gun" most peculiar, should they perhaps not use Unix at all? Why is removing a snapshot the same command as destroying your whole dataset? That's one space away from disaster. There already is existing precedent. But this sort of argument that I am using is tedious, sorry. :) Either we have a command that does what it says, and clears the label, or lets not having it at all, and refer people to dd and lets hope they don't use 'dd' "more wrong" than labelclear. :)
And it does exactly that, it clears *existing* label. If that's not your use case, you'll need to answer the question Matthew already asked:
https://github.com/openzfs/openzfs/pull/83#issuecomment-205647164 ------------------------------------------- openzfs-developer Archives: https://www.listbox.com/member/archive/274414/=now RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa Modify Your Subscription: https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c Powered by Listbox: http://www.listbox.com