Admins,
I am running into strangness..
Earlier I reported success in creating a snaphot using the feature of the
HSG-80, Now it is failing.
Here is the situation:
I have two wildfires running 5.1 unix in a cluster. The shared storage is an
HSG80 SAN. I wish to implement the snap shot feature to create a backup of
several driectories that hold an oracle 8i database. We currently have a script
that stops and starts the database and creates advfs clonefilesets, this has
been working fine. I am attempting to write a script that will create the snap
shots in the place of the clonefilesets.
Here is what I have
This script create the snap shots
#! /bin/ksh
/var/opt/CPQcmdscr/bin/cmdscript -f scp0 << EOF
cli add snap d114 snap1 d105
cli add snap d115 snap2 d106
cli add snap d116 snap3 d107
set d114 ident=114
set d115 ident=115
set d116 ident=116
set d114 enable=all
set d115 enable=all
set d116 enable=all
EOF
rm /etc/fdmns/vol01_clone/*
ln -fs `hwmgr -v dev | grep -i identifier=114 | cut -d' ' -f 4`
/etc/fdmns/vol01_clone
mount vol01_clone#vol01 /clone/gab01_dmn/vol01
rm /etc/fdmns/vol03_clone/*
ln -fs `hwmgr -v dev | grep -i identifier=115 | cut -d' ' -f 4`
/etc/fdmns/vol03_clone
mount vol03_clone#vol03 /clone/gab01_dmn/vol03
rm /etc/fdmns/vol05_clone/*
ln -fs `hwmgr -v dev | grep -i identifier=116 | cut -d' ' -f 4`
/etc/fdmns/vol05_clone
mount vol03_clone#vol03 /clone/gab01_dmn/vol05
here is what stops and removes them
#! /bin/ksh
umount /clone/gab01_dmn/vol01
umount /clone/gab01_dmn/vol03
umount /clone/gab01_dmn/vol05
/var/opt/CPQcmdscr/bin/cmdscript -f scp0 << EOF
cli del d114
cli del d115
cli del d116
EOF
hwmgr -scan scsi
The mount, after an extended period fails with an I/O error....I also noticed
that when I issue a
hwmgr -v dev
after the stop script...I still see the snap shots listed...
The orginal disks are
Here is the output of a hwmgr -v dev
256: /dev/disk/dsk13c DEC HSG80 IDENTIFIER=110
4: /dev/kevm
421: /dev/disk/dsk18c DEC HSG80 IDENTIFIER=111
422: /dev/disk/dsk19c DEC HSG80 IDENTIFIER=112
423: /dev/disk/dsk20c DEC HSG80 IDENTIFIER=113
425: /dev/disk/dsk21c DEC HSG80 IDENTIFIER=114
426: /dev/disk/dsk22c DEC HSG80 IDENTIFIER=115
427: /dev/disk/dsk23c DEC HSG80 IDENTIFIER=116
207: /dev/disk/dsk1c COMPAQ BB00923468 bus-4-targ-0-lun-0
209: /dev/disk/dsk2c COMPAQ BB00923468 bus-8-targ-0-lun-0
243: /dev/disk/cdrom4c COMPAQ CRD-8402B bus-1-targ-0-lun-0
244: /dev/disk/cdrom5c COMPAQ CDR-8435 bus-5-targ-0-lun-0
245: /dev/disk/cdrom6c COMPAQ CRD-8402B bus-9-targ-0-lun-0
246: /dev/cport/scp0 HSG80CCL bus-2-targ-0-lun-0
247: /dev/disk/dsk4c DEC HSG80 IDENTIFIER=101
248: /dev/disk/dsk5c DEC HSG80 IDENTIFIER=102
249: /dev/disk/dsk6c DEC HSG80 IDENTIFIER=104
250: /dev/disk/dsk7c DEC HSG80 IDENTIFIER=103
251: /dev/disk/dsk8c DEC HSG80 IDENTIFIER=105
252: /dev/disk/dsk9c DEC HSG80 IDENTIFIER=106
253: /dev/disk/dsk10c DEC HSG80 IDENTIFIER=107
254: /dev/disk/dsk11c DEC HSG80 IDENTIFIER=108
255: /dev/disk/dsk12c DEC HSG80 IDENTIFIER=109
Here is a df -k
cluster_root#root 400000 276160 116640 71% /
root1_domain#root 131072 36393 89696 29%
/cluster/members/member1/boot_partition
cluster_var#var 6822280 837551 5973960 13% /var
GABSAN_dmn#vol08 266607768 16 266597304 1% /vol08
gab01_dmn#vol01 53333832 28449778 24868864 54% /vol01
GABSAN_dmn#vol06 266607768 16 266597304 1% /vol06
GABSAN_dmn#vol04 266607768 16 266597304 1% /vol04
GABSAN_dmn#vol02 266607768 16 266597304 1% /vol02
gab10_dmn#vol10 266607768 12817787 253777344 5% /vol10
gab03_dmn#vol03 53333832 28542848 24784904 54% /vol03
cluster_usr#usr 6822280 1713476 5085240 26% /usr
GABSAN_dmn#vol09 266607768 16 266597304 1% /vol09
GABSAN_dmn#vol07 266607768 16 266597304 1% /vol07
gab05_dmn#vol05 53333832 27877544 25450208 53% /vol05
root2_domain#root 131072 36320 89408 29%
/cluster/members/member2/boot_partition
/proc 0 0 0 100% /proc
Here are the units that I am snapping
D105 S1
LUN ID: 6000-1FE1-000D-8670-0009-0430-4883-0050
IDENTIFIER = 105
Current snapshot of this unit on unit D114
Switches:
RUN NOWRITE_PROTECT READ_CACHE
READAHEAD_CACHE WRITEBACK_CACHE
MAX_READ_CACHED_TRANSFER_SIZE = 256
MAX_WRITE_CACHED_TRANSFER_SIZE = 256
Access:
ALL
State:
ONLINE to the other controller
PREFERRED_PATH = THIS_CONTROLLER
Size: 106667667 blocks
Geometry (C/H/S): ( 20998 / 20 / 254 )
D106 S2
LUN ID: 6000-1FE1-000D-8670-0009-0430-4883-005A
IDENTIFIER = 106
Current snapshot of this unit on unit D115
Switches:
RUN NOWRITE_PROTECT READ_CACHE
READAHEAD_CACHE WRITEBACK_CACHE
MAX_READ_CACHED_TRANSFER_SIZE = 256
MAX_WRITE_CACHED_TRANSFER_SIZE = 256
Access:
ALL
State:
ONLINE to the other controller
PREFERRED_PATH = THIS_CONTROLLER
Size: 106667667 blocks
Geometry (C/H/S): ( 20998 / 20 / 254 )
D107 S3
LUN ID: 6000-1FE1-000D-8670-0009-0430-4883-0064
IDENTIFIER = 107
Current snapshot of this unit on unit D116
Switches:
RUN NOWRITE_PROTECT READ_CACHE
READAHEAD_CACHE WRITEBACK_CACHE
MAX_READ_CACHED_TRANSFER_SIZE = 256
MAX_WRITE_CACHED_TRANSFER_SIZE = 256
Access:
ALL
State:
ONLINE to the other controller
PREFERRED_PATH = THIS_CONTROLLER
Size: 106667667 blocks
Geometry (C/H/S): ( 20998 / 20 / 254 )
Any ideas???
Lee Brewer
Received on Mon Sep 17 2001 - 15:11:00 NZST