Visit Our UNIX and Linux User Community


Veritas Volume Manager question (Disk layout with 4 plexes)


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Veritas Volume Manager question (Disk layout with 4 plexes)
# 1  
Old 01-22-2010
Veritas Volume Manager question (Disk layout with 4 plexes)

I am trying to build a veritas volume similar to an existing volume on another server. The output on source server is:
Code:
 
usbtor12# vxprint -hrtg appdg

v  anvil_sqlVOL -            ENABLED  ACTIVE   629145600 SELECT   -        fsgen
pl anvil_sqlVOL-01 anvil_sqlVOL ENABLED ACTIVE 629145600 CONCAT   -        RW
sd uspv100_lun0-02 anvil_sqlVOL-01 uspv100_lun0 20971520 629145600 0 c1t71d0 ENA
pl anvil_sqlVOL-02 anvil_sqlVOL ENABLED ACTIVE 629145600 CONCAT   -        RW
sd uspv300_lun0-01 anvil_sqlVOL-02 uspv300_lun0 0 629145600 0     c1t73d0  ENA
pl anvil_sqlVOL-03 anvil_sqlVOL ENABLED ACTIVE LOGONLY  CONCAT    -        RW
sd uspv100_lun0-01 anvil_sqlVOL-03 uspv100_lun0 0 2112  LOG       c1t71d0  ENA
pl anvil_sqlVOL-04 anvil_sqlVOL ENABLED ACTIVE LOGONLY  CONCAT    -        RW
sd uspv300_lun0-02 anvil_sqlVOL-04 uspv300_lun0 629145600 2112 LOG c1t73d0 ENA

This volume is on diskgroup 'appdg' (both are 400gb LUN's):
Code:
usbtor12# vxdisk -g appdg list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t71d0s2    auto:cdsdisk    uspv100_lun0  appdg        online
c1t73d0s2    auto:cdsdisk    uspv300_lun0  appdg        online


When I created the volume on the target server with similar LUN size (using the command: #vxassist -g appdg make anvil_sqlVOL 300g),
I see the volume as :
Code:
usbmon59# vxprint -hrtg appdg
dg appdg        default      default  23000    1264089847.10.sbpsvrwm289
dm uspv100_lun0 c4t71d0s2    auto     65536    858189568 -
dm uspv300_lun0 c4t73d0s2    auto     65536    858189568 -
v  anvil_sqlVOL -            ENABLED  ACTIVE   629145600 SELECT   -        fsgen
pl anvil_sqlVOL-01 anvil_sqlVOL ENABLED ACTIVE 629145600 CONCAT   -        RW
sd c4t71d0-01   anvil_sqlVOL-01 uspv100_lun0 0 629145600 0        c4t71d0  ENA
pl anvil_sqlVOL-02 anvil_sqlVOL ENABLED ACTIVE 629145600 CONCAT   -        RW
sd uspv300_lun0-01 anvil_sqlVOL-02 uspv300_lun0 0 629145600 0     c4t73d0  ENA

I also tried to create another test volume with layout=mirroring, but did not work:
Code:
# vxassist -g appdg make testVOL 5g layout=mirror

The output is still the same - volume with 2, not 4 plexes Smilie
Code:
 
usbmon59# vxprint -hrtg appdg
dg appdg        default      default  23000    1264089847.10.sbpsvrwm289
dm uspv100_lun0 c4t71d0s2    auto     65536    858189568 -
dm uspv300_lun0 c4t73d0s2    auto     65536    858189568 -
v  anvil_sqlVOL -            ENABLED  ACTIVE   629145600 SELECT   -        fsgen
pl anvil_sqlVOL-01 anvil_sqlVOL ENABLED ACTIVE 629145600 CONCAT   -        RW
sd c4t71d0-01   anvil_sqlVOL-01 uspv100_lun0 0 629145600 0        c4t71d0  ENA
pl anvil_sqlVOL-02 anvil_sqlVOL ENABLED ACTIVE 629145600 CONCAT   -        RW
sd uspv300_lun0-01 anvil_sqlVOL-02 uspv300_lun0 0 629145600 0     c4t73d0  ENA
v  testVOL      -            ENABLED  ACTIVE   10485760 SELECT    -        fsgen
pl testVOL-01   testVOL      ENABLED  ACTIVE   10485760 CONCAT    -        RW
sd uspv100_lun0-01 testVOL-01 uspv100_lun0 629145600 10485760 0   c4t71d0  ENA
pl testVOL-02   testVOL      ENABLED  ACTIVE   10485760 CONCAT    -        RW
sd uspv300_lun0-02 testVOL-02 uspv300_lun0 629145600 10485760 0   c4t73d0  ENA

Any idea how can I create the same volume with 4 plexes.

Thanks

Last edited by Scott; 01-24-2010 at 11:55 AM.. Reason: Please use code tags
# 2  
Old 01-24-2010
The reason is that the plexes 3 and 4 are plexes as type "LOGONLY",

Code:
pl anvil_sqlVOL-03 anvil_sqlVOL ENABLED ACTIVE LOGONLY  CONCAT    -        RW
sd uspv100_lun0-01 anvil_sqlVOL-03 uspv100_lun0 0 2112  LOG       c1t71d0  ENA

pl anvil_sqlVOL-04 anvil_sqlVOL ENABLED ACTIVE LOGONLY  CONCAT    -        RW
sd uspv300_lun0-02 anvil_sqlVOL-04 uspv300_lun0 629145600 2112 LOG c1t73d0 ENA

You Fisrt must be create the mirrored volume and after you can create the LOG region with

vxasisst addlog anvil_sqlVOL

Probably to duplicate your case exactly you need

1) Create 1 concat volume on only one plex
2) Create 1 LOG plex
3) Use vxmirror to create the mirror area to both plexes

---------- Post updated at 06:59 AM ---------- Previous update was at 06:49 AM ----------

How additional note to my previous post, you also can use a single command to create the logs in the volumes

vxassist make <volume> <size> layout=mirror,log nmirror=2 nlog=2

Last edited by Scott; 01-24-2010 at 11:56 AM.. Reason: Please use code tags
# 3  
Old 01-24-2010
Power

Thank you. I will try it Monday morning with the vxassist command and will update the forum thread. Thanks again!
# 4  
Old 01-25-2010
MySQL Thanks cerber01. Your command worked perfectly

Thanks Cerber01,

Your command worked. Since the mirrored volume was already created, I used your command with vxassist + addlog like this:

Code:
vxassist -g appdg addlog <volume> nlog=2

Thanks very much for your help to make the 'required' volume with two additional log-plexes for Sybase installation.

Salute!

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to extend a disk in veritas volume manager in veritas cluster?

Hi Experts, I wanted to extend a veritas file system which is running on veritas cluster and mounted on node2 system. #hastatus -sum -- System State Frozen A node1 running 0 A node2 running 0 -- Group State -- Group System Probed ... (1 Reply)
Discussion started by: Skmanojkum
1 Replies

2. UNIX for Dummies Questions & Answers

VERITAS Volume Manager - mirror a disk/volume

I have a machine (5.10 Generic_142900-03 sun4u sparc SUNW,Sun-Fire-V210) that we are upgrading the storage and my task is to mirror what is already on the machine to the new disk. I have the disk, it is labeled and ready but I am not sure of the next steps to mirror the existing diskgroup and... (1 Reply)
Discussion started by: rookieuxixsa
1 Replies

3. Solaris

Veritas Volume Manager: disk "failed was"

Hello there, I'm going to describe a situation I've got here... feel free to ask away questions and I'll provide what I can if it'll help me get this answered! When I do a vxdisk list, I see a disk that VxVM calls "disk4" that is listed as "failed was: c1t9d0s2". When I do a format, I can go... (3 Replies)
Discussion started by: kitykity
3 Replies

4. Solaris

Veritas volume manager resize

Hiii, Can any one sugge me best practices for resizing a veritas voulume with vxfs file system? I tried doing this vxassist -g stg shrinkto stgvol 209715200 VxVM vxassist ERROR V-5-1-7236 Shrinking a FSGEN or RAID5 usage type volume can result in loss of data. It is recommended... (1 Reply)
Discussion started by: anwesh
1 Replies

5. Solaris

Veritas volume manager in solaris.

Can you please let me know the certification code for veritas volume manager in solaris ? Thanks in advance. (2 Replies)
Discussion started by: gowthamakanthan
2 Replies

6. Solaris

RAID manager or veritas volume manager

Can somebody kindly help me to determine which one i should choose to better manipulate OS volume. RAID manager or veritas volume manager? Any critical differences between those two? Thanks in advance. (5 Replies)
Discussion started by: beginningDBA
5 Replies

7. UNIX for Advanced & Expert Users

Regarding Veritas Volume manager

hy guys I am new at this thread , i have installed sf 5.0 and wanted to encapsulate root disk but when i get to optionn to enter private region i get this error: Enter desired private region length (default: 65536) 512 VxVM ERROR V-5-2-338 The encapsulation operation failed with the... (2 Replies)
Discussion started by: charneet
2 Replies

8. Solaris

How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE

Hi all, I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume. Please find a sutable solutions. Thanks and Regards B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies

9. Filesystems, Disks and Memory

VEritas Volume Manager command

Hi, Somebody can help me to retrieve the command to use in Solaris 8 to display the space free on a Virtual disk created by VVM ? Thanks very much, Fabien Renaux (1 Reply)
Discussion started by: unclefab
1 Replies

10. UNIX for Dummies Questions & Answers

How to start Veritas volume manager

? (1 Reply)
Discussion started by: 98_1LE
1 Replies

Featured Tech Videos