SHARE
TWEET

zfs promote

a guest Sep 12th, 2013 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # zfs create src/windows
  2. # zfs snapshot src/windows@XP
  3. # zfs snapshot src/windows@7
  4. # zfs snapshot src/windows@8
  5. # zfs clone src/windows@XP src/windowsXP
  6. # zfs snapshot src/windowsXP@SP2
  7. # zfs snapshot src/windowsXP@SP3
  8. # zfs list -r -t all -o name,origin src
  9. NAME               ORIGIN
  10. src                -
  11. src/windows        -
  12. src/windows@XP     -
  13. src/windows@7      -
  14. src/windows@8      -
  15. src/windowsXP      src/windows@XP
  16. src/windowsXP@SP2  -
  17. src/windowsXP@SP3  -
  18. # zfs promote src/windowsXP
  19. # zfs list -r -t all -o name,origin src
  20. NAME               ORIGIN
  21. src                -
  22. src/windows        src/windowsXP@XP
  23. src/windows@7      -
  24. src/windows@8      -
  25. src/windowsXP      -
  26. src/windowsXP@XP   -
  27. src/windowsXP@SP2  -
  28. src/windowsXP@SP3  -
  29. # zfs rename src/windows src/windows_old
  30. # zfs rename src/windowsXP src/windows
  31. # zfs list -r -t all -o name,origin src
  32. NAME               ORIGIN
  33. src                -
  34. src/windows        -
  35. src/windows@XP     -
  36. src/windows@SP2    -
  37. src/windows@SP3    -
  38. src/windows_old    src/windows@XP
  39. src/windows_old@7  -
  40. src/windows_old@8  -
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top