login: root
Password:
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
# bash
dbash-3.00# devfsadm
bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
bash-3.00# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1f,700000/scsi@2/sd@0,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1f,700000/scsi@2/sd@1,0
2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1f,700000/scsi@2/sd@2,0
3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1f,700000/scsi@2/sd@3,0
4. c3t5d0 <DGC-RAID5-0216 cyl 51198 alt 2 hd 256 sec 16>
/pci@1d,700000/fibre-channel@2/sd@5,0
5. c3t5d1 <DGC-RAID5-0216 cyl 61438 alt 2 hd 256 sec 20>
/pci@1d,700000/fibre-channel@2/sd@5,1
6. c3t5d2 <DGC-RAID5-0216 cyl 32894 alt 2 hd 256 sec 128>
/pci@1d,700000/fibre-channel@2/sd@5,2
Specify disk (enter its number): ^C
bash-3.00# vxdctl disable
bash-3.00# vxdctl enable
bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c3t5d0s2 auto:none - - online invalid
c3t5d1s2 auto:none - - online invalid
c3t5d2s2 auto:none - - online invalid
bash-3.00# cat /etc/hosts
# Internet host table
#
127.0.0.1 localhost
10.0.1.66 v440 loghost v440.rebecca.com.cn
10.0.1.61 v240
10.0.1.60 ora
192.168.1.60 vvr440
192.168.1.61 vvr240
218.28.73.130 v440
bash-3.00# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c3t5d0s2 auto:none - - online invalid
c3t5d1s2 auto:none - - online invalid
c3t5d2s2 auto:none - - online invalid
bash-3.00# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s7 /dev/rdsk/c1t0d0s7 /export/home ufs 2 yes-
/dev/dsk/c1t3d0s7 /dev/rdsk/c1t3d0s7 /export/home0 ufs 2 yes-
/dev/dsk/c1t2d0s7 /dev/rdsk/c1t2d0s7 /export/home1 ufs 2 yes-
#/dev/vx/dsk/data/ora_vol1 /dev/vx/rdsk/data/ora_vol1 /oradata vxfs 2 yes -
#/dev/vx/dsk/v440fs/v440fs_vol1 /dev/vx/rdsk/v440fs/v440fs_vol1 /v440fs vxfs 2yes -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
bash-3.00# vxdisk -o alldgs liwt
VxVM vxdisk INFO V-5-1-9632
vxdisk - manage disks controlled by the Volume Manager
Usage: vxdisk [-f] keyword arg ...
Recognized keywords:
init accessname [attribute ...]
define accessname [attribute ...]
online accessname ...
offline accessname ...
-a online
[-g diskgroup] check disk ...
rm accessname ...
[-g diskgroup] [-o alldgs] [-bqs] list [disk ...]
clearimport accessname ...
[-g diskgroup] addregion region-type disk offset length
[-g diskgroup] rmregion region-type disk offset [length]
[-g diskgroup] set disk [attribute ...]
getctlr da_name
scandisks [device=...|ctlr=...|pctlr=...|new|fabric]
verify accessname ...
destroy accessname ...
flush accessname ...
-o clearkey=key clearhost ...
checklvmdisk
listguid
[-g diskgroup] resize disk [length=<value>]
path
bash-3.00# vxdg init v440fs c3t5d2s2
VxVM vxdg ERROR V-5-1-6478 Device c3t5d2s2 cannot be added to a CDS disk group
bash-3.00# vxdisksetup -i c3t5d2s2
VxVM vxdisksetup ERROR V-5-2-2206 c3t5d2s2: An invalid device address was specified; it must be of
the form cCtTdD, mcCtTdD or <enclosurename>_<diskno> where
C = host bus adapter controller number
T = target device controller number, if used
D = logical unit (disk) number within target device controller
<enclosurename> is the logical name of the enclosure to which the
disk belongs
<diskno> is the logical number of the disk
bash-3.00# vxdisksetup -i c3t5d2
bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c3t5d0s2 auto:none - - online invalid
c3t5d1s2 auto:none - - online invalid
c3t5d2s2 auto:cdsdisk - - online
bash-3.00# vxdg init v440fs c3t5d2s2
bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c3t5d0s2 auto:none - - online invalid
c3t5d1s2 auto:none - - online invalid
c3t5d2s2 auto:cdsdisk c3t5d2s2 v440fs online
bash-3.00# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s7 /dev/rdsk/c1t0d0s7 /export/home ufs 2 yes-
/dev/dsk/c1t3d0s7 /dev/rdsk/c1t3d0s7 /export/home0 ufs 2 yes-
/dev/dsk/c1t2d0s7 /dev/rdsk/c1t2d0s7 /export/home1 ufs 2 yes-
#/dev/vx/dsk/data/ora_vol1 /dev/vx/rdsk/data/ora_vol1 /oradata vxfs 2 yes -
#/dev/vx/dsk/v440fs/v440fs_vol1 /dev/vx/rdsk/v440fs/v440fs_vol1 /v440fs vxfs 2yes -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
bash-3.00# vxassist -g v440fs make v440fs_vol1
VxVM vxassist ERROR V-5-1-693 Incorrect usage
Usage: vxassist [-g diskgroup] [-U usetype] [-d file] [-b] make volume-name len [attrs...]
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 218.28.73.130 netmask ffffff00 broadcast 218.28.73.255
ether 0:3:ba:af:89:3b
ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.1.60 netmask ffff0000 broadcast 10.0.255.255
ce0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.1.66 netmask ffff0000 broadcast 10.0.255.255
ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.1.60 netmask ffffff00 broadcast 192.168.1.255
ether 0:3:ba:af:89:3b
bash-3.00# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s7 /dev/rdsk/c1t0d0s7 /export/home ufs 2 yes-
/dev/dsk/c1t3d0s7 /dev/rdsk/c1t3d0s7 /export/home0 ufs 2 yes-
/dev/dsk/c1t2d0s7 /dev/rdsk/c1t2d0s7 /export/home1 ufs 2 yes-
#/dev/vx/dsk/data/ora_vol1 /dev/vx/rdsk/data/ora_vol1 /oradata vxfs 2 yes -
#/dev/vx/dsk/v440fs/v440fs_vol1 /dev/vx/rdsk/v440fs/v440fs_vol1 /v440fs vxfs 2yes -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
bash-3.00# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 9.6G 9.9G 50% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 13G 1.1M 13G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
fd 0K 0K 0K 0% /dev/fd
swap 13G 1.2M 13G 1% /tmp
swap 13G 64K 13G 1% /var/run
swap 13G 0K 13G 0% /dev/vx/dmp
swap 13G 0K 13G 0% /dev/vx/rdmp
/dev/dsk/c1t2d0s7 67G 58G 9.0G 87% /export/home1
/dev/dsk/c1t3d0s7 67G 57G 9.7G 86% /export/home0
/dev/dsk/c1t0d0s7 47G 21G 25G 46% /export/home
/dev/dsk/c3t5d0s6 98G 64M 97G 1% /test2008
/dev/vx/dsk/v440fs/v440fs_vol1
514G 386M 481G 1% /v440fs
bash-3.00# umount /test2008
bash-3.00# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 9.6G 9.9G 50% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 13G 1.1M 13G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
fd 0K 0K 0K 0% /dev/fd
swap 13G 1.2M 13G 1% /tmp
swap 13G 64K 13G 1% /var/run
swap 13G 0K 13G 0% /dev/vx/dmp
swap 13G 0K 13G 0% /dev/vx/rdmp
/dev/dsk/c1t2d0s7 67G 58G 9.0G 87% /export/home1
/dev/dsk/c1t3d0s7 67G 57G 9.7G 86% /export/home0
/dev/dsk/c1t0d0s7 47G 21G 25G 46% /export/home
/dev/vx/dsk/v440fs/v440fs_vol1
514G 386M 481G 1% /v440fs
bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c3t5d0s2 auto:none - - online invalid
c3t5d1s2 auto:none - - online invalid
c3t5d2s2 auto:cdsdisk c3t5d2s2 v440fs online
bash-3.00# vxdg init data c3t5d0 c3t5d1
VxVM vxdg ERROR V-5-1-6478 Device c3t5d0s2 cannot be added to a CDS disk group
VxVM vxdg ERROR V-5-1-6478 Device c3t5d1s2 cannot be added to a CDS disk group
bash-3.00# vxdisksetup -i c3t5d0s2
VxVM vxdisksetup ERROR V-5-2-2206 c3t5d0s2: An invalid device address was specified; it must be of
the form cCtTdD, mcCtTdD or <enclosurename>_<diskno> where
C = host bus adapter controller number
T = target device controller number, if used
D = logical unit (disk) number within target device controller
<enclosurename> is the logical name of the enclosure to which the
disk belongs
<diskno> is the logical number of the disk
bash-3.00# vxdisksetup -i c3t5d0
bash-3.00# vxdisksetup -i c3t5d1
bash-3.00# vxdg init data c3t5d0 c3t5d1
bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:none - - online invalid
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c3t5d0s2 auto:cdsdisk c3t5d0 data online
c3t5d1s2 auto:cdsdisk c3t5d1 data online
c3t5d2s2 auto:cdsdisk c3t5d2s2 v440fs online
bash-3.00# vxprint
Disk group: v440fs
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg v440fs v440fs - - - - - -
dm c3t5d2s2 c3t5d2s2 - 1077868288 - - - -
v v440fs_vol1 fsgen ENABLED 1077866496 - ACTIVE - -
pl v440fs_vol1-01 v440fs_vol1 ENABLED 1077866496 - ACTIVE - -
sd c3t5d2s2-01 v440fs_vol1-01 ENABLED 1077866496 0 - - -
Disk group: data
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg data data - - - - - -
dm c3t5d0 c3t5d0s2 - 209704704 - - - -
dm c3t5d1 c3t5d1s2 - 314560256 - - - -
v ora_vol1 fsgen ENABLED 314558464 - ACTIVE - -
pl ora_vol1-01 ora_vol1 ENABLED 314558464 - ACTIVE - -
sd c3t5d1-01 ora_vol1-01 ENABLED 314558464 0 - - -
v srl_vol fsgen ENABLED 209702912 - ACTIVE - -
pl srl_vol-01 srl_vol ENABLED 209702912 - ACTIVE - -
sd c3t5d0-01 srl_vol-01 ENABLED 209702912 0 - - -
bash-3.00# vradmin -H
VxVM VVR vradmin INFO V-5-52-243
vradmin - Perform VERITAS Volume Replicator configuration and administrative operations
Usage: vradmin [options] keyword args [attrs...]
Recognized keywords:
addsec rvg prihost sechost attrs...
addvol rvg volume
changeip rvg [sechost] attrs...
createpri rvg datavols srl
delpri rvg
delsec rvg [sechost]
delvol rvg volume
fbsync rvg [attrs...]
help [keyword]
ibc rvg taskname [sechost] ...
makesec rvg prihost
migrate rvg [sechost]
pauserep rvg [sechost]
printrvg [rvg ...]
printvol [rvg ...]
repstatus rvg
resizesrl rvg length
resizevol rvg volume length
resumerep rvg [sechost]
resync rvg [attrs...]
set rvg [sechost] attrs...
startrep rvg [sechost]
stoprep rvg [sechost]
syncrvg rvg host1 [host2] ...
syncvol vol1,vol2... host1[:dg[:vol1,vol2...] ...
takeover rvg
verifydata rvg sechost attrs...
bash-3.00# vradmin -g data printrvg
VxVM VVR vradmin ERROR V-5-52-411 RVG not found in disk group data.
bash-3.00# vradmin -g data printrvg reprvg
VxVM VVR vradmin ERROR V-5-52-407 RVG reprvg not found in disk group data.
bash-3.00# vxprint
Disk group: v440fs
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg v440fs v440fs - - - - - -
dm c3t5d2s2 c3t5d2s2 - 1077868288 - - - -
v v440fs_vol1 fsgen ENABLED 1077866496 - ACTIVE - -
pl v440fs_vol1-01 v440fs_vol1 ENABLED 1077866496 - ACTIVE - -
sd c3t5d2s2-01 v440fs_vol1-01 ENABLED 1077866496 0 - - -
Disk group: data
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg data data - - - - - -
dm c3t5d0 c3t5d0s2 - 209704704 - - - -
dm c3t5d1 c3t5d1s2 - 314560256 - - - -
v ora_vol1 fsgen ENABLED 314558464 - ACTIVE - -
pl ora_vol1-01 ora_vol1 ENABLED 314558464 - ACTIVE - -
sd c3t5d1-01 ora_vol1-01 ENABLED 314558464 0 - - -
v srl_vol fsgen ENABLED 209702912 - ACTIVE - -
pl srl_vol-01 srl_vol ENABLED 209702912 - ACTIVE - -
sd c3t5d0-01 srl_vol-01 ENABLED 209702912 0 - - -
bash-3.00# vradmin -g data createpri repvg ora_vol1 srl_vol
bash-3.00# vradmin -g data printrvg repvg
Replicated Data Set: repvg
Primary:
HostName: v440 <localhost>
RvgName: repvg
DgName: data
bash-3.00# vxprint
Disk group: v440fs
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg v440fs v440fs - - - - - -
dm c3t5d2s2 c3t5d2s2 - 1077868288 - - - -
v v440fs_vol1 fsgen ENABLED 1077866496 - ACTIVE - -
pl v440fs_vol1-01 v440fs_vol1 ENABLED 1077866496 - ACTIVE - -
sd c3t5d2s2-01 v440fs_vol1-01 ENABLED 1077866496 0 - - -
Disk group: data
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg data data - - - - - -
dm c3t5d0 c3t5d0s2 - 209704704 - - - -
dm c3t5d1 c3t5d1s2 - 314560256 - - - -
rv repvg - ENABLED - - ACTIVE - -
v ora_vol1 repvg ENABLED 314558464 - ACTIVE - -
pl ora_vol1-01 ora_vol1 ENABLED 314558464 - ACTIVE - -
sd c3t5d1-01 ora_vol1-01 ENABLED 314558464 0 - - -
pl ora_vol1-02 ora_vol1 ENABLED LOGONLY - ACTIVE - -
sd c3t5d0-02 ora_vol1-02 ENABLED 512 LOG - - -
pl ora_vol1-03 ora_vol1 ENABLED LOGONLY - ACTIVE - -
sd c3t5d1-02 ora_vol1-03 ENABLED 512 LOG - - -
v srl_vol repvg ENABLED 209702912 SRL ACTIVE - -
pl srl_vol-01 srl_vol ENABLED 209702912 - ACTIVE - -
sd c3t5d0-01 srl_vol-01 ENABLED 209702912 0 - - -
bash-3.00# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
10.0.1.66 v440 loghost v440.rebecca.com.cn
10.0.1.61 v240
10.0.1.60 ora
192.168.1.60 vvr440
192.168.1.61 vvr240
218.28.73.130 v440
bash-3.00# vradmin -g data addsec repvg vvr440 vvr240
VxVM VVR vradmin ERROR V-5-52-417 RVG repvg already exists in disk group data.
VxVM VVR vradmin ERROR V-5-52-802 Cannot start command execution on Secondary.
bash-3.00# vradmin -g data printrvg repvg
Replicated Data Set: repvg
Primary:
HostName: v440 <localhost>
RvgName: repvg
DgName: data
bash-3.00# vxprint
Disk group: v440fs
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg v440fs v440fs - - - - - -
dm c3t5d2s2 c3t5d2s2 - 1077868288 - - - -
v v440fs_vol1 fsgen ENABLED 1077866496 - ACTIVE - -
pl v440fs_vol1-01 v440fs_vol1 ENABLED 1077866496 - ACTIVE - -
sd c3t5d2s2-01 v440fs_vol1-01 ENABLED 1077866496 0 - - -
Disk group: data
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg data data - - - - - -
dm c3t5d0 c3t5d0s2 - 209704704 - - - -
dm c3t5d1 c3t5d1s2 - 314560256 - - - -
rv repvg - ENABLED - - ACTIVE - -
v ora_vol1 repvg ENABLED 314558464 - ACTIVE - -
pl ora_vol1-01 ora_vol1 ENABLED 314558464 - ACTIVE - -
sd c3t5d1-01 ora_vol1-01 ENABLED 314558464 0 - - -
pl ora_vol1-02 ora_vol1 ENABLED LOGONLY - ACTIVE - -
sd c3t5d0-02 ora_vol1-02 ENABLED 512 LOG - - -
pl ora_vol1-03 ora_vol1 ENABLED LOGONLY - ACTIVE - -
sd c3t5d1-02 ora_vol1-03 ENABLED 512 LOG - - -
v srl_vol repvg ENABLED 209702912 SRL ACTIVE - -
pl srl_vol-01 srl_vol ENABLED 209702912 - ACTIVE - -
sd c3t5d0-01 srl_vol-01 ENABLED 209702912 0 - - -
bash-3.00# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s7 /dev/rdsk/c1t0d0s7 /export/home ufs 2 yes-
/dev/dsk/c1t3d0s7 /dev/rdsk/c1t3d0s7 /export/home0 ufs 2 yes-
/dev/dsk/c1t2d0s7 /dev/rdsk/c1t2d0s7 /export/home1 ufs 2 yes-
#/dev/vx/dsk/data/ora_vol1 /dev/vx/rdsk/data/ora_vol1 /oradata vxfs 2 yes -
#/dev/vx/dsk/v440fs/v440fs_vol1 /dev/vx/rdsk/v440fs/v440fs_vol1 /v440fs vxfs 2yes -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
bash-3.00# vradmin -g data addsec repvg vvr440 vvr240
Message from Host vvr240:
VxVM VVR vradmin ERROR V-5-52-422 Primary disk group 1215850063.26.v440 is not authenticated.
VxVM VVR vradmin ERROR V-5-52-802 Cannot start command execution on Secondary.
bash-3.00# vradmin -g data addsec repvg vvr440 vvr240
bash-3.00#
bash-3.00# vradmin -g data printrvg repvg
Replicated Data Set: repvg
Primary:
HostName: vvr440 <localhost>
RvgName: repvg
DgName: data
Secondary:
HostName: vvr240
RvgName: repvg
DgName: data
bash-3.00# sh
# ls
downfloatip mountoracle umountoracle upfloatip vvrstate
# ./vvrstate
Replicated Data Set: repvg
Primary:
HostName: vvr440 <localhost>
RvgName: repvg
DgName: data
datavol_cnt: 1
srl: srl_vol
RLinks:
name=rlk_vvr240_repvg, detached=on, synchronous=off
Secondary:
HostName: vvr240
RvgName: repvg
DgName: data
datavol_cnt: 1
srl: srl_vol
RLinks:
name=rlk_vvr440_repvg, detached=on, synchronous=off
VxVM VVR vxrlink INFO V-5-1-3539 Rlink rlk_vvr240_repvg is not currently attached (STALE).
# bash
bash-3.00# vradmin -g data startrep repvg
VxVM VVR vradmin ERROR V-5-52-21 One of the options -a, -c, or -f must be used.
VxVM VVR vradmin INFO V-5-52-44
Usage: vradmin [-g diskgroup] {-a | -c checkpoint | -f} startrep rvg [sechost]
bash-3.00# vradmin -g data -a startrep repvg
Message from Primary:
VxVM VVR vxrlink WARNING V-5-1-3359 Attaching rlink to non-empty rvg. Autosync will be performed.
VxVM VVR vxrlink INFO V-5-1-3614 Secondary data volumes detected with rvg repvg as parent:
VxVM VVR vxrlink INFO V-5-1-6183 ora_vol1: len=314558464 primary_datavol=ora_vol1
VxVM VVR vxrlink INFO V-5-1-3365 Autosync operation has started
bash-3.00# sh
# ls
downfloatip mountoracle umountoracle upfloatip vvrstate
# ./vvrstate
Replicated Data Set: repvg
Primary:
HostName: vvr440 <localhost>
RvgName: repvg
DgName: data
datavol_cnt: 1
srl: srl_vol
RLinks:
name=rlk_vvr240_repvg, detached=off, synchronous=off
Secondary:
HostName: vvr240
RvgName: repvg
DgName: data
datavol_cnt: 1
srl: srl_vol
RLinks:
name=rlk_vvr440_repvg, detached=off, synchronous=off
Sat Jul 12 08:42:40 GMT 2008
VxVM VVR vxrlink INFO V-5-1-4464 Rlink rlk_vvr240_repvg is in AUTOSYNC. 157171040 Kbytes remaining.
VxVM VVR vxrlink INFO V-5-1-4464 Rlink rlk_vvr240_repvg is in AUTOSYNC. 157123680 Kbytes remaining.
VxVM VVR vxrlink INFO V-5-1-4464 Rlink rlk_vvr240_repvg is in AUTOSYNC. 157071840 Kbytes remaining.
评论