Ignore:
Timestamp:
09/06/13 09:40:42 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
4f9718b
Parents:
5a6ce05
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/lpreserver/lpreserver

    r5a6ce05 r8f6c088  
    4747   listsnap - List snapshots of a zpool/dataset 
    4848     mksnap - Create a ZFS snapshot of a zpool/dataset 
    49      mirror - Enable / Disable ZFS mirroring to a local drive 
    5049  replicate - Enable / Disable ZFS replication to a remote system 
    5150 revertsnap - Revert zpool/dataset to a snapshot 
     
    388387           listsnap) help_listsnap ;; 
    389388           revertsnap) help_revertsnap ;; 
    390            mirror) help_mirror ;; 
    391389           replicate) help_replicate ;; 
    392390           cronsnap) help_cronsnap ;; 
     
    489487            esac 
    490488         ;; 
    491     mirror) require_root 
    492             shift 
    493             case ${1} in 
    494                 add) add_mirror_disk "$2" "$3" ;; 
    495                 list) list_mirror_disks "$2" ;; 
    496                 remove) rem_mirror_disk "$2" "$3" ;; 
    497                 *) help_mirror ;; 
    498             esac 
    499          ;; 
     489#    mirror) require_root 
     490#           shift 
     491#           case ${1} in 
     492#               add) add_mirror_disk "$2" "$3" ;; 
     493#               list) list_mirror_disks "$2" ;; 
     494#               remove) rem_mirror_disk "$2" "$3" ;; 
     495#               *) help_mirror ;; 
     496#           esac 
     497#        ;; 
    500498   *) help_main ;; 
    501499esac 
Note: See TracChangeset for help on using the changeset viewer.