Skip to content
Browse files

Remove the mirror functionality for now, will need to be re-examined

as a viable option for local backup, replication may still be a better
method
  • Loading branch information...
1 parent 5a6ce05 commit 8f6c08823fc3203016251461ceffae7c402a975b @kmoore134 kmoore134 committed Sep 6, 2013
Showing with 9 additions and 11 deletions.
  1. +9 −11 src-sh/lpreserver/lpreserver
View
20 src-sh/lpreserver/lpreserver
@@ -46,7 +46,6 @@ Type in help <command> for information and usage about that command
listcron - Listing of scheduled snapshots
listsnap - List snapshots of a zpool/dataset
mksnap - Create a ZFS snapshot of a zpool/dataset
- mirror - Enable / Disable ZFS mirroring to a local drive
replicate - Enable / Disable ZFS replication to a remote system
revertsnap - Revert zpool/dataset to a snapshot
rmsnap - Remove a snapshot
@@ -387,7 +386,6 @@ case "$1" in
listcron) help_listcron ;;
listsnap) help_listsnap ;;
revertsnap) help_revertsnap ;;
- mirror) help_mirror ;;
replicate) help_replicate ;;
cronsnap) help_cronsnap ;;
rmsnap) help_rmsnap ;;
@@ -488,15 +486,15 @@ revertsnap) require_root
*) help_replicate ;;
esac
;;
- mirror) require_root
- shift
- case ${1} in
- add) add_mirror_disk "$2" "$3" ;;
- list) list_mirror_disks "$2" ;;
- remove) rem_mirror_disk "$2" "$3" ;;
- *) help_mirror ;;
- esac
- ;;
+# mirror) require_root
+# shift
+# case ${1} in
+# add) add_mirror_disk "$2" "$3" ;;
+# list) list_mirror_disks "$2" ;;
+# remove) rem_mirror_disk "$2" "$3" ;;
+# *) help_mirror ;;
+# esac
+# ;;
*) help_main ;;
esac

0 comments on commit 8f6c088

Please sign in to comment.
Something went wrong with that request. Please try again.