HSG80 split-mirror problem

From: MMP Rupp Wolfgang (Wolfgang.Rupp@mm-packaging.com)
Date: Fri Apr 18 2003 - 05:57:09 EDT


I got a weird problem here: with Command Scripter, a Unix cron
job triggers mirror splits. Additional units are then created
and presented to the cluster to "mount -o dual" for backup.

The problem is that with each split, the cluster sees the units
as new (additional) devices: last split I had /dev/disk/dsk57-60,
now I got 61-64. This is reproducible.

To automate split-mount-save, the split units have to be always
the same device number because of the file domain definitions.
What are we doing wrong? An example command scripter input for
split and rebuild is below.

Wolfgang Rupp
Network Administrator

MM Packaging Europe GmbH
Floragasse 7
A-1040 Wien
Tel: +43 1 50257 238
Fax: +43 1 50257 260

----[split]----
# cat split_disk_arch.cnfg
! create clone of ARCH (d53 ident 2053)
reduce disk50800 disk61000
add mir cl3m1 disk50800
add mir cl3m2 disk61000
add stripe clone3 cl3m1 cl3m2
init clone3 nodestroy
add unit d153 clone3 dis=all
ena=DU2A-1,DU2A-2,DU2A-3,DU2A-4,DU2B-1,DU2B-2,DU2B-
3,DU2B-4,DU3A-1,DU3A-2,DU3A-3,DU3A-4
unmirror disk50800
unmirror disk61000
set d153 ident=2153
----[rebuild]----
# cat rebuild_disk_arch.cnfg
! delete clone ARCH and rebuild for new one
del unit d153
del clone3
del cl3m1
del cl3m2
set mirr14 nopol
set mirr14 member=3
set mirr14 replace=disk50800
set mirr14 pol=BEST_PERFORMANCE
set mirr15 nopol
set mirr15 member=3
set mirr15 replace=disk61000
set mirr15 pol=BEST_PERFORMANCE

----


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:16 EDT