Video Screencast Help
Scheduled Maintenance: Symantec Connect is scheduled to be down Saturday, April 19 from 10am to 2pm Pacific Standard Time (GMT: 5pm to 9pm) for server migration and upgrades.
Please accept our apologies in advance for any inconvenience this might cause.

How to create a mirror on a layered volume

Created: 12 Jul 2012 | 3 comments

I am getting an error when trying to create a mirror on a layered volume: 

vxassist -g rootdg -b mirror localcw-L01 camcs03a
VxVM vxassist ERROR V-5-1-2150 Volume localcw-L01 is a layered volume
 
The volume looks like this:
 
v localcw - ENABLED ACTIVE 6291456 SELECT - fsgen
pl localcw-04 localcw ENABLED ACTIVE 6291456 CONCAT - RW
sv localcw-S01 localcw-04 localcw-L01 1 4182016 0 3/3 ENA
sv localcw-S02 localcw-04 localcw-L02 1 2109440 4182016 3/3 ENA

v localcw-L01 - ENABLED ACTIVE 4182016 SELECT - fsgen
pl localcw-P01 localcw-L01 ENABLED ACTIVE LOGONLY CONCAT - RW
sd camcs03-42 localcw-P01 camcs03 163577856 66 LOG c15t16d2 ENA
pl localcw-P02 localcw-L01 ENABLED ACTIVE 4182016 CONCAT - RW
sd camcs01-08 localcw-P02 camcs01 448790528 4182016 0 c15t16d0 ENA
pl localcw-P03 localcw-L01 ENABLED ACTIVE 4182016 CONCAT - RW
sd camcs02-41 localcw-P03 camcs02 163577856 4182016 0 c15t16d1 ENA

v localcw-L02 - ENABLED ACTIVE 2109440 SELECT - fsgen
pl localcw-P04 localcw-L02 ENABLED ACTIVE LOGONLY CONCAT - RW
sd camcs03-43 localcw-P04 camcs03 163577922 33 LOG c15t16d2 ENA
pl localcw-P05 localcw-L02 ENABLED ACTIVE 2109440 CONCAT - RW
sd camcs01-09 localcw-P05 camcs01 452972544 2109440 0 c15t16d0 ENA
pl localcw-P06 localcw-L02 ENABLED ACTIVE 2109440 CONCAT - RW
sd camcs03-44 localcw-P06 camcs03 163581952 2109440 0 c15t16d2 ENA

 
Any ideas?
 
 

 

Discussion Filed Under:

Comments 3 CommentsJump to latest comment

WayneF's picture

Nevermind.  I see now that the person I was trying to assist was not attempting to add the mirror to the top level volume. 

Gaurav Sangamnerkar's picture

Correct, the mirror command should be issued to the parent volume & not subvolumes .. & vxassist is intelligent enough to determine the structure of volume, find the free disks & then mirror in the best possible pattern ..

 

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

syedmasood2's picture

Hello,

I have a situation where i need to mirror a 0+1 (similar to above) volume to a single SAN disk.

are there any constraints/consideration to make before i go with mirroring?

configuration:

 

v  ora00    -            ENABLED  ACTIVE   286615666 SELECT   ora00-04 fsgen

pl ora00-04 ora00    ENABLED  ACTIVE   286615808 STRIPE   2/128    RW

sv ora00-S01 ora00-04 ora00-L01 1  143307904 0/0      3/3      ENA

sv ora00-S02 ora00-04 ora00-L02 1  143307904 1/0      3/3      ENA


v  ora00-L01 -           ENABLED  ACTIVE   143307904 SELECT   -        fsgen

pl ora00-P01 ora00-L01 ENABLED ACTIVE  LOGONLY  CONCAT    -        RW

sd disk01-03    ora00-P01 disk01  0        1155     LOG       c1t12d0   ENA

pl ora00-P02 ora00-L01 ENABLED ACTIVE  143307904 CONCAT   -        RW

sd disk01-04    ora00-P02 disk01  10176    143307904 0        c1t12d0   ENA

pl ora00-P03 ora00-L01 ENABLED ACTIVE  143307904 CONCAT   -        RW

sd disk03-02    ora00-P03 disk03  0        143307904 0        c1t14d0   ENA


v  ora00-L02 -           ENABLED  ACTIVE   143307904 SELECT   -        fsgen

pl ora00-P04 ora00-L02 ENABLED ACTIVE  LOGONLY  CONCAT    -        RW

sd disk01-05    ora00-P04 disk01  1155     1155     LOG       c1t12d0   ENA

pl ora00-P05 ora00-L02 ENABLED ACTIVE  143307904 CONCAT   -        RW

sd disk02-02    ora00-P05 disk02  0        143307904 0        c1t13d0   ENA

pl ora00-P06 ora00-L02 ENABLED ACTIVE  143307904 CONCAT   -        RW

sd disk04-02    ora00-P06 disk04  0        143307904 0        c1t15d0   ENA
 

thanks