bash-3.2# devfsadm
bash-3.2# vxddladm set namingscheme=osn
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c1t0d0s2 auto:cdsdisk d0 testdg online
c1t1d0s2 auto:cdsdisk d1 testdg online
c1t2d0s2 auto:cdsdisk d2 testdg online
c1t3d0s2 auto:cdsdisk d3 testdg online
c1t4d0s2 auto:none - - online invalid
bash-3.2# vxddladm set namingscheme=ebn
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk d0 testdg online
c1t1d0s2 auto:cdsdisk d1 testdg online
c1t2d0s2 auto:cdsdisk d2 testdg online
c1t3d0s2 auto:cdsdisk d3 testdg online
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# 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
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# pkginfo -l VRTSvxvm
PKGINST: VRTSvxvm
NAME: Binaries for VERITAS Volume Manager by Symantec
CATEGORY: system
ARCH: i386
VERSION: 5.1,REV=10.06.2009.21.48
BASEDIR: /
VENDOR: Symantec Corporation
DESC: Virtual Disk Subsystem
PSTAMP: Veritas-5.1
INSTDATE: Feb 17 2020 16:14
HOTLINE: http://www.symantec.com/business/support/assistance_care.jsp
STATUS: completely installed
FILES: 807 installed pathnames
37 shared pathnames
105 directories
349 executables
329628 blocks used (approx)
bash-3.2# ls -ld /etc/vx/bin
lrwxrwxrwx 1 root root 17 Feb 17 16:14 /etc/vx/bin -> /usr/lib/vxvm/bin
bash-3.2# ls -ld /opt/VRTS/bin
drwxr-xr-x 3 bin bin 4608 Feb 19 18:18 /opt/VRTS/bin
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2# vxdisksetup -i c1t0d0 format=cdsdisk
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdisksetup -i c1t1d0 format=sliced
bash-3.2#
bash-3.2#
bash-3.2# prtvtoc /dev/rdsk/c1t0d0s2
* /dev/rdsk/c1t0d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 48 sectors/track
* 64 tracks/cylinder
* 3072 sectors/cylinder
* 682 cylinders
* 680 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 2088960 2088959
7 15 01 0 2088960 2088959
8 1 01 0 3072 3071
bash-3.2# prtvtoc /dev/rdsk/c1t1d0s2
* /dev/rdsk/c1t1d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 48 sectors/track
* 64 tracks/cylinder
* 3072 sectors/cylinder
* 682 cylinders
* 680 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 2088960 2088959
3 15 01 3072 67584 70655
4 14 01 70656 2018304 2088959
8 1 01 0 3072 3071
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:sliced - - online
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdisksetup -i c1t2d0 format=simple
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:sliced - - online
c1t2d0s2 auto:simple - - online
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdg init tesdg c1t0d0 c1t1d0 c1t2d0
VxVM vxdg ERROR V-5-1-6478 Device c1t1d0 cannot be added to a CDS disk group
VxVM vxdg ERROR V-5-1-6478 Device c1t2d0 cannot be added to a CDS disk group
bash-3.2# vxdg list
NAME STATE ID
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:sliced - - online
c1t2d0s2 auto:simple - - online
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# prtvtoc /dev/rdsk/c1t2d0s2
* /dev/rdsk/c1t2d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 48 sectors/track
* 64 tracks/cylinder
* 3072 sectors/cylinder
* 682 cylinders
* 680 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 2088960 2088959
3 15 01 3072 2085888 2088959
8 1 01 0 3072 3071
bash-3.2# vxdiskunsetup -C c1t0d0
bash-3.2# vxdiskunsetup -C c1t1d0
bash-3.2# vxdiskunsetup -C c1t2d0
bash-3.2# 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
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdg init tempdg c1t0d0 c1t1d0 c1t2d0 c1t3d0
bash-3.2# vxdg list
NAME STATE ID
tempdg enabled,cds 1582798507.37.solaris10node1
bash-3.2# vxdg deport tempdg
bash-3.2# vxdisksetup -i c1t0d0
bash-3.2# vxdisk init c1t1d0
bash-3.2# vxdisk init c1t2d0
bash-3.2# vxdisk init c1t3d0
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:cdsdisk - - online
c1t2d0s2 auto:cdsdisk - - online
c1t3d0s2 auto:cdsdisk - - online
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - (tempdg) online
c1t1d0s2 auto:cdsdisk - (tempdg) online
c1t2d0s2 auto:cdsdisk - (tempdg) online
c1t3d0s2 auto:cdsdisk - (tempdg) online
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdg list
NAME STATE ID
newdg enabled,cds 1582798507.37.solaris10node1
bash-3.2# vxdg destroy newdg
bash-3.2# vxdg list
NAME STATE ID
bash-3.2# vxdg import 1582798507.37.solaris10node1
bash-3.2# vxdg list
NAME STATE ID
newdg enabled,cds 1582798507.37.solaris10node1
bash-3.2# vxdctl mode
mode: enabled
bash-3.2# vxdg init testdg d0=c1t0d0
bash-3.2# vxdg -g testdg adddisk d1=c1t1d0
bash-3.2# vxdg -g testdg adddisk d2=c1t2d0
bash-3.2# vxdg -g testdg adddisk d3=c1t3d0
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk d0 testdg online
c1t1d0s2 auto:cdsdisk d1 testdg online
c1t2d0s2 auto:cdsdisk d2 testdg online
c1t3d0s2 auto:cdsdisk d3 testdg online
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxmake -g testdg sd sd0 d0,0,100m
bash-3.2# vxprint -st
Disk group: testdg
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
sd sd0 conplex d0 0 204800 0 c1t0d0 ENA
bash-3.2# vxmake -g testdg plex conplex sd=sd0
bash-3.2# vxprint -pt
Disk group: testdg
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
pl conplex convol DISABLED EMPTY 204800 CONCAT - RW
bash-3.2# vxmake -g testdg vol convol plex=conplex
bash-3.2# vxprint -vt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
v convol - DISABLED EMPTY 204800 ROUND - gen
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v convol - DISABLED EMPTY 204800 ROUND - gen
pl conplex convol DISABLED EMPTY 204800 CONCAT - RW
sd sd0 conplex d0 0 204800 0 c1t0d0 ENA
bash-3.2# vxvol -g testdg start convol
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v convol - ENABLED ACTIVE 204800 ROUND - gen
pl conplex convol ENABLED ACTIVE 204800 CONCAT - RW
sd sd0 conplex d0 0 204800 0 c1t0d0 ENA
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/convol
version 7 layout
204800 sectors, 102400 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/convol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/convol
100M 2.1M 92M 3% /mnt
#umount /mnt
#vxvol -g testdg stopall
# vxedit -rfg testdg rm convol
# vxprint -hvt
bash-3.2# vxassist -g testdg make convol 100m
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v convol - ENABLED ACTIVE 204800 SELECT - fsgen
pl convol-01 convol ENABLED ACTIVE 204800 CONCAT - RW
sd d0-01 convol-01 d0 0 204800 0 c1t0d0 ENA
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/convol
version 7 layout
204800 sectors, 102400 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/convol /mnt
bash-3.2# umount /mnt
bash-3.2# vxassist -g testdg remove volume convol
bash-3.2#
bash-3.2# vxassist -g testdg make stripevol 100m ncol=4
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v stripevol - ENABLED ACTIVE 204800 SELECT stripevol-01 fsgen
pl stripevol-01 stripevol ENABLED ACTIVE 204800 STRIPE 4/128 RW
sd d0-01 stripevol-01 d0 0 51200 0/0 c1t0d0 ENA
sd d1-01 stripevol-01 d1 0 51200 1/0 c1t1d0 ENA
sd d2-01 stripevol-01 d2 0 51200 2/0 c1t2d0 ENA
sd d3-01 stripevol-01 d3 0 51200 3/0 c1t3d0 ENA
bash-3.2# vxedit -rfg testdg rm stripevol
bash-3.2# vxprint -hvt
bash-3.2#
bash-3.2# vxdctl defaultdg testdg
bash-3.2# vxdg defaultdg
testdg
bash-3.2# vxmake sd sd1 d0,0,100m
bash-3.2# vxmake sd sd2 d1,0,100m
bash-3.2# vxmake plex plex1 sd=sd1
bash-3.2# vxmake plex plex2 sd=sd2
bash-3.2# vxmake vol mirvol plex=plex1,plex2
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v mirvol - DISABLED EMPTY 204800 ROUND - gen
pl plex1 mirvol DISABLED EMPTY 204800 CONCAT - RW
sd sd1 plex1 d0 0 204800 0 c1t0d0 ENA
pl plex2 mirvol DISABLED EMPTY 204800 CONCAT - RW
sd sd2 plex2 d1 0 204800 0 c1t1d0 ENA
bash-3.2# vxvol start mirvol
bash-3.2# vxprint -ht
Disk group: testdg
DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME RVG KSTATE STATE NVOLUME
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
SR NAME KSTATE
dg testdg default default 29000 1582799814.49.solaris10node1
dm d0 c1t0d0s2 auto 65536 2023168 -
dm d1 c1t1d0s2 auto 65536 2023168 -
dm d2 c1t2d0s2 auto 65536 2023168 -
dm d3 c1t3d0s2 auto 65536 2023168 -
v mirvol - ENABLED ACTIVE 204800 ROUND - gen
pl plex1 mirvol ENABLED ACTIVE 204800 CONCAT - RW
sd sd1 plex1 d0 0 204800 0 c1t0d0 ENA
pl plex2 mirvol ENABLED ACTIVE 204800 CONCAT - RW
sd sd2 plex2 d1 0 204800 0 c1t1d0 ENA
bash-3.2# mkfs -F vxfs /dev/vx/rd
rdmp/ rdsk/
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/mirvol
version 7 layout
204800 sectors, 102400 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/mirvol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/mirvol
100M 2.1M 92M 3% /mnt
bash-3.2# vxassist -g testdg make mirvol 100m layout=mirror
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v mirvol - ENABLED ACTIVE 204800 SELECT - fsgen
pl mirvol-01 mirvol ENABLED ACTIVE 204800 CONCAT - RW
sd d0-01 mirvol-01 d0 0 204800 0 c1t0d0 ENA
pl mirvol-02 mirvol ENABLED ACTIVE 204800 CONCAT - RW
sd d1-01 mirvol-02 d1 0 204800 0 c1t1d0 ENA
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/mirvol
version 7 layout
204800 sectors, 102400 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/mirvol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/mirvol
100M 2.1M 92M 3% /mnt
RAID-5:
bash-3.2# vxmake sd sd1 d0,0,100m
bash-3.2# vxmake sd sd2 d1,0,100m
bash-3.2# vxmake sd sd3 d2,0,100m
bash-3.2# vxmake plex plex1 sd=sd1,sd2,sd3 layout=raid5 stwidth=64k
bash-3.2# vxmake -Uraid5 vol raid5vol plex=plex1
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v raid5vol - DISABLED EMPTY 409600 RAID - raid5
pl plex1 raid5vol DISABLED EMPTY 409600 RAID 3/128 RW
sd sd1 plex1 d0 0 204800 0/0 c1t0d0 ENA
sd sd2 plex1 d1 0 204800 1/0 c1t1d0 ENA
sd sd3 plex1 d2 0 204800 2/0 c1t2d0 ENA
bash-3.2# vxvol start raid5vol
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v raid5vol - ENABLED ACTIVE 409600 RAID - raid5
pl plex1 raid5vol ENABLED ACTIVE 409600 RAID 3/128 RW
sd sd1 plex1 d0 0 204800 0/0 c1t0d0 ENA
sd sd2 plex1 d1 0 204800 1/0 c1t1d0 ENA
sd sd3 plex1 d2 0 204800 2/0 c1t2d0 ENA
bash-3.2#
bash-3.2# vxprint -vt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
v raid5vol - ENABLED ACTIVE 409600 RAID - raid5
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/raid5vol
version 7 layout
409600 sectors, 204800 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/raid5vol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/raid5vol
200M 2.1M 186M 2% /mnt
bash-3.2# vxassist make raid5vol 300m layout=raid5
bash-3.2# vxprint -vt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
v raid5vol - ENABLED ACTIVE 614400 RAID - raid5
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v raid5vol - ENABLED ACTIVE 614400 RAID - raid5
pl raid5vol-01 raid5vol ENABLED ACTIVE 614400 RAID 3/32 RW
sd d0-01 raid5vol-01 d0 0 307200 0/0 c1t0d0 ENA
sd d1-01 raid5vol-01 d1 0 307200 1/0 c1t1d0 ENA
sd d2-01 raid5vol-01 d2 0 307200 2/0 c1t2d0 ENA
pl raid5vol-02 raid5vol ENABLED LOG 2880 CONCAT - RW
sd d3-01 raid5vol-02 d3 0 2880 0 c1t3d0 ENA
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/raid5vol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/raid5vol
300M 2.2M 279M 1% /mnt
bash-3.2# vxddladm set namingscheme=osn
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c1t0d0s2 auto:cdsdisk d0 testdg online
c1t1d0s2 auto:cdsdisk d1 testdg online
c1t2d0s2 auto:cdsdisk d2 testdg online
c1t3d0s2 auto:cdsdisk d3 testdg online
c1t4d0s2 auto:none - - online invalid
bash-3.2# vxddladm set namingscheme=ebn
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk d0 testdg online
c1t1d0s2 auto:cdsdisk d1 testdg online
c1t2d0s2 auto:cdsdisk d2 testdg online
c1t3d0s2 auto:cdsdisk d3 testdg online
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# 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
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# pkginfo -l VRTSvxvm
PKGINST: VRTSvxvm
NAME: Binaries for VERITAS Volume Manager by Symantec
CATEGORY: system
ARCH: i386
VERSION: 5.1,REV=10.06.2009.21.48
BASEDIR: /
VENDOR: Symantec Corporation
DESC: Virtual Disk Subsystem
PSTAMP: Veritas-5.1
INSTDATE: Feb 17 2020 16:14
HOTLINE: http://www.symantec.com/business/support/assistance_care.jsp
STATUS: completely installed
FILES: 807 installed pathnames
37 shared pathnames
105 directories
349 executables
329628 blocks used (approx)
bash-3.2# ls -ld /etc/vx/bin
lrwxrwxrwx 1 root root 17 Feb 17 16:14 /etc/vx/bin -> /usr/lib/vxvm/bin
bash-3.2# ls -ld /opt/VRTS/bin
drwxr-xr-x 3 bin bin 4608 Feb 19 18:18 /opt/VRTS/bin
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2# vxdisksetup -i c1t0d0 format=cdsdisk
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdisksetup -i c1t1d0 format=sliced
bash-3.2#
bash-3.2#
bash-3.2# prtvtoc /dev/rdsk/c1t0d0s2
* /dev/rdsk/c1t0d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 48 sectors/track
* 64 tracks/cylinder
* 3072 sectors/cylinder
* 682 cylinders
* 680 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 2088960 2088959
7 15 01 0 2088960 2088959
8 1 01 0 3072 3071
bash-3.2# prtvtoc /dev/rdsk/c1t1d0s2
* /dev/rdsk/c1t1d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 48 sectors/track
* 64 tracks/cylinder
* 3072 sectors/cylinder
* 682 cylinders
* 680 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 2088960 2088959
3 15 01 3072 67584 70655
4 14 01 70656 2018304 2088959
8 1 01 0 3072 3071
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:sliced - - online
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdisksetup -i c1t2d0 format=simple
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:sliced - - online
c1t2d0s2 auto:simple - - online
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdg init tesdg c1t0d0 c1t1d0 c1t2d0
VxVM vxdg ERROR V-5-1-6478 Device c1t1d0 cannot be added to a CDS disk group
VxVM vxdg ERROR V-5-1-6478 Device c1t2d0 cannot be added to a CDS disk group
bash-3.2# vxdg list
NAME STATE ID
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:sliced - - online
c1t2d0s2 auto:simple - - online
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# prtvtoc /dev/rdsk/c1t2d0s2
* /dev/rdsk/c1t2d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 48 sectors/track
* 64 tracks/cylinder
* 3072 sectors/cylinder
* 682 cylinders
* 680 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 01 0 2088960 2088959
3 15 01 3072 2085888 2088959
8 1 01 0 3072 3071
bash-3.2# vxdiskunsetup -C c1t0d0
bash-3.2# vxdiskunsetup -C c1t1d0
bash-3.2# vxdiskunsetup -C c1t2d0
bash-3.2# 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
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdg init tempdg c1t0d0 c1t1d0 c1t2d0 c1t3d0
bash-3.2# vxdg list
NAME STATE ID
tempdg enabled,cds 1582798507.37.solaris10node1
bash-3.2# vxdg deport tempdg
bash-3.2# vxdisksetup -i c1t0d0
bash-3.2# vxdisk init c1t1d0
bash-3.2# vxdisk init c1t2d0
bash-3.2# vxdisk init c1t3d0
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - - online
c1t1d0s2 auto:cdsdisk - - online
c1t2d0s2 auto:cdsdisk - - online
c1t3d0s2 auto:cdsdisk - - online
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk - (tempdg) online
c1t1d0s2 auto:cdsdisk - (tempdg) online
c1t2d0s2 auto:cdsdisk - (tempdg) online
c1t3d0s2 auto:cdsdisk - (tempdg) online
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxdg list
NAME STATE ID
newdg enabled,cds 1582798507.37.solaris10node1
bash-3.2# vxdg destroy newdg
bash-3.2# vxdg list
NAME STATE ID
bash-3.2# vxdg import 1582798507.37.solaris10node1
bash-3.2# vxdg list
NAME STATE ID
newdg enabled,cds 1582798507.37.solaris10node1
bash-3.2# vxdctl mode
mode: enabled
bash-3.2# vxdg init testdg d0=c1t0d0
bash-3.2# vxdg -g testdg adddisk d1=c1t1d0
bash-3.2# vxdg -g testdg adddisk d2=c1t2d0
bash-3.2# vxdg -g testdg adddisk d3=c1t3d0
bash-3.2# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:cdsdisk d0 testdg online
c1t1d0s2 auto:cdsdisk d1 testdg online
c1t2d0s2 auto:cdsdisk d2 testdg online
c1t3d0s2 auto:cdsdisk d3 testdg online
c1t4d0s2 auto:none - - online invalid
disk_0 auto:none - - online invalid
bash-3.2# vxmake -g testdg sd sd0 d0,0,100m
bash-3.2# vxprint -st
Disk group: testdg
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
sd sd0 conplex d0 0 204800 0 c1t0d0 ENA
bash-3.2# vxmake -g testdg plex conplex sd=sd0
bash-3.2# vxprint -pt
Disk group: testdg
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
pl conplex convol DISABLED EMPTY 204800 CONCAT - RW
bash-3.2# vxmake -g testdg vol convol plex=conplex
bash-3.2# vxprint -vt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
v convol - DISABLED EMPTY 204800 ROUND - gen
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v convol - DISABLED EMPTY 204800 ROUND - gen
pl conplex convol DISABLED EMPTY 204800 CONCAT - RW
sd sd0 conplex d0 0 204800 0 c1t0d0 ENA
bash-3.2# vxvol -g testdg start convol
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v convol - ENABLED ACTIVE 204800 ROUND - gen
pl conplex convol ENABLED ACTIVE 204800 CONCAT - RW
sd sd0 conplex d0 0 204800 0 c1t0d0 ENA
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/convol
version 7 layout
204800 sectors, 102400 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/convol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/convol
100M 2.1M 92M 3% /mnt
#umount /mnt
#vxvol -g testdg stopall
# vxedit -rfg testdg rm convol
# vxprint -hvt
bash-3.2# vxassist -g testdg make convol 100m
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v convol - ENABLED ACTIVE 204800 SELECT - fsgen
pl convol-01 convol ENABLED ACTIVE 204800 CONCAT - RW
sd d0-01 convol-01 d0 0 204800 0 c1t0d0 ENA
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/convol
version 7 layout
204800 sectors, 102400 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/convol /mnt
bash-3.2# umount /mnt
bash-3.2# vxassist -g testdg remove volume convol
bash-3.2#
bash-3.2# vxassist -g testdg make stripevol 100m ncol=4
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v stripevol - ENABLED ACTIVE 204800 SELECT stripevol-01 fsgen
pl stripevol-01 stripevol ENABLED ACTIVE 204800 STRIPE 4/128 RW
sd d0-01 stripevol-01 d0 0 51200 0/0 c1t0d0 ENA
sd d1-01 stripevol-01 d1 0 51200 1/0 c1t1d0 ENA
sd d2-01 stripevol-01 d2 0 51200 2/0 c1t2d0 ENA
sd d3-01 stripevol-01 d3 0 51200 3/0 c1t3d0 ENA
bash-3.2# vxedit -rfg testdg rm stripevol
bash-3.2# vxprint -hvt
bash-3.2#
bash-3.2# vxdctl defaultdg testdg
bash-3.2# vxdg defaultdg
testdg
bash-3.2# vxmake sd sd1 d0,0,100m
bash-3.2# vxmake sd sd2 d1,0,100m
bash-3.2# vxmake plex plex1 sd=sd1
bash-3.2# vxmake plex plex2 sd=sd2
bash-3.2# vxmake vol mirvol plex=plex1,plex2
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v mirvol - DISABLED EMPTY 204800 ROUND - gen
pl plex1 mirvol DISABLED EMPTY 204800 CONCAT - RW
sd sd1 plex1 d0 0 204800 0 c1t0d0 ENA
pl plex2 mirvol DISABLED EMPTY 204800 CONCAT - RW
sd sd2 plex2 d1 0 204800 0 c1t1d0 ENA
bash-3.2# vxvol start mirvol
bash-3.2# vxprint -ht
Disk group: testdg
DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME RVG KSTATE STATE NVOLUME
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
SR NAME KSTATE
dg testdg default default 29000 1582799814.49.solaris10node1
dm d0 c1t0d0s2 auto 65536 2023168 -
dm d1 c1t1d0s2 auto 65536 2023168 -
dm d2 c1t2d0s2 auto 65536 2023168 -
dm d3 c1t3d0s2 auto 65536 2023168 -
v mirvol - ENABLED ACTIVE 204800 ROUND - gen
pl plex1 mirvol ENABLED ACTIVE 204800 CONCAT - RW
sd sd1 plex1 d0 0 204800 0 c1t0d0 ENA
pl plex2 mirvol ENABLED ACTIVE 204800 CONCAT - RW
sd sd2 plex2 d1 0 204800 0 c1t1d0 ENA
bash-3.2# mkfs -F vxfs /dev/vx/rd
rdmp/ rdsk/
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/mirvol
version 7 layout
204800 sectors, 102400 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/mirvol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/mirvol
100M 2.1M 92M 3% /mnt
bash-3.2# vxassist -g testdg make mirvol 100m layout=mirror
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v mirvol - ENABLED ACTIVE 204800 SELECT - fsgen
pl mirvol-01 mirvol ENABLED ACTIVE 204800 CONCAT - RW
sd d0-01 mirvol-01 d0 0 204800 0 c1t0d0 ENA
pl mirvol-02 mirvol ENABLED ACTIVE 204800 CONCAT - RW
sd d1-01 mirvol-02 d1 0 204800 0 c1t1d0 ENA
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/mirvol
version 7 layout
204800 sectors, 102400 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/mirvol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/mirvol
100M 2.1M 92M 3% /mnt
RAID-5:
bash-3.2# vxmake sd sd1 d0,0,100m
bash-3.2# vxmake sd sd2 d1,0,100m
bash-3.2# vxmake sd sd3 d2,0,100m
bash-3.2# vxmake plex plex1 sd=sd1,sd2,sd3 layout=raid5 stwidth=64k
bash-3.2# vxmake -Uraid5 vol raid5vol plex=plex1
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v raid5vol - DISABLED EMPTY 409600 RAID - raid5
pl plex1 raid5vol DISABLED EMPTY 409600 RAID 3/128 RW
sd sd1 plex1 d0 0 204800 0/0 c1t0d0 ENA
sd sd2 plex1 d1 0 204800 1/0 c1t1d0 ENA
sd sd3 plex1 d2 0 204800 2/0 c1t2d0 ENA
bash-3.2# vxvol start raid5vol
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v raid5vol - ENABLED ACTIVE 409600 RAID - raid5
pl plex1 raid5vol ENABLED ACTIVE 409600 RAID 3/128 RW
sd sd1 plex1 d0 0 204800 0/0 c1t0d0 ENA
sd sd2 plex1 d1 0 204800 1/0 c1t1d0 ENA
sd sd3 plex1 d2 0 204800 2/0 c1t2d0 ENA
bash-3.2#
bash-3.2# vxprint -vt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
v raid5vol - ENABLED ACTIVE 409600 RAID - raid5
bash-3.2# mkfs -F vxfs /dev/vx/rdsk/testdg/raid5vol
version 7 layout
409600 sectors, 204800 blocks of size 1024, log size 1024 blocks
largefiles supported
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/raid5vol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/raid5vol
200M 2.1M 186M 2% /mnt
bash-3.2# vxassist make raid5vol 300m layout=raid5
bash-3.2# vxprint -vt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
v raid5vol - ENABLED ACTIVE 614400 RAID - raid5
bash-3.2# vxprint -hvt
Disk group: testdg
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
v raid5vol - ENABLED ACTIVE 614400 RAID - raid5
pl raid5vol-01 raid5vol ENABLED ACTIVE 614400 RAID 3/32 RW
sd d0-01 raid5vol-01 d0 0 307200 0/0 c1t0d0 ENA
sd d1-01 raid5vol-01 d1 0 307200 1/0 c1t1d0 ENA
sd d2-01 raid5vol-01 d2 0 307200 2/0 c1t2d0 ENA
pl raid5vol-02 raid5vol ENABLED LOG 2880 CONCAT - RW
sd d3-01 raid5vol-02 d3 0 2880 0 c1t3d0 ENA
bash-3.2# mount -F vxfs /dev/vx/dsk/testdg/raid5vol /mnt
bash-3.2# df -h /mnt
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/testdg/raid5vol
300M 2.2M 279M 1% /mnt
Hey this is awesome, you are spreading very informative blog, I am very happy to read this. Keep sharing
ReplyDeleteGermany VPS Hosting
This comment has been removed by the author.
ReplyDeleteThanks for a nice share you have given to us with such an large collection of information vxvm basics. Great work you have done by sharing them to all simply superb. if you want to know about server hosting or interested in best USA VPS Hosting you can ask us for more details and services. Get fast and secure hosting services with us.
ReplyDelete
ReplyDeleteyou always share some unique blogs for us but this time you share a blog on vxvm basics(vxdg,vxmake,concat,stripe,mirror,raid5) creation examples this is so helpful for us. If you want to know about server hosting or interested in best Italy VPS Hosting you can ask us for more details and services.