Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How to undo a zfs destroy?


Return 0, but don’t do anything yet. Fire a cron with an N-minute sleep that destroys the FS on expiry. Also, rewrite various ZFS tooling to lie about the consumed space, and confound the user with random errors if they try to use the still-allocated space.

/s but I sincerely hope it isn’t necessary


zfs create. All better.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: