;Recovery script SAMPLE -- DO NOT RUN WITHOUT modifications
;
;Update the DFSee commands to match the situation, remove 'rem' where needed
;remove the following two lines when modifications are done
confirm DO NOT RUN this script!  It is just a demo SAMPLE!~~Use <Esc> until script has stopped!
disk 99
;
;Recovery script sample, recreate LVM-info for volume C: on OS2SYSTEM server
; ~ no-parameters when run with script-file-dialog prompting~
;
;To recover real disk: DFSxxx.EXE run reclvm
;
;;defaultparam 1 disk
;;defaultparam 2 1
;
log $0 ;same as scriptname
about -P-
;
confirm Recovery will work on $1 $2~~It will ...~~Press a key to start the recovery now
;
fdisk $1 $2
;
; show begin situation
;
part -m -n -e -d
part -d
;
set synclvm off
;
lvm 1,r -P- -v:"OS2SYSTEM" -p:"[ C ]" -l:c -menu    ;add LVM info again for 1st partition
;
; show result
;
plist lvm -d
part -m -n -e -d
part -d
;
log             ;close logfile
;
confirm Recovery completed, press a key to exit the DFSee program ...
q
