A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

How to find lun number in Solaris 10

Solaris 10: Find LUN id Step 1. Use format command to find your disk.

12. c4t60060480000190105493533033443843d0 /scsi_vhci/ssd@g60060480000190105493533033443843

Step 2. Find Logical Path of the disk

# luxadm probe|grep c4t60060480000190105493533033443843d0 Logical Path:/dev/rdsk/c4t60060480000190105493533033443843d0s2

Step 3. Get Device Address # luxadm display /dev/rdsk/c4t60060480000190105493533033443843d0s2 DEVICE PROPERTIES for disk: /dev/rdsk/c4t60060480000190105493533033443843d0s2 Vendor: EMC Product ID: SYMMETRIX Revision: 5773 Serial Num: […]

Create different layout volumes using vxassist command

The “vxassist” Utility

Syntax: vxassist –g diskgroup make volname length [attributes]

# vxassist –g datadg make vol1 50m

# vxassist –g datadg make vol1 50m datadg01

# vxassist –g datadg make vol1 500m layout=stripe

# vxassist –g datadg make vol1 500m layout=stripe stripeunit=64k

# vxassist –g datadg make vol1 200m layout=mirror disk01 disk02

veritas volume manager remove volumes

Syntax : vxassist –g diskgroup remove volume volname

Example One.

# vxassist –g oradg remove volume oravol1

Example Two.

# vxedit –rf rm oravol

The above command will complete remove all the underlying plexes and subdisks of the volume “oravol”

veritas volume manager – Add mirror volume

Syntax : vxassist –g diskgroup mirror volume_name

Example:

# vxassist –g oradg mirror oracle

The above command mirrors the oracle volume

# vxassist –g oradg mirror oracle oradg01

The above command mirrors oracle volume on to the disk oradg01

# vxmirror –g oradg –a

The above command mirrors all the unmirrored volumes in oradg

veritas volume manager remove volume

Syntax : vxassist –g remove volume

Example One.

# vxassist –g oradg remove volume oravol1

Example Two.

# vxedit –rf rm oravol

The above command will complete remove all the underlying plexes and subdisks of the volume “oravol”

Remove the disk/subdisk/plex from veritas volume manager

#vxplex -g appdg -o rm dis vol103-01

If the disk group is exported, then you can force bash-3.2# vxplex -g appdg -o rm -f dis vol121-01

#Remove disk from diskgroup vxdg -g appdg rmdisk appdg01

Dissociating and removing plexes When a plex is no longer needed, you can dissociate it from its volume and remove […]