Configure disk group with veritas


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Configure disk group with veritas
# 1  
Old 03-02-2011
Configure disk group with veritas

People i have an a storage i create two virtual disk 1 y 2.
In the virtual disk 1 i configure 8 volumes and in the Vd2 configure 5 volumes.

Now i want to create a disk group called Prod2 y Dev2 but when i go to vxdiskadm and i choose add disk o encapusalte when i press list to list the disk available i dont see the disks or volumes that i create.

I think that what i need to do is to configure with thw world wide number a disk_device or something like that that veritas show when i do a vxdisk path to see what disk is related to a world wide number.
How in veritas i give that daname. THank you very much

FOr example

Quote:
# vxdisk path
SUBPATH DANAME DMNAME GROUP STATE

000006654A549C95d0s2 disk_4 vol08a SAPPRD ENABLED
details: There are two sparc solaris 10. in Cluster
 
Login or Register to Ask a Question

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. HP-UX

Removing a VxVM disk from a Disk Group

Hello all, So I made a rookie mistake today. I forgot to remove my disk from my disk group, before running the following command:for i in `ioscan -fnN | awk /NO/'{print $3}'` do rmsf -H $i done I am trying to run the following command, but not having any luck obviously:vxdg -g dgvol1 rmdisk... (0 Replies)
Discussion started by: mrkejames2
0 Replies

3. Shell Programming and Scripting

Need to create an for loop for adding an disk in veritas volume group.

Hi Experts I need an script to add an disk in to the veritas volume manager disk group. For example: # cd /tmp # view disk c6t5d2 c6t2d1 c6t3d7 c6t11d2 c7t11d2 c6t11d6 Normally we add the disk like this: # vxdg -g freedg freedisk01=c6t5d2 # vxdg -g freedg freedisk02=c6t2d1 #... (3 Replies)
Discussion started by: indrajit_preet
3 Replies

4. Solaris

Veritas disk group not the same on each cluster node.

Need help getting all disk devices back on node 2 the same as node 1. Recently Veritas and/or Sun cluster got wrecked on my 2 node Sun cluster after installing the latest patch cluster. I backed out the patches and then node 2 could see only half of the devices and Veritas drives (though format... (0 Replies)
Discussion started by: buggin
0 Replies

5. Solaris

Configure Veritas DMP

I am looking forward to configure Veritas DMP on Solaris-10. All pointers appreciated. Thanks, (3 Replies)
Discussion started by: menonk
3 Replies

6. UNIX and Linux Applications

Veritas silent disk group creation

I am trying to write a kornshell script that will automatically create veritas disk groups. However, the only utility that I can find that will create the diskgroup is vxdiskadd, which prompts with interactive questions. I've tried to pass the answers through to vxdiskadd, but I receive the... (0 Replies)
Discussion started by: jm6601
0 Replies

7. Solaris

( VxVM ) How to add the removed disk back to previous disk group

Previously , i remove the disk by #vxdg -g testdg -k rmdisk testdg02 But i got error when i -k adddisk bash-2.03# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies

8. Solaris

Need to remove a disk from Veritas

I have a bogus disk that keeps showing up as failed from vxdisk list - - disk hpdg failed was:c2t0d11s2 There isnt any c2 devices on the system: # ls /dev/dsk/c2* /dev/dsk/c2*: No such file or directory # ls /dev/rdsk/c2* /dev/rdsk/c2*: No such file or... (3 Replies)
Discussion started by: kiem
3 Replies

9. Solaris

Veritas root disk mirroring

Hi there, My task is to replace the two 73 G disks with two 143 G disks , which has vxvm 4.1 running on it. I would like to know whether the steps iam following are correct. 1. Break the sub-disks, plexes of the root mirror. 2. Remove the sub-disks,plexes of the root mirror. 3. Remove one of... (10 Replies)
Discussion started by: Jartan
10 Replies

10. Filesystems, Disks and Memory

FSCK on veritas managed disk

I've had a VXFS filesystem get corrupted and now it won't mount. Can I run a fsck -y on the raw disk device or should something be done within veritas? Veritas does not see the disk at the moment. (2 Replies)
Discussion started by: ozzmosiz
2 Replies
Login or Register to Ask a Question
vxmirror(1M)															      vxmirror(1M)

NAME
vxmirror - mirror volumes on a disk or control default mirroring SYNOPSIS
/etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no ] [-t tasktag ] medianame [new_medianame...] /etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no ] [-t tasktag ] -a [new_medianame...] /etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no] /etc/vx/bin/vxmirror [-g diskgroup] -D DESCRIPTION
The vxmirror command provides a mechanism to mirror all non-mirrored volumes that are located on a specified disk, to mirror all currently non-mirrored volumes in the specified disk group, or to change or display the current defaults for mirroring. All volumes that have only a single plex (mirror copy), are mirrored by adding an additional plex. Volumes containing subdisks that reside on more than one disk are not mirrored by vxmirror. vxmirror is generally called from the vxdiskadm menus. It is not an interactive command, and after it is called, continues until comple- tion of the operation or until a failure is detected. Note: Generating mirror copies of volumes can take a considerable time to complete. In the first listed form of this command, the disk media name is supplied on the command line to vxmirror. That name is assumed to be the only disk from which volumes are mirrored. In the case of mirroring volumes from a specified disk, only simple single-subdisk volumes are mirrored. In the first and second listed forms of the command, new_medianame... identifies a new disk media name (or set of names). The mirroring operation uses these names as targets on which to allocate the mirrors. An error results if the same disk is specified for both the source and target disk and if no other viable targets are supplied. Hardware-Specifc Note Some environments provide guidelines to optimize the VxVM's interaction with intelligent storage systems. If these guidelines are present, VxVM follows the guidelines when creating volumes or allocating space for volumes. By default, vxmirror only creates mirror volumes that conform with these guidelines. The following options change the behavior of vxmirror: -o override Creates a mirror of the specified volume and ignores any storage-specific guidelines. Overriding the guidelines is not recom- mended as it can result in incompatible objects, or objects that cannot be administered by VxVM. -o verify Verifies that the specified mirror can be created without violating any storage-specific guidelines, but does not create the plex. If any guidelines are violated, vxmirror exits with an error message. Note: These options need a specific license. Without the license, vxmirror ignores the specified option. OPTIONS
-a Mirrors all existing volumes for the specified disk group. -d yes | no Changes the default for subsequent volume creation, depending on the option argument. If yes, then all subsequent volumes cre- ated automatically become mirrored volumes. If no, then mirroring is turned off for future volumes created. -D Displays current default status for mirroring. -g diskgroup Limits operation of the command to the given disk group, as specified by disk group ID or disk group name. The medianame oper- ands are evaluated relative to the given disk group. If this option is not specified, the default disk group is determined using the rules given in the vxdg(1M) manual page. -t tasktag Specifies using a tasktag as the tag for any tasks created to perform the mirror operations. EXAMPLES
The following command mirrors all non-mirrored volumes on disk disk01 to the available space on any other available disk. Subsequent calls to vxassist mirror created volumes by default. /etc/vx/bin/vxmirror -d yes disk01 This command displays the current status of default mirroring. It outputs the string yes if mirroring is currently enabled, or no if mir- roring is not enabled. /etc/vx/bin/vxmirror -D This command mirrors any volumes on disk02 to disk03. /etc/vx/bin/vxmirror disk02 disk03 FILES
/etc/default/vxassist The defaults file for vxassist parameters. SEE ALSO
vxassist(1M), vxdiskadm(1M), vxintro(1M), vxtask(1M) VxVM 5.0.31.1 24 Mar 2008 vxmirror(1M)