You are on page 1of 3

Storage Foundation (ZZ)

1SAN,,SF
# vxdctl -f enable
# vxdisk -f scandisks
#vxdisk scandisks new
2, wwn():
# vxddladm listsupport
# vxddladm list hba1

3,SF,.
# vxdctl enable
4 ()
# vxddladm listsupport all
# vxddladm listsupport libname=libvxshark.so
5ASLVM()
1.

: vxping+
# /etc/vx/diag.d/vxdmpinq /dev/rdsk/c1t5006016930603AE5d2s4
Inquiry for /dev/rdsk/c1t5006016930603AE5d2s4, evpd 0x0, page code 0x0
Vendor id
: DGC
Product id
: RAID 5
Revision
: 0219
Serial Number
: 230000BDA7CL
2.

3.
A/A A/P A/PF
4.
JBOD
# vxddladm addjbod vid='RAID 5' pid=DGC
5.
VxVM
# vxdctl enable
6.

# vxddladm listjbod
VID
PID
Opcode Page Code Page Offset SNO length Policy
==========================================================================
SEAGATE ALL PIDs
18
-1
36
12 Disk
SUN
SESS01
18
-1
36
12 Disk
RAID 5 DGC
18
-1
36
12 Disk
7.
DMP
# vxdmpadm listenclosure all
ENCLR_NAME
ENCLR_TYPE
ENCLR_SNO
STATUS
ARRAY_TYPE
=============================================================
OTHER_DISKS
OTHER_DISKS
OTHER_DISKS
CONNECTED
CLR-A/PF
Disk
Disk
DISKS
CO
NNECTED
Disk
8.
DMP
# vxdmpadm getdmpnode enclosure=Disk
NAME
STATE
ENCLR-TYPE PATHS ENBL DSBL ENCLR-NAME
===========================================================
Disk_0
ENABLED
Disk
1
1
0
Disk
Disk_1
ENABLED
Disk
1
1
0
Disk
6JBOD()
# vxddladm rmjbod vid='RAID 5'
# vxddladm listjbod
VID
PID
Opcode Page Code Page Offset SNO length Policy
==========================================================================

SEAGATE ALL PIDs


SUN
SESS01

18
18

-1
-1

36
36

12 Disk
12 Disk

7disk,c0t0d0,.
# vxddladm set namingscheme=osn persistence=no
set namingscheme={ebn|gdn|osn}
Bases the name of a device on the enclosure name
(ebn), on the device name that is used by the
operating system (osn), or on Global Device Naming
(GDN) (gdn). The change is immediate, and does
not require vxconfigd to be restarted.
internname
# vxedit -g mydg rename mydg03 mydg02
8
1 vxdisk list
2
# vxdmpadm getsubpaths dmpnodename=c1t5006016130603AE5d6s2
# vxdisk list c1t5006016130603AE5d6s
3 disk
# rm /etc/vx/disk.info
4 vxconfigd
# vxconfigd Ck
9SF()
# vxddladm addforeign blockdir=/dev/foo/dsk chardir=/dev/foo/rdsk
10, share diskwwnlunid(,,WWN)
# /etc/vx/diag.d/vxwwnluid
11volume
# vxassist move -g sales_dg !mydg02
12 SFsolaris
1VxVMdiskvxdctl enable
# vxdisk rm c1t2d0s2
2solariswwnnwwpn
# luxadm disp /dev/rdsk/c1t2d0s2
3solaris
4# luxadm remove_device array_name,slot_number
# luxadm remove_device array_name,slot_number
5
# luxadm insert_device array_name,slot_number
6
# vxdiskconfig

13VxVMDMP5DMPfailover
14vxdisk listonline dgdisable
/opt/VRTS/bin/umount /dev/vx/dsk/*/*
/opt/VRTS/bin/fsck /dev/vx/dsk/*/*
dg deport
import
mountlayoutvxvol g dgname startall
# /opt/VRTS/bin/mount /dev/vx/dsk/sharedg/sharevol /mnt
UX:vxfs mount: ERROR: V-3-20003: Cannot open /dev/vx/dsk/sharedg/sharevol: No su
ch device or address
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

15DMP:
1
# vxdmpadm getdmpnode nodename=c3t2d1s2
2enclosure
# vxdmpadm getdmpnode enclosure=EMC_CLARiiON0 1
3LUN
# vxdmpadm getlungroup dmpnodename=c2t12d0s2
4
# vxdmpadm getsubpaths dmpnodename=c2t66d0s2
5
# vxdmpadm listctlr all
6
vxdmpadm getsubpaths ctlr=c1
7enclosure name
# vxdmpadm listenclosure enc0
8dmpio
# vxdmpadm iostat show all
9DMPio
# vxdmpadm getattr enclosure Disk iopolicy
10
DMP
# vxdmpadm getattr enclosure enc0 partitionsize
11
DMPio
# vxdmpadm setattr arrayname Disk iopolicy=singleactive
12
DMP
# vxdmpadm [-c|-f] disable enclosure=enclr_name portid=array_port_ID
# vxdmpadm [-c|-f] disable pwwn=array_port_WWN
13
DMP
# vxdmpadm enable enclosure=enclr_name portid=array_port_ID
# vxdmpadm [-f] enable pwwn=array_port_WWN
16, VxVM vxdg ERROR V-5-1-587 disk group groupname: import failed:
Disk is in use by another host
# vxdisk clearimport devicename
# vxdg -C import diskgroup
17, VxVM vxdg ERROR V-5-1-587 Disk group groupname: import failed:
Disk for disk group not found()
# vxdg -f import diskgroup
18
VxVM vxconfigd NOTICE V-5-0-33 Split Brain. da id is 0.1, while dm id is 0.0
VxVM vxdg ERROR V-5-1-587 Disk group newdg: import failed: Serial Split Brain
1# vxsplitlines -g newd

2# vxsplitlines -g newdg -c c2t6d0s2


3# vxdisk list c2t6d0s2 |grep disk:
id
4# /usr/sbin/vxdg -o selectcp=1045852127.32.olancha import newdg