Home / Syntax / vxdiskconfig syntax with example

vxdiskconfig syntax with example

VXDISKCONFIG – UnixArena’s Manual Page

/usr/sbin/vxdiskconfig – configure disk devices and bring them under VxVM control (Scanning newly detected hardware & building device node directory)

Example:

Disk Currently in control by VXVM

	DEVICE       TYPE            DISK         GROUP        STATUS
	c1t0d0s2     auto:sliced     rootdisk01   rootdg       online invalid
	c2t0d0s2     auto:sliced     rootdisk02   rootdg       online invalid

Disk’s newly attached to the system (format)

    AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <VMware,-VMware Virtual -1.0  cyl 2085 alt 2 hd 255 sec 63>
	  /pci@0,0/pci15ad,1976@10/sd@0,0
       1. c2t0d0 <VMware,-VMware Virtual -1.0  cyl 2085 alt 2 hd 255 sec 63>
	  /pci@0,0/pci15ad,790@11/pci15ad,1976@0/sd@0,0
       2. c3t1d0 <VMware,-VMwareVirtualS-1.0 cyl 43688 alt 2 hd 16 sec 3>
	  /pci@0,0/pci15ad,790@11/pci15ad,1976@1/sd@1,0
       3. c3t2d0 <VMware,-VMwareVirtualS-1.0 cyl 43688 alt 2 hd 16 sec 3>
	  /pci@0,0/pci15ad,790@11/pci15ad,1976@1/sd@2,0
       4. c3t3d0 <VMware,-VMwareVirtualS-1.0 cyl 43688 alt 2 hd 16 sec 3>
	  /pci@0,0/pci15ad,790@11/pci15ad,1976@1/sd@3,0
       5. c3t4d0 <VMware,-VMwareVirtualS-1.0 cyl 43688 alt 2 hd 16 sec 3>
	  /pci@0,0/pci15ad,790@11/pci15ad,1976@1/sd@4,0
       6. c3t5d0 <VMware,-VMwareVirtualS-1.0 cyl 43688 alt 2 hd 16 sec 3>
	  /pci@0,0/pci15ad,790@11/pci15ad,1976@1/sd@5,0
       7. c3t6d0 <VMware,-VMwareVirtualS-1.0 cyl 43688 alt 2 hd 16 sec 3>
	  /pci@0,0/pci15ad,790@11/pci15ad,1976@1/sd@6,0
       8. c4t9d0 
	  /iscsi/disk@0000iqn.2014-09.com.openfiler%3Asanvol05.809d5c9b352a0001,0
       9. c4t10d0 
	  /iscsi/disk@0000iqn.2014-09.com.openfiler%3Asanvol04.c41880f4e3640001,0
      10. c4t11d0 
	  /iscsi/disk@0000iqn.2014-09.com.openfiler%3Asanvol03.f9d0377915620001,0
      11. c4t12d0 
	  /iscsi/disk@0000iqn.2014-09.com.openfiler%3Asanvol02.2aba8574dbbf0001,0
      12. c4t13d0 
	  /iscsi/disk@0000iqn.2014-09.com.openfiler%3Asanvol01.7974045afa800001,0
      13. c4t14d0 
	  /iscsi/disk@0000iqn.2014-09.com.openfiler%3Adatavol01.ba80d08f20300001,0
      14. c4t15d0 
	  /iscsi/disk@0000iqn.2014-09.com.openfiler%3Asanvol01%3A01.7974045afa800001,0

Scanning newly detected hardware & building device node directory:

# vxdiskconfig
VxVM INFO V-5-2-1401 This command may take a few minutes to complete execution
Executing Solaris command: devfsadm (part 1 of 2) at 19:34:20 IST
Executing VxVM command: vxdctl enable (part 2 of 2) at 19:34:21 IST
Command completed at 19:34:23 IST

Verify Newly added disk in VxVM’s View

	DEVICE       TYPE            DISK         GROUP     STATUS
	c1t0d0s2     auto:sliced     rootdisk01   rootdg    online 
	c2t0d0s2     auto:sliced     rootdisk02   rootdg    online
	c3t1d0s2     auto:none    -            -            online invalid
	c3t2d0s2     auto:none    -            -            online invalid
	c3t3d0s2     auto:none    -            -            online invalid
	c3t4d0s2     auto:none    -            -            online invalid
	c3t5d0s2     auto:none    -            -            online invalid
	c3t6d0s2     auto:none    -            -            online invalid
	c4t9d0s2     auto:none    -            -            online invalid
	c4t10d0s2    auto:none    -            -            online invalid
	c4t11d0s2    auto:none    -            -            online invalid
	c4t12d0s2    auto:none    -            -            online invalid
	c4t13d0s2    auto:none    -            -            online invalid
	c4t14d0s2    auto:none    -            -            online invalid
Note: You can also check updated DMP node devices in ‘/dev/vx/dmp’ & ‘/dev/vx/rdmp’ directories.
VMTURBO-CLOUD-CAPACITY

Leave a Reply

Your email address will not be published. Required fields are marked *