Advertisement
Guest User

Fong - ZFS Rollback

a guest
Jun 22nd, 2016
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1.  
  2. Followup on your ZFS tutorial... http://www.bsdnow.tv/tutorials/zfs
  3.  
  4. On a system where you have ZFS-on-root, I'm still a bit shaky on what happens when you do a rollback of the entire filesystem.
  5.  
  6. For instance, I upgraded pkgs and it broke a bunch of stuff. So I first attempted rollback with:
  7.  
  8. zfs rollback -rv zroot@<snapshot-name>
  9.  
  10. ...but it seemed to do nothing. I stumbled upon this syntax that seemed to work:
  11.  
  12. zfs rollback -rv zroot/ROOT/default@<snapshot-name>
  13.  
  14. I'm not clear on what /ROOT/default refers to and why it's necessary?
  15.  
  16.  
  17. Lastly, the software I was effectively trying to restore didn't seem copasetic until I rebooted. Wondering if you could give me a sanity check on this?
  18.  
  19. Is this a give-in? Or could I have potentially have stopped/started the right combination of services and gotten the same results live in-place?
  20.  
  21.  
  22. TIA
  23.  
  24. Fong
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement