Changes in / [b3ee7b3:5ea46879]


Ignore:
Location:
src-sh/lpreserver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src-sh/lpreserver/backend/functions.sh

    rc0e6494 r6b017ea  
    411411      exit_err "No such device: $disk" 
    412412      exit 0 
     413   fi 
     414 
     415   zpool list -H -v | awk '{print $1}' | grep -q "^$disk" 
     416   if [ $? -eq 0 ] ; then 
     417      exit_err "Error: This disk is already apart of a zpool!" 
    413418   fi 
    414419 
  • src-sh/lpreserver/lpreserver

    rc0e6494 rde39bc3b  
    408408           listsnap) help_listsnap ;; 
    409409           revertsnap) help_revertsnap ;; 
    410            zpool) help_zpol ;; 
     410           zpool) help_zpool ;; 
    411411           replicate) help_replicate ;; 
    412412           cronsnap) help_cronsnap ;; 
Note: See TracChangeset for help on using the changeset viewer.