On Tue, Apr 5, 2016 at 5:05 PM, Jorgen Lundman <[email protected]> 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. > Sounds like exactly the use case for "zpool labelclear". > > 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 agree, that's why we're implementing "zpool labelclear". > > 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. :) > I agree, and "zpool labelclear" is going to clear the label. "zpool labelclear" is not going to overwrite something that isn't a zpool label, in part because I haven't heard any use case for it. --matt ------------------------------------------- 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
