Friday, March 6, 2015

Home

VERITAS STORAGE FOUNDATION


 -  This website has been created for the purpose of learning veritas volume manager. Here, I have shown various examples including command outputs, which explain the result of executing various commands. Please navigate through the links and start learning. Have a good learning experience .....!!
    
This blog currently contains details about following points:

1. Installation of Veritas Storage Foundation
2. Disk Group Operations:-
            Disk Scanning
            List all the disks assigned to the system
            Disk Initialization (CDS & Sliced)
            List all the DGs in the system
            Create a cds type DG and adding cds initialized disks to it
            Deport & Import the DG
            Rename the DG
            Rename the disks
            Check the disk configuration & path details
            Check DG status (imported or deported)
            List down the disk with their DG & OS native name
            Remove the disk from the DG
            Uninitialization of disks
            Destroy the DG
            Import the DG forcefully
            Checking the host id of the disk
            Check the naming scheme used on the system and change it

3. Volume Operations:-
           Check the disks availability and corresponding DG name
           Check the details of DG
           Create a concatenated volume
           Create a mirrored volume
           Check the free space in the DG
           Create a striped volume
           Create a RAID-5 volume
           Create a stripe volume by specifying disks
           Create a mirror-stripe volume
           Create a max size stripe volume
           Remove volume
           Create a stripe-mirror volume
           Create a concat-mirror volume
           Remove volumes

4. File System Operations:-
          Create and mount the filesystems
5. Recovering from temporary disabled disk group
          Recovering from temporary disk failure
          Recovering from permanent disk failure
          Replacing physical drive with hot relocation
          Replacing physical drives without hot-relocation
          Recovering from temporary disk failure with vxattachd
          Understand spare disk behaviour

          . . . . . . . . . . . . .  to be updated with more posts...!!

Installing Veritas Storage Foundation

*Note: This post describes the procedure to install Veritas Storage Foundation on a linux system. The command outputs shown here may not exactly match with real system outputs and actual installation steps might vary with operating systems. For more details regarding operating system compatibility with veritas storage foundation product, please refer to https://sort.symantec.com/

==============================
/ * Open a terminal window * /
==============================

login as: root
root@195.233.2.12's password:
Last login: Thu Jan 26 10:05:45 2012
[root@server1 ~]#
[root@server1 ~]# uname -a
Linux server1 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
You have new mail in /var/spool/mail/root
[root@server1 ~]#

=================================================================================
/ * Navigate to the directory, on which Veritas Storage Foundation 6.0 installer is located * /
=================================================================================

[root@server1 ~]# cd /software/inst/sf60
[root@server1 sf60]# ls -l
total 1172
-rwxr-xr-x 1 root root 657308 Nov 29  2011 3rdpartyattributions.pdf
drwxrwxr-x 4 root root   4096 Nov 29  2011 cluster_server
-rw-r--r-- 1 root root    860 Nov 29  2011 copyright
drwxrwxr-x 4 root root   4096 Nov 29  2011 dynamic_multipathing
drwxrwxr-x 3 root root   4096 Nov 29  2011 file_system
-rwxr-xr-x 1 root root 415782 Nov 29  2011 getting_started.pdf
-rwxr-xr-x 1 root root   5292 Nov 28  2011 installer
drwxrwxr-x 4 root root   4096 Jun  7  2011 perl
-rw-r--r-- 1 root root  23957 Nov 29  2011 readme_first.txt
drwxrwxr-x 3 root root   4096 Nov 29  2011 rpms
drwxrwxr-x 7 root root   4096 Nov 29  2011 scripts
drwxrwxr-x 5 root root   4096 Nov 29  2011 storage_foundation
drwxrwxr-x 4 root root   4096 Nov 29  2011 storage_foundation_cluster_file_system_ha
drwxrwxr-x 5 root root   4096 Nov 29  2011 storage_foundation_for_oracle_rac
drwxrwxr-x 5 root root   4096 Nov 29  2011 storage_foundation_high_availability
drwxrwxr-x 4 root root   4096 Nov 29  2011 virtualstore
drwxrwxr-x 3 root root   4096 Nov 29  2011 volume_manager
-rwxr-xr-x 1 root root  18014 Nov 28  2011 webinstaller
drwxrwxr-x 2 root root   4096 Nov 29  2011 windows
drwxrwxr-x 4 root root   4096 Nov 28  2011 xprtl
[root@server1 sf60]#
[root@server1 sf60]# ls
3rdpartyattributions.pdf  scripts
cluster_server            storage_foundation
copyright                 storage_foundation_cluster_file_system_ha
dynamic_multipathing      storage_foundation_for_oracle_rac
file_system               storage_foundation_high_availability
getting_started.pdf       virtualstore
installer                 volume_manager
perl                      webinstaller
readme_first.txt          windows
rpms                      xprtl

==================================
/ * Start the installer script * /
==================================

[root@server1 sf60]# ./installer
Storage Foundation and High Availability Solutions 6.0 Install Program
Copyright (c) 2011 Symantec Corporation. All rights reserved.
Symantec, the Symantec Logo are trademarks or registered trademarks of
Symantec Corporation or its affiliates in the U.S. and other countries.
Other names may be trademarks of their respective owners.
The Licensed Software and Documentation are deemed to be "commercial
computer software" and "commercial computer software documentation" as
defined in FAR Sections 12.212 and DFARS Section 227.7202.
Logs are being written to /var/tmp/installer-201501270134Ueh while
installer is in progress.

Storage Foundation and High Availability Solutions 6.0 Install Program
Symantec Product                                   Version Installed
Licensed
================================================================================
Symantec Licensing Utilities (VRTSvlic) are not installed due to which
products and licenses are not discovered.
Use the menu below to continue.

Task Menu:
    P) Perform a Pre-Installation Check     I) Install a Product
    C) Configure an Installed Product       G) Upgrade a Product
    O) Perform a Post-Installation Check    U) Uninstall a Product
    L) License a Product                    S) Start a Product
    D) View Product Descriptions            X) Stop a Product
    R) View Product Requirements            ?) Help
Enter a Task: [P,I,C,G,O,U,L,S,D,X,R,?] I                           // <----- Select I for 'Install a Product'.

Storage Foundation and High Availability Solutions 6.0 Install Program
     1)  Veritas Dynamic Multi-Pathing (DMP)
     2)  Veritas Cluster Server (VCS)
     3)  Veritas Storage Foundation (SF)
     4)  Veritas Storage Foundation and High Availability (SFHA)
     5)  Veritas Storage Foundation Cluster File System HA (SFCFSHA)
     6)  Symantec VirtualStore (SVS)
     7)  Veritas Storage Foundation for Oracle RAC (SF Oracle RAC)
     b)  Back to previous menu
Select a product to install: [1-7,b,q] 3                            // <----- Select 3 for Storage Foundation (SF) option.
Do you agree with the terms of the End User License Agreement as
specified in the storage_foundation/EULA/en/EULA_SF_Ux_6.0.pdf file
present on media? [y,n,q,?] y                   // <----- Type y to agree to the terms of the End User License Agreement.

            Veritas Storage Foundation 6.0 Install Program
     1)  Install minimal required rpms - 248 MB required
     2)  Install recommended rpms - 483 MB required
     3)  Install all rpms - 484 MB required
     4)  Display rpms to be installed for each option
Select the rpms to be installed on all systems? [1-4,q,?] (2) 3               // <----- Type 3 for 'Install all rpms'.
Enter the 64 bit RHEL5 system names separated by spaces: [q,?] (server1) server1 server2         // <----- Server names on which the installation is needed.
                            
            Veritas Storage Foundation 6.0 Install Program
                               server1 server2
Logs are being written to /var/tmp/installer-201501270134Ueh while
installer is in progress
    Verifying systems: 100%
    Estimated time remaining: (mm:ss) 0:00                   8 of 8
    Checking system communication ............................ Done                       // <----- Verify that all these checks complete successfully.
    Checking release compatibility ........................... Done
    Checking installed product ............................... Done
    Checking prerequisite patches and rpms ................... Done
    Checking platform version ................................ Done
    Checking file system free space .......................... Done
    Checking product licensing ............................... Done
    Performing product prechecks ............................. Done
System verification checks completed successfully

            Veritas Storage Foundation 6.0 Install Program
                               server1 server2
The following Veritas Storage Foundation rpms will be installed on all
systems:
Rpm               Rpm Description
VRTSvlic          Veritas Licensing
VRTSperl          Veritas Perl 5.12.2 Redistribution
VRTSsfcpi60       Veritas Storage Foundation Installer
VRTSspt           Veritas Software Support Tools by Symantec
VRTSvxvm          Veritas Volume Manager Binaries
VRTSaslapm        Veritas Volume Manager - ASL/APM
VRTSob            Veritas Enterprise Administrator Service by Symantec
VRTSlvmconv       Veritas Linux LVM to VxVM Converter
VRTSvxfs          Veritas File System
VRTSfsadv         Veritas File System Advanced Solutions by Symantec
VRTSfssdk         Veritas File System Software Developer Kit
VRTSdbed          Veritas Storage Foundation Databases
VRTSodm           Veritas Oracle Disk Manager
Press [Enter] to continue:                                                  // <----- Press Enter here to continue   

            Veritas Storage Foundation 6.0 Install Program
                               server1 server2
Logs are being written to /var/tmp/installer-201501270134Ueh while
installer is in progress
    Installing SF: 100%
    Estimated time remaining: (mm:ss) 0:00                 15 of 15
    Performing SF preinstall tasks ........................... Done
    Installing VRTSvlic rpm .................................. Done
    Installing VRTSperl rpm .................................. Done
    Installing VRTSspt rpm ................................... Done
    Installing VRTSvxvm rpm .................................. Done
    Installing VRTSaslapm rpm ................................ Done
    Installing VRTSob rpm .................................... Done
    Installing VRTSlvmconv rpm ............................... Done
    Installing VRTSvxfs rpm .................................. Done
    Installing VRTSfsadv rpm ................................. Done
    Installing VRTSfssdk rpm ................................. Done
    Installing VRTSdbed rpm .................................. Done
    Installing VRTSodm rpm ................................... Done
    Installing VRTSsfcpi60 rpm ............................... Done
    Performing SF postinstall tasks .......................... Done
Veritas Storage Foundation Install completed successfully

            Veritas Storage Foundation 6.0 Install Program
                               server1 server2
To comply with the terms of Symantec's End User License Agreement, you
have 60 days to either:
 * Enter a valid license key matching the functionality in use on the
systems
 * Enable keyless licensing and manage the systems with a Management
Server. For more details visit http://go.symantec.com/sfhakeyless. The
product is fully functional during these 60 days.
     1)  Enter a valid license key
     2)  Enable keyless licensing and complete system licensing later
How would you like to license the systems? [1-2,q] (2) 2          // <----- Select 2 for the Enable keyless licensing and complete system licensing later option.

Checking system licensing
            Veritas Storage Foundation 6.0 Install Program
                               server1 server2
     1)  SF Standard
     2)  SF Enterprise   
     b)  Back to previous menu
Select product mode to license: [1-2,b,q,?] (2) 2                     // <----- Select 2 for SF Enterprise product mode to license.
Would you like to enable replication? [y,n,q] (n) n                   // <----- Type n to not enable replication.
Registering SF license

            Veritas Storage Foundation 6.0 Install Program
                               server1 server2
Logs are being written to /var/tmp/installer-201501270134Ueh while
installer is in progress
    Starting SF: 100%
    Estimated time remaining: (mm:ss) 0:00                 15 of 15
    Performing SF configuration .............................. Done
    Starting vxdmp ........................................... Done
    Starting vxio ............................................ Done
    Starting vxspec .......................................... Done
    Starting vxconfigd ....................................... Done
    Starting vxesd ........................................... Done
    Starting vxrelocd ........................................ Done
    Starting vxcached ........................................ Done
    Starting vxconfigbackupd ................................. Done
    Starting vxattachd ....................................... Done
    Starting vxportal ........................................ Done
    Starting fdd ............................................. Done
    Starting vxdbd ........................................... Done
    Starting vxodm ........................................... Done
    Performing SF poststart tasks ............................ Done
Veritas Storage Foundation Startup completed successfully

The updates to VRTSaslapm package are released via the Symantec SORT
web page: https://sort.symantec.com/asl. To make sure you have the
latest version of VRTSaslapm (for up to date ASLs and APMs), download
and install the latest package from the SORT web page.
Checking online updates for Veritas Storage Foundation 6.0
        Attempted to connect to https://sort.symantec.com to check for
product updates, but connection failed.
        Please visit https://sort.symantec.com to check for available
product updates and information.
installer log files, summary file, and response file are saved at:
        /opt/VRTS/install/logs/installer-201501270134Ueh
Would you like to view the summary file? [y,n,q] (n) n
[root@server1 sf60]#
[root@server1 sf60]#
[root@server1 sf60]# vxdg list
NAME         STATE           ID
[root@server1 sf60]# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:none       -            -            online invalid
emc1_dd2     auto:none       -            -            online invalid
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#

Disk Group Operations


=====================
/ * Disk Scanning * /
=====================


After the disks are visible on operating system, they should be made visible under veritas. Scan the disks on veritas level using below mentioned command:

vxdisk scandisks

In older version we may use below mentioned commands to scan new disks by restarting vxvm daemon.

vxdctl enable
OR
vxconfigd -k

To list all the disks assigned to the system:-
============================================

[root@server1 sf60]# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:none       -            -            online invalid
emc1_dd2     auto:none       -            -            online invalid
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:none       -            -            online invalid
emc1_dd2     auto:none       -            -            online invalid
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#


===========================
/ * Disk Initialization * /
===========================

1) Before veritas volume manager can use any disks, the disk media should be formatted using standard operating system command.
2) After the disks are formatted, disks should be initialized to take them under veritas control, so that veritas volume manager can use those disks.
3) When a disk is initialized, the public and private regions are created on the disk. default private region size is 32 MB.
4) Initialization removes any partition on the disk.
5) By default disks get listed using veritas commands as "online invalid" until they are initiazed.
6) There are 2 ways to initialize a disk:
     A) CDS (Cross Platform data sharing). It is default. This initialization type is not for boot disk.
     B) Sliced

 
Initialize disks with cds initialization type (default):
======================================================

[root@server1 sf60]# vxdisksetup -i emc1_dd1
[root@server1 sf60]# vxdisksetup -i emc1_dd2


To list down the disks again with their status:-
==============================================
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    -            -            online  <----- Initialized disk
emc1_dd2     auto:cdsdisk    -            -            online  <----- Initialized disk
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

Initialize disks with sliced initialization type:-
================================================

[root@server1 sf60]# vxdisksetup -i emc1_dd3 format=sliced
[root@server1 sf60]# vxdisksetup -i emc1_dd4 format=sliced

To list down the disks again with their status:-
==============================================

[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    -            -            online
emc1_dd2     auto:cdsdisk    -            -            online
emc1_dd3     auto:sliced     -            -            online
emc1_dd4     auto:sliced     -            -            online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid


==============================
/ * Disk Group Operations * /
==============================

  To list all the DGs in the system:-
=================================
[root@server1 sf60]# vxdg list
NAME         STATE           ID


Create a cds type DG and adding cds initialized disks to it:
===========================================================
* CDS type DG can contain only CDS initialized disks.
* CDS disks can be part of any type of DG.

[root@server1 sf60]# vxdg init dga dga01=emc1_dd1

  Add cds disks to the DG:
=======================
[root@server1 sf60]# vxdg -g dga adddisk dga02=emc1_dd2
[root@server1 sf60]#
[root@server1 sf60]#

To list down the disks again with their DGs:-
===========================================
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     -            -            online
emc1_dd4     auto:sliced     -            -            online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#

Add sliced disks to the DG:
==========================
* CDS type DG can contain only CDS initialized disk, whereas STANDARD DG can contain CDS initialized as well as sliced disks.
* Sliced disks can not be added to cds type DG. For that, we have to create a Standard DG with cds=off option.
[root@server1 sf60]# vxdg init dgb dgb01=emc1_dd3
VxVM vxdg ERROR V-5-1-6478 Device emc1_dd3 cannot be added to a CDS dis group
[root@server1 sf60]#

[root@server1 sf60]# vxdg init dgb dgb01=emc1_dd3 cds=off
[root@server1 sf60]# vxdg -g dgb adddisk dgb02=emc1_dd4

  To list down the disks again with their DGs:-
===========================================
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb01        dgb          online
emc1_dd4     auto:sliced     dgb02        dgb          online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#

  Deport the DG:
=============
[root@server1 sf60]# vxdg deport dga
[root@server1 sf60]#
[root@server1 sf60]# vxdg deport dgb
[root@server1 sf60]#

*Note: In this example, there are 2 servers, which are in cluster and same disks have been presented to both the servers, then this example shows the deporting and importing the DG in these systems.
Login to other system, in which the same disks have been assigned:

Check the status of DGs on second system (server2):
==================================================
[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    -            (dga)        online <----- Deported DGs are shown inside parenthesis
emc1_dd2     auto:cdsdisk    -            (dga)        online
emc1_dd3     auto:sliced     -            (dgb)        online
emc1_dd4     auto:sliced     -            (dgb)        online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

Import the DG on this second system:
===================================

[root@server2 ~]# vxdg import dga
[root@server2 ~]#
[root@server2 ~]#
[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     -            (dgb)        online
emc1_dd4     auto:sliced     -            (dgb)        online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

Import & Rename the other DG:
============================
[root@server2 ~]# vxdg -n dgb_new import dgb
[root@server2 ~]#
[root@server2 ~]#
[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb01        dgb_new      online
emc1_dd4     auto:sliced     dgb02        dgb_new      online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

Rename the disks:
================
[root@server2 ~]#
[root@server2 ~]#  vxedit -g dgb_new rename dgb01 dgb_new_01
[root@server2 ~]#  vxedit -g dgb_new rename dgb02 dgb_new_02
[root@server2 ~]#
[root@server2 ~]#
[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb_new_01   dgb_new      online
emc1_dd4     auto:sliced     dgb_new_02   dgb_new      online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

Check the disk configuration & path details:
===========================================
[root@server2 ~]# vxdisk list emc1_dd1
Device:    emc1_dd1
devicetag: emc1_dd1
type:      auto
hostid:    sym2
disk:      name=dga01 id=1422355608.17.sym1
group:     name=dga id=1422355818.23.sym1
info:      format=cdsdisk,privoffset=256,pubslice=3,privslice=3
flags:     online ready private autoconfig autoimport imported
pubpaths:  block=/dev/vx/dmp/emc1_dd1s3 char=/dev/vx/rdmp/emc1_dd1s3
guid:      {cb91baea-a611-11e4-b276-e2dbc7708609}
udid:      EMC%5FSYMMETRIX%5F313635323300%5FDD0DD1
site:      -
version:   3.1
iosize:    min=512 (bytes) max=1024 (blocks)
public:    slice=3 offset=65792 len=4120320 disk_offset=0
private:   slice=3 offset=256 len=65536 disk_offset=0
update:    time=1422356071 seqno=0.11
ssb:       actual_seqno=0.0
headers:   0 240
configs:   count=1 len=51360
logs:      count=1 len=4096
Defined regions:
 config   priv 000048-000239[000192]: copy=01 offset=000000 enabled
 config   priv 000256-051423[051168]: copy=01 offset=000192 enabled
 log      priv 051424-055519[004096]: copy=01 offset=000000 enabled
 lockrgn  priv 055520-055663[000144]: part=00 offset=000000
Multipathing information:
numpaths:   2
sdc             state=enabled
sdd             state=enabled
[root@server2 ~]#
[root@server2 ~]#
[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb_new_01   dgb_new      online
emc1_dd4     auto:sliced     dgb_new_02   dgb_new      online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

DG status on first system:
=========================

*Note: This will show the DG in deported stated on first server.

[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    -            (dga)        online
emc1_dd2     auto:cdsdisk    -            (dga)        online
emc1_dd3     auto:sliced     -            (dgb_new)    online
emc1_dd4     auto:sliced     -            (dgb_new)    online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#
[root@server2 ~]#

Deport the DG on second system:
==============================
[root@server2 ~]# vxdg deport dgb_new
[root@server2 ~]# vxdg deport dga
[root@server2 ~]#
[root@server2 ~]#

Import the DG on the first system and also rename a DG:
======================================================
[root@server1 sf60]# vxdg import dga
[root@server1 sf60]#
[root@server1 sf60]# vxdg -n dgb import dgb_new
[root@server1 sf60]#
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb_new_01   dgb          online
emc1_dd4     auto:sliced     dgb_new_02   dgb          online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#

Rename the disks:
================
[root@server1 sf60]# vxedit -g dgb rename dgb_new_01 dgb01
[root@server1 sf60]# vxedit -g dgb rename dgb_new_02 dgb02
[root@server1 sf60]#
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb01        dgb          online
emc1_dd4     auto:sliced     dgb02        dgb          online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#

Check the DG status on second system (they are deported):
========================================================

[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    -            (dga)        online
emc1_dd2     auto:cdsdisk    -            (dga)        online
emc1_dd3     auto:sliced     -            (dgb)        online
emc1_dd4     auto:sliced     -            (dgb)        online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server2 ~]#

List down the disk with their DG & OS native name:
=================================================
[root@server2 ~]# vxdisk -eo alldgs list
DEVICE       TYPE           DISK        GROUP        STATUS              OS_NATIVE_NAME   ATTR
emc1_dd1     auto:cdsdisk   -            (dga)       online              sdc              lun
emc1_dd2     auto:cdsdisk   -            (dga)       online              sde              lun
emc1_dd3     auto:sliced    -            (dgb)       online              sdg              lun
emc1_dd4     auto:sliced    -            (dgb)       online              sdi              lun
emc1_dd5     auto:none      -            -           online invalid      sdk              lun
emc1_dd6     auto:none      -            -           online invalid      sdm              lun
emc1_dd7     auto:none      -            -           online invalid      sdo              lun
emc1_dd8     auto:none      -            -           online invalid      sdq              lun
emc1_dd9     auto:none      -            -           online invalid      sdt              lun
emc1_d10     auto:none      -            -           online invalid      sdu              lun
emc1_d11     auto:none      -            -           online invalid      sdw              lun
emc1_d12     auto:none      -            -           online invalid      sdy              lun
sda          auto:none      -            -           online invalid      sda              -
sdb          auto:none      -            -           online invalid      sdb              -

List down the disks on server1:
==============================
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb01        dgb          online
emc1_dd4     auto:sliced     dgb02        dgb          online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#

Remove the disk from the DG:
===========================
[root@server1 sf60]# vxdg -g dgb rmdisk dgb02
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb01        dgb          online
emc1_dd4     auto:sliced     -            -            online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#

Uninitialize one sliced disk:-
============================
[root@server1 sf60]# vxdiskunsetup emc1_dd4
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb01        dgb          online
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#

Initialize that disk again with cds type and add it to CDS type DG:
===================================================================

[root@server1 sf60]# vxdisksetup -i emc1_dd4
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb01        dgb          online
emc1_dd4     auto:cdsdisk    -            -            online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#
[root@server1 sf60]# vxdg -g dgb adddisk emc1_dd4
[root@server1 sf60]#
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb01        dgb          online
emc1_dd4     auto:cdsdisk    emc1_dd4     dgb          online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

Rename the disk:
===============
[root@server1 sf60]# vxedit -g dgb rename emc1_dd4 dgb02
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     dgb01        dgb          online
emc1_dd4     auto:cdsdisk    dgb02        dgb          online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#

Destroy the DG:
==============
[root@server1 sf60]# vxdg destroy dgb
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:sliced     -            -            online
emc1_dd4     auto:cdsdisk    -            -            online
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

Uninitialize the disks:
======================
[root@server1 sf60]# vxdiskunsetup emc1_dd3
[root@server1 sf60]# vxdiskunsetup emc1_dd4
[root@server1 sf60]#
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#

Import the DG on second system:-
===============================
[root@server2 ~]# vxdg import dga
VxVM vxdg ERROR V-5-1-10978 Disk group dga: import failed:
Disk is in use by another host

*Note: DG is not deported on first system, so we got an error while importing it on another system:

  Import the DG forcefully on second system:-
=========================================
[root@server2 ~]#
[root@server2 ~]# vxdg -fC import dga
[root@server2 ~]#

[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

Now check the host ID of the disk on first system:-
=================================================
[root@server1 sf60]# vxdisk list emc1_dd2 | head -4
Device:    emc1_dd2
devicetag: emc1_dd2
type:      auto
hostid:    server1  <----- // It shows server1, even if the DG is imported on server2.

Try to destroy the DG on first system & check whether it succeeds:
=================================================================
[root@server1 sf60]# vxdg destroy dga
VxVM vxdg ERROR V-5-1-586 Disk group dga: deport failed: Disk private rgion contents are invalid
[root@server1 sf60]#
[root@server1 sf60]#

Deport the DG on second system:
==============================
[root@server2 ~]# vxdg deport dga
[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    -            (dga)        online
emc1_dd2     auto:cdsdisk    -            (dga)        online
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server2 ~]#

Try to destroy the DG on second system now:
==========================================
[root@server2 ~]# vxdg destroy dga
VxVM vxdg ERROR V-5-1-581 Disk group dga: No such disk group is imported

*Note: Before destroying, you need to firstly import the DG.

[root@server2 ~]#
[root@server2 ~]#
[root@server2 ~]# vxdg import dga
[root@server2 ~]#
[root@server2 ~]#
[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    dga01        dga          online
emc1_dd2     auto:cdsdisk    dga02        dga          online
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server2 ~]#
[root@server2 ~]#
[root@server2 ~]# vxdg destroy dga
[root@server2 ~]#
[root@server2 ~]#

Status on second system:
=======================
[root@server2 ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    -            -            online
emc1_dd2     auto:cdsdisk    -            -            online
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid

Status on first System:
======================
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:cdsdisk    -            -            online
emc1_dd2     auto:cdsdisk    -            -            online
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#

Uninitialize the disks:
======================
[root@server1 sf60]# vxdiskunsetup emc1_dd2
[root@server1 sf60]# vxdiskunsetup emc1_dd1
[root@server1 sf60]#
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:none       -            -            online invalid
emc1_dd2     auto:none       -            -            online invalid
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#
[root@server1 sf60]#

  =============================================================
/* Check the naming scheme used on the system and change it * /
=============================================================


[root@server1 sf60]# vxddladm get namingscheme
NAMING_SCHEME       PERSISTENCE    LOWERCASE      USE_AVID
============================================================
Enclosure Based     Yes            Yes            Yes


[root@server1 sf60]# vxddladm set namingscheme=osn

[root@server1 sf60]# vxddladm get namingscheme
NAMING_SCHEME       PERSISTENCE    LOWERCASE      USE_AVID
============================================================
OS Native           No             Yes            Yes

[root@server1 sf60]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
sdc          auto:none       -            -            online invalid
sde          auto:none       -            -            online invalid
sdg          auto:none       -            -            online invalid
sdi          auto:none       -            -            online invalid
sdk          auto:none       -            -            online invalid
sdm          auto:none       -            -            online invalid
sdo          auto:none       -            -            online invalid
sdq          auto:none       -            -            online invalid
sds          auto:none       -            -            online invalid
sdu          auto:none       -            -            online invalid
sdw          auto:none       -            -            online invalid
sdy          auto:none       -            -            online invalid
[root@server1 sf60]#
[root@server1 sf60]#
[root@server1 sf60]# vxddladm set namingscheme=ebn
[root@server1 sf60]#
[root@server1 sf60]# vxdisk -o alldgs list                                DEVICE       TYPE            DISK         GROUP        STATUS
emc1_dd1     auto:none       -            -            online invalid
emc1_dd2     auto:none       -            -            online invalid
emc1_dd3     auto:none       -            -            online invalid
emc1_dd4     auto:none       -            -            online invalid
emc1_dd5     auto:none       -            -            online invalid
emc1_dd6     auto:none       -            -            online invalid
emc1_dd7     auto:none       -            -            online invalid
emc1_dd8     auto:none       -            -            online invalid
emc1_dd9     auto:none       -            -            online invalid
emc1_d10     auto:none       -            -            online invalid
emc1_d11     auto:none       -            -            online invalid
emc1_d12     auto:none       -            -            online invalid
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid