VxVM 5.0- Replacing rootdisk from rootdg – failing with error "Disk public region is too small"

Error while adding  replaced disk to the root mirror

Solaris:/etc/vx/bin> vxdg -g rootdg -k adddisk rootdisk=c1t4d0s2

VxVM vxdg ERROR V-5-1-10127 associating disk-media rootdisk with c1t4d0s2:    Disk public region is too small

 

Resolution

Solaris :/etc/vx/bin> vxdisk list

  • DEVICE       TYPE            DISK         GROUP        STATUS
  • c1t4d0s2     auto:sliced     –            –            online                   replaced disk
  • c2t0d0s2     auto:none       –            –            online invalid
  • c2t1d0s2     auto:sliced     localdg01    localdg      online
  • c2t2d0s2     auto:sliced     rootmirror   rootdg       online nohotuse   existing root mirror
  • c2t3d0s2     auto:sliced     localdg02    localdg      online
  • c2t5d0s2     auto:sliced     –            –            online
  • c3t176d0s2   auto:sliced     loachdg73    loachdg      online
  • c3t176d1s2   auto:sliced     loachdg74    loachdg      online
  • c3t176d2s2   auto:sliced     loachdg75    loachdg      online
  • c3t176d3s2   auto:sliced     loachdg76    loachdg      online
  • c3t176d4s2   auto:sliced     loachdg77    loachdg      online
  • c3t176d5s2   auto:sliced     loachdg78    loachdg      online
  • c3t176d6s2   auto:sliced     loachdg79    loachdg      online
  • c3t176d7s2   auto:sliced     loachdg80    loachdg      online
  • c3t176d63s2  auto:sliced     loachdg61    loachdg      online
  • c3t176d64s2  auto:sliced     loachdg62    loachdg      online
  • c3t176d65s2  auto:sliced     loachdg63    loachdg      online
  • c3t176d66s2  auto:sliced     loachdg64    loachdg      online
  • c3t176d67s2  auto:sliced     loachdg65    loachdg      online
  • c3t176d68s2  auto:sliced     loachdg66    loachdg      online
  • c3t176d69s2  auto:sliced     loachdg67    loachdg      online
  • c3t176d70s2  auto:sliced     loachdg68    loachdg      online
  • c3t176d71s2  auto:sliced     loachdg69    loachdg      online
  • c3t176d72s2  auto:sliced     loachdg70    loachdg      online
  • c3t176d73s2  auto:sliced     loachdg71    loachdg      online
  • c3t176d74s2  auto:sliced     loachdg72    loachdg      online
  • c3t176d75s2  auto:sliced     loachdg26    loachdg      online
  • c3t176d76s2  auto:sliced     loachdg27    loachdg      online
  • c3t176d77s2  auto:sliced     loachdg28    loachdg      online
  • c3t176d78s2  auto:sliced     loachdg29    loachdg      online
  • c3t176d79s2  auto:sliced     loachdg30    loachdg      online
  • c3t176d80s2  auto:sliced     loachdg31    loachdg      online
  • c3t176d81s2  auto:sliced     loachdg32    loachdg      online
  • c3t176d82s2  auto:sliced     loachdg33    loachdg      online
  • c3t176d83s2  auto:sliced     loachdg34    loachdg      online
  • c3t176d84s2  auto:sliced     loachdg35    loachdg      online
  • c3t176d85s2  auto:sliced     loachdg36    loachdg      online
  • c3t176d86s2  auto:sliced     loachdg37    loachdg      online
  • c3t176d87s2  auto:sliced     loachdg38    loachdg      online
  • c3t176d88s2  auto:sliced     loachdg39    loachdg      online
  • c3t176d89s2  auto:sliced     loachdg40    loachdg      online
  • c3t176d90s2  auto:sliced     loachdg41    loachdg      online
  • c3t176d91s2  auto:sliced     loachdg42    loachdg      online
  • c3t176d92s2  auto:sliced     loachdg43    loachdg      online
  • c3t176d93s2  auto:sliced     loachdg44    loachdg      online
  • c3t176d94s2  auto:sliced     loachdg45    loachdg      online
  • c3t176d95s2  auto:sliced     loachdg46    loachdg      online
  • c3t176d96s2  auto:sliced     loachdg47    loachdg      online
  • c3t176d97s2  auto:sliced     loachdg48    loachdg      online
  • c3t176d98s2  auto:sliced     loachdg49    loachdg      online
  • c3t176d99s2  auto:sliced     loachdg50    loachdg      online
  • c3t176d100s2 auto:sliced     loachdg01    loachdg      online
  • c3t176d101s2 auto:sliced     loachdg02    loachdg      online
  • c3t176d102s2 auto:sliced     loachdg03    loachdg      online
  • c3t176d103s2 auto:sliced     loachdg04    loachdg      online
  • c3t176d104s2 auto:sliced     loachdg05    loachdg      online
  • c3t176d105s2 auto:sliced     loachdg06    loachdg      online
  • c3t176d106s2 auto:sliced     loachdg07    loachdg      online
  • c3t176d107s2 auto:sliced     loachdg08    loachdg      online
  • c3t176d108s2 auto:sliced     loachdg09    loachdg      online
  • c3t176d109s2 auto:sliced     loachdg10    loachdg      online
  • c3t176d110s2 auto:sliced     loachdg11    loachdg      online
  • c3t176d111s2 auto:sliced     loachdg12    loachdg      online
  • c3t176d112s2 auto:sliced     loachdg13    loachdg      online
  • c3t176d113s2 auto:sliced     loachdg14    loachdg      online
  • c3t176d114s2 auto:sliced     loachdg15    loachdg      online
  • c3t176d115s2 auto:sliced     loachdg16    loachdg      online
  • c3t176d116s2 auto:sliced     loachdg17    loachdg      online
  • c3t176d117s2 auto:sliced     loachdg18    loachdg      online
  • c3t176d118s2 auto:sliced     loachdg19    loachdg      online
  • c3t176d119s2 auto:sliced     loachdg20    loachdg      online
  • c3t176d120s2 auto:sliced     loachdg21    loachdg      online
  • c3t176d121s2 auto:sliced     loachdg22    loachdg      online
  • c3t176d122s2 auto:sliced     loachdg23    loachdg      online
  • c3t176d123s2 auto:sliced     loachdg24    loachdg      online
  • c3t176d124s2 auto:sliced     loachdg25    loachdg      online
  • c3t176d125s2 auto:sliced     loachdg51    loachdg      online
  • c3t176d126s2 auto:sliced     loachdg52    loachdg      online
  • c3t176d127s2 auto:sliced     loachdg53    loachdg      online
  • c3t176d128s2 auto:sliced     loachdg54    loachdg      online
  • c3t176d129s2 auto:sliced     loachdg55    loachdg      online
  • c3t176d130s2 auto:sliced     loachdg56    loachdg      online
  • c3t176d131s2 auto:sliced     loachdg57    loachdg      online
  • c3t176d132s2 auto:sliced     loachdg58    loachdg      online
  • c3t176d133s2 auto:sliced     loachdg59    loachdg      online
  • c3t176d134s2 auto:sliced     loachdg60    loachdg      online
  • –     – rootdisk     rootdg       removed was:c2t4d0s2  removed disk before maintenance

Note:  Server model is V880 – and internal disks connected with dual path and the failed disk is having two path names – c1t4d0s2 and c2t4dos2. Before replacement veritas used the name c2t4d0s2 , and after disk replacement new disk added with the name c1t4d0s2

 

 Solaris:/etc/vx/bin> vxdiskadm

 Volume Manager Support Operations

 
  • Menu: VolumeManager/Disk
  •  
  •  1      Add or initialize one or more disks
  •  2      Encapsulate one or more disks
  •  3      Remove a disk
  •  4      Remove a disk for replacement
  •  5      Replace a failed or removed disk
  •  6      Mirror volumes on a disk
  •  7      Move volumes from a disk
  •  8      Enable access to (import) a disk group
  •  9      Remove access to (deport) a disk group
  •  10     Enable (online) a disk device
  •  11     Disable (offline) a disk device
  •  12     Mark a disk as a spare for a disk group
  •  13     Turn off the spare flag on a disk
  •  14     Unrelocate subdisks back to a disk
  •  15     Exclude a disk from hot-relocation use
  •  16     Make a disk available for hot-relocation use
  •  17     Prevent multipathing/Suppress devices from VxVM’s view
  •  18     Allow multipathing/Unsuppress devices from VxVM’s view
  •  19     List currently suppressed/non-multipathed devices
  •  20     Change the disk naming scheme
  •  21     Get the newly connected/zoned disks in VxVM view
  •  22     Change/Display the default disk layouts
  •  23     Mark a disk as allocator-reserved for a disk group
  •  24     Turn off the allocator-reserved flag on a disk
  •  list   List disk information
  •  
  •  ?      Display help about menu
  •  ??     Display help about the menuing system
  •  q      Exit from menus
  •  
  • Select an operation to perform: 5
  • Replace a failed or removed disk
  • Menu: VolumeManager/Disk/ReplaceDisk
  •  Use this menu operation to specify a replacement disk for a disk   that you removed with the “Remove a disk for replacement” menu   operation, or that failed during use.  You will be prompted for   a disk name to replace and a disk device to use as a replacement.   You can choose an uninitialized disk, in which case the disk will   be initialized, or you can choose a disk that you have already   initialized using the Add or initialize a disk menu operation.
  •  Select a removed or failed disk [,list,q,?] rootdisk
  •   The following devices are available as replacements:

  c1t4d0 c2t5d0

  •  You can choose one of these devices to replace rootdisk. Choose “none” to initialize another device to replace rootdisk.

Choose a device, or select “none”

  • [,none,q,?] (default: c1t4d0)
  •   VxVM  INFO V-5-2-382
  • The requested operation is to use the initialized device c1t4d0   to replace the removed or failed disk rootdisk in disk group rootdg.
  •  Continue with operation? [y,n,q,?] (default: y)
  •  Use FMR for plex resync? [y,n,q,?] (default: n)

 VxVM  ERROR V-5-2-281  Replacement of disk rootdisk in group rootdg with device c1t4d0   failed. 

 VxVM vxdg ERROR V-5-1-10127 associating disk-media rootdisk with c1t4d0s2:   Disk public region is too small

  •  Replace a different disk? [y,n,q,?] (default: n) n

===================================================================

 Solaris:/etc/vx/bin> vxdg -g rootdg -k adddisk rootdisk=c1t4d0s2 < == Trying command mode to adddisk

VxVM vxdg ERROR V-5-1-10127 associating disk-media rootdisk with c1t4d0s2:    Disk public region is too small

 #################################################################

Below commands shows both the disks having different private region length, and it fails to add to root mirror

##################################################################

 Solaris:/etc/vx/bin> prtvtoc /dev/rdsk/c1t4d0s2   replaced disk

  • * /dev/rdsk/c1t4d0s2 partition map
  • *
  • * Dimensions:
  • *     512 bytes/sector
  • *     424 sectors/track
  • *      24 tracks/cylinder
  • *   10176 sectors/cylinder
  • *   14089 cylinders
  • *   14087 accessible cylinders
  • *
  • * Flags:
  • *   1: unmountable
  • *  10: read-only
  • *
  • *                          First     Sector    Last
  • * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
  •        2      5    01          0 143349312 143349311
  •        3     15    01          0     71232     71231  
  •        4     14    01      71232 143278080 143349311

Solaris:/etc/vx/bin> prtvtoc /dev/rdsk/c2t2d0s2  ç existing rootmirror disk

  • * /dev/rdsk/c2t2d0s2 partition map
  • *
  • * Dimensions:
  • *     512 bytes/sector
  • *     424 sectors/track
  • *      24 tracks/cylinder
  • *   10176 sectors/cylinder
  • *   14089 cylinders
  • *   14087 accessible cylinders
  • *
  • * Flags:
  • *   1: unmountable
  • *  10: read-only
  • *
  • * Unallocated space:
  • *       First     Sector    Last
  • *       Sector     Count    Sector
  • *   124483008 4170494464     10175
  • *   143349312 4276100992 124483007
  • *
  • *                          First     Sector    Last
  • * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
  •        0      2    00      10176 124472832 124483007
  •        1      3    01  124483008  18866304 143349311
  •        2      5    01          0 143349312 143349311
  •        3     15    01          0     10176     10175     

#######################################################

Reinitialising new disk with specific Private region to match existing rootmirror disk

######################################################

 Solaris:/etc/vx/bin> ./vxdisksetup -i c1t4d0 format=sliced privlen=10176 noreserve

 Solaris:/etc/vx/bin> prtvtoc /dev/rdsk/c1t4d0s2

  • * /dev/rdsk/c1t4d0s2 partition map
  • *
  • * Dimensions:
  • *     512 bytes/sector
  • *     424 sectors/track
  • *      24 tracks/cylinder
  • *   10176 sectors/cylinder
  • *   14089 cylinders
  • *   14087 accessible cylinders
  • *
  • * Flags:
  • *   1: unmountable
  • *  10: read-only
  • *
  • *                          First     Sector    Last
  • * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
  •        2      5    01          0 143349312 143349311
  •        3     15    01          0     10176     10175      
  •        4     14    01      10176 143339136 143349311

Solaris:/etc/vx/bin> prtvtoc /dev/rdsk/c2t2d0s2

  • * /dev/rdsk/c2t2d0s2 partition map
  • *
  • * Dimensions:
  • *     512 bytes/sector
  • *     424 sectors/track
  • *      24 tracks/cylinder
  • *   10176 sectors/cylinder
  • *   14089 cylinders
  • *   14087 accessible cylinders
  • *
  • * Flags:
  • *   1: unmountable
  • *  10: read-only
  • *
  • * Unallocated space:
  • *       First     Sector    Last
  • *       Sector     Count    Sector
  • *   124483008 4170494464     10175
  • *   143349312 4276100992 124483007
  • *
  • *                          First     Sector    Last
  • * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
  •        0      2    00      10176 124472832 124483007
  •        1      3    01  124483008  18866304 143349311
  •        2      5    01          0 143349312 143349311
  •        3     15    01          0     10176     10175
  •        4     14    01      10176 143339136 143349311

Solaris:/etc/vx/bin> vxdg -g rootdg -k adddisk rootdisk=c1t4d0s2

VxVM vxdg ERROR V-5-1-10127 associating disk-media rootdisk with c1t4d0s2:         Disk public region is too small

  ==>   Still error persists, and suspecting rootdg configuration in veritas and proceeding to remove old references related the failed disk from the rootdg.

 Solaris:/etc/vx/bin> vxprint –qhtg rootdg

  • Disk group: rootdg
  •  
  • TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
  • dg rootdg       rootdg       –        –        –        –        –       –
  •  
  • dm rootdisk     –            –        –        –        REMOVED  –       –
  • dm rootmirror   c2t2d0s2     –        143339136 –       NOHOTUSE –       –
  •  
  • v  rootvol      root         ENABLED  124472832 –       ACTIVE   –       –
  • pl rootvol-01   rootvol      DISABLED 124472832 –       REMOVED  –       –
  • sd rootdisk-B0  rootvol-01   DISABLED 1        0        REMOVED  –       Block0
  • sd rootdisk-02  rootvol-01   DISABLED 124472831 1       REMOVED  –       –
  • pl rootvol-02   rootvol      ENABLED  124472832 –       ACTIVE   –       –
  • sd disk01-01    rootvol-02   ENABLED  124472832 0       –        –       –
  •  
  • v  swapvol      swap         ENABLED  18866304 –        ACTIVE   –       –
  • pl swapvol-01   swapvol      DISABLED 18866304 –        REMOVED  –       –
  • sd rootdisk-01  swapvol-01   DISABLED 18866304 0        REMOVED  –       –
  • pl swapvol-02   swapvol      ENABLED  18866304 –        ACTIVE   –       –
  • sd rootmirror-01 swapvol-02  ENABLED  18866304 0        –        –       –

 Solaris:/etc/vx/bin> vxassist -g rootdg remove mirror rootvol !rootdisk

Solaris:/etc/vx/bin> vxassist -g rootdg remove mirror swapvol !rootdisk

  •  Solaris:/etc/vx/bin> vxprint -qhtg rootdg
  • dg rootdg       default      default  0        1064610741.1025.Solaris
  •  
  • dm rootdisk     –            –        –        –        REMOVED
  • dm rootmirror   c2t2d0s2     auto     10175    143339136 NOHOTUSE
  •  
  • v  rootvol      –            ENABLED  ACTIVE   124472832 ROUND    –        root
  • pl rootvol-02   rootvol      ENABLED  ACTIVE   124472832 CONCAT   –        RW
  • sd disk01-01    rootvol-02   rootmirror 0      124472832 0        c2t2d0   ENA
  •  
  • v  swapvol      –            ENABLED  ACTIVE   18866304 ROUND     –        swap
  • pl swapvol-02   swapvol      ENABLED  ACTIVE   18866304 CONCAT    –        RW
  • sd rootmirror-01 swapvol-02  rootmirror 124472832 18866304 0      c2t2d0   ENA

Solaris:/etc/vx/bin> vxdg -g rootdg rmdisk rootdisk

Solaris:/etc/vx/bin> vxprint -qhtg rootdg

  • dg rootdg       default      default  0        1064610741.1025.Solaris
  •  
  • dm rootmirror   c2t2d0s2     auto     10175    143339136 NOHOTUSE
  •  
  • v  rootvol      –            ENABLED  ACTIVE   124472832 ROUND    –        root
  • pl rootvol-02   rootvol      ENABLED  ACTIVE   124472832 CONCAT   –        RW
  • sd disk01-01    rootvol-02   rootmirror 0      124472832 0        c2t2d0   ENA
  •  
  • v  swapvol      –            ENABLED  ACTIVE   18866304 ROUND     –        swap
  • pl swapvol-02   swapvol      ENABLED  ACTIVE   18866304 CONCAT    –        RW
  • sd rootmirror-01 swapvol-02  rootmirror 124472832 18866304 0      c2t2d0   ENA

 

 Solaris:/etc/vx/bin> vxdg -g rootdg -k adddisk rootdisk=c1t4d0s2

 VxVM vxdg ERROR V-5-1-555 Disk rootdisk not found in configuration

 Solaris:/etc/vx/bin> vxdg -g rootdg adddisk rootdisk=c1t4d0s2 

Solaris:/etc/vx/bin> vxprint -qhtg rootdg

  • dg rootdg       default      default  0        1064610741.1025.Solaris
  •  
  • dm rootdisk     c1t4d0s2     auto     10175    143339136 –
  • dm rootmirror   c2t2d0s2     auto     10175    143339136 NOHOTUSE
  •  
  • v  rootvol      –            ENABLED  ACTIVE   124472832 ROUND    –        root
  • pl rootvol-02   rootvol      ENABLED  ACTIVE   124472832 CONCAT   –        RW
  • sd disk01-01    rootvol-02   rootmirror 0      124472832 0        c2t2d0   ENA
  •  
  • v  swapvol      –            ENABLED  ACTIVE   18866304 ROUND     –        swap
  • pl swapvol-02   swapvol      ENABLED  ACTIVE   18866304 CONCAT    –        RW
  • sd rootmirror-01 swapvol-02  rootmirror 124472832 18866304 0      c2t2d0   ENA

Solaris:/etc/vx/bin> vxdiskadm

  •  Volume Manager Support Operations
  • Menu: VolumeManager/Disk
  •  
  •  1      Add or initialize one or more disks
  •  2      Encapsulate one or more disks
  •  3      Remove a disk
  •  4      Remove a disk for replacement
  •  5      Replace a failed or removed disk
  •  6      Mirror volumes on a disk
  •  7      Move volumes from a disk
  •  8      Enable access to (import) a disk group
  •  9      Remove access to (deport) a disk group
  •  10     Enable (online) a disk device
  •  11     Disable (offline) a disk device
  •  12     Mark a disk as a spare for a disk group
  •  13     Turn off the spare flag on a disk
  •  14     Unrelocate subdisks back to a disk
  •  15     Exclude a disk from hot-relocation use
  •  16     Make a disk available for hot-relocation use
  •  17     Prevent multipathing/Suppress devices from VxVM’s view
  •  18     Allow multipathing/Unsuppress devices from VxVM’s view
  •  19     List currently suppressed/non-multipathed devices
  •  20     Change the disk naming scheme
  •  21     Get the newly connected/zoned disks in VxVM view
  •  22     Change/Display the default disk layouts
  •  23     Mark a disk as allocator-reserved for a disk group
  •  24     Turn off the allocator-reserved flag on a disk
  •  list   List disk information

  ?      Display help about menu

  •  ??     Display help about the menuing system
  •  q      Exit from menus

Select an operation to perform: 6

  •  
  • Mirror volumes on a disk
  • Menu: VolumeManager/Disk/Mirror
  •   This operation can be used to mirror volumes on a disk.  These   volumes can be be mirrored onto another disk or onto any   available disk space.  Volumes will not be mirrored if they are   already mirrored.  Also, volumes that are comprised of more than   one subdisk will not be mirrored.
  •  
  •   Mirroring volumes from the boot disk will produce a disk that   can be used as an alternate boot disk.
  •  
  •   At the prompt below, supply the name of the disk containing the   volumes to be mirrored.
  •  
  • Enter disk name [,list,q,?] rootmirror
  •   You can choose to mirror volumes from disk rootmirror onto any   available disk space, or you can choose to mirror onto a specific   disk.  To mirror to a specific disk, select the name of that disk.   To mirror to any available disk space, select “any”.
  •  
  • Enter destination disk [,list,q,?] (default: any) rootdisk  

The requested operation is to mirror all volumes on disk rootmirror   in disk group rootdg onto available disk space on disk rootdisk.  VxVM  NOTICE V-5-2-3650 This operation can take a long time to complete.

Continue with operation? [y,n,q,?] (default: y)

VxVM vxmirror INFO V-5-2-22   Mirror volume rootvol …
VxVM vxmirror INFO V-5-2-22   Mirror volume swapvol …

            VxVM  INFO V-5-2-674 Mirroring of disk rootmirror is complete.

              Mirror volumes on another disk? [y,n,q,?] (default: n) n

  ==========================

Below command Running in the second window

Powerprod# vxtask -l list

  • Task:      166 RUNNING
  • Type:      ATCOPY
  • Operation: PLXATT Vol rootvol Plex rootvol-01 Dg rootdg
  • Started:   Sun Mar 06 01:20:23 2011
  • Throttle:  0
  • Progress:  78.31% 97474560 of 124472832 Blocks
  • Work time: 28 minutes, 30 seconds (07:53 remaining)

===========

Solaris:/etc/vx/bin> vxprint -qthg rootdg
dg rootdg       default      default  0        1064610741.1025.powerprod

dm rootdisk     c1t4d0s2     auto     10175    143339136 –
dm rootmirror   c2t2d0s2     auto     10175    143339136 NOHOTUSE

v  rootvol      –            ENABLED  ACTIVE   124472832 ROUND    –        root
pl rootvol-01   rootvol      ENABLED  ACTIVE   124472832 CONCAT   –        RW
sd rootdisk-01  rootvol-01   rootdisk 0        124472832 0        c1t4d0   ENA
pl rootvol-02   rootvol      ENABLED  ACTIVE   124472832 CONCAT   –        RW
sd disk01-01    rootvol-02   rootmirror 0      124472832 0        c2t2d0   ENA

v  swapvol      –            ENABLED  ACTIVE   18866304 ROUND     –        swap
pl swapvol-01   swapvol      ENABLED  ACTIVE   18866304 CONCAT    –        RW
sd rootdisk-02  swapvol-01   rootdisk 124472832 18866304 0        c1t4d0   ENA
pl swapvol-02   swapvol      ENABLED  ACTIVE   18866304 CONCAT    –        RW
sd rootmirror-01 swapvol-02  rootmirror 124472832 18866304 0      c2t2d0   ENA

 

 

 

Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

18 Responses

  1. Al Vidad says:

    Thanks for the information. This was very helpful!!!

  2. Saurabh says:

    Thanks for the info. Very Helpfu. I am looking for these pdf’s

    1. Veritas Storage Foundation 5.1 for UNIX : Install & Configure

    2. Veritas Storage Foundation 5.1 for UNIX: Manage & Administrator

    could you pls share my id is saurabh.ec2006@gmail.com pls Thanks

  3. Yogesh Raheja says:

    @Saurabh, you will be able to download the same from Symantec site. 

  4. Saurabh says:

    Hi Yogesh, every time i am searching on google it is pointing me to register for the course……..i am not finding any download link to get his ……….i am looking for these pdf’s for a very long time……..could you check it once………it will higly appreciated….inspite of the result….Thanks my id is saurabh.ec2006@gmail.com pls check once if you can get those.

  5. Yogesh Raheja says:

    @Saurabh, sent on your email id. 

  6. Saurabh says:

    Thanks Yogesh and Ram :)

  7. srikanth says:

    Hi Friends,

    First of all, Thanks for sharing such an excellent information. I am also looking for the 
    1. Veritas Storage Foundation 5.1 for UNIX : Install & Configure
    2. Veritas Storage Foundation 5.1 for UNIX: Manage & Administrator
    3. Veritas Cluster installation and configuration.

    Please share at srikanthjun6@gmail.com.

  8. shekar says:

    Hi Ram

    I’m trying t remove the last disk from rootdg and getting the following error , however i can remove the last disk from some other disk group and destroy the DG .How to remove the last disk from rootdg and decommision it

    Server1:/# vxdg -g rootdg rmdisk disk01
    vxvm:vxdg: ERROR: disassociating disk-media disk01:
    Cannot remove last disk in disk group

    cxtydzs2 sliced disk01 rootdg online
    – – disk01-m rootdg removed was:cx1tydzs2

    Many Thanks

  9. Ramdev Ramdev says:

    Hi Shekar, please try  /etc/vx/bin/vxunroot to unencapsulate the rootdg to native paritions. please makes sure the rootdisk has no volumes other than non-systems volumes.

  10. shekar says:

    I continued the cmd you gave but geeting the response as

    /etc/vx/bin/vxunroot
    /etc/vx/bin/vxunroot: No rootvol found..when i exe this cmd vxprint -v -g rootdg
    TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
    v db_inst fsgen DISABLED 18874368 – CLEAN – –
    v db_inst-d01 fsgen DISABLED 18874368 – CLEAN – my vol is disable still i can’t remove the disk frm rootdg ,pl advise

  11. Ramdev Ramdev says:

    Is that volume disabled before vxunroot? if so please enable and try the command

    alternatively, use the traditional process: ( please be cautious, and implement on your own risk)

    before proceeding check that you have the original disk partition layout  i.e. vtoc ” /etc/vx/reconfig.d/disk.d/vtoc””

    — take the system down to failsafe mode/ or cdrom boot  and mount the root disk to /a
    — modify the /etc/system to  comment out  “rootdev” and “set vxio ..” entries
    — modify /etc/vfstab to use native disk partitions instead of root volumes
    — remove root volumes – vxedit -rf rm
    — remove the last disk with — vxdg rmdisk
    — restore original vtoc to disk. with below command
    /etc/vx/bin/vxedvtoc -f /etc/vx/reconfig.d/disk.d/vtoc /dev/rdsk/s2
    — boot to single user mode

  12. shekar says:

    thanks for your response .
    Ok , let me explain , Solairs is mirrored on (svm )booting on native disk , on top of that VVM is installed they are not encap with solaris disk .
    vxdisk list
    DEVICE TYPE DISK GROUP STATUS
    c0t0d0s2 sliced – – error (not VVM control )
    c0t1d0s2 sliced – – error( not VVM control )
    c1t0d0s2 sliced disk01 rootdg online
    – – disk01-m rootdg removed was:c2t0d0s2

    Ignore the error in the status for 1st two disk as those are not VVM control

    This server is being veritasclustered with another node ,since rootdg is created at the time of installtion of VVM ,so i have only option left now to uninstall Vertitas Volume manager that will remove the rootdg .

    1 will this affect the existing VCS between two node
    2. Alternatevely ,is there option or commnd to remove rootdg or the last disk in rootdg ?

    • Ramdev Ramdev says:

      Hi Sekhar, Thanks for explaining the setup

      >>1 will this affect the existing VCS between two node
      if VCS using any of the VxVM volumes then removing VxVM will affect the VCS

      >>> 2. Alternatevely ,is there option or commnd to remove rootdg or the last disk in rootdg ?
      Case a. if you are using vxvm 3.5 and earlier versions, there you shouldn’t remove the rootdg because that is mandatory DG.
      Case b. If you are using vxvm 4.0 and later versions, then simply deport the rootdg and run vxdiskunsetup against the rootdisk which will clear the both public and private regions of the disk.

  13. prajwala says:

    Hi Ramdev,

    I totally confused about how to mirror and un-mirror the root disk and rootmirror disks . can you provide a detailed steps how to mirror and unmirror root disks in veritas

    • Ramdev Ramdev says:

      Hi Prajwala, I understand your confusion. This post is to help troubleshooting the error “VxVM vxdg ERROR V-5-1-10127 associating disk-media rootdisk with c1t4d0s2: Disk public region is too small” during the rootdisk replacement. and that won’t happens regularly.

      I will post the normal procedure little later.

  14. Raju says:

    hi ramdev., thanks for sfaring

Leave a Reply to Yogesh Raheja Cancel reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us