Sponsored Content
Full Discussion: Veritas commands??
Top Forums UNIX for Dummies Questions & Answers Veritas commands?? Post 38342 by RTM on Monday 14th of July 2003 10:51:49 AM
Old 07-14-2003
Solaris Enterprise Volume Manager Reference Manual

vxdisk list will list all the disks and quick status
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t4d0s2 sliced - - error
c0t5d0s2 sliced crash-p rootdg online
c1t0d0s2 sliced data00p datadg online
c1t1d0s2 sliced data01p datadg online

Note "error" on c0t4d0s2, that drive is not actually controlled by Veritas but by DiskSuite. You may see the same on a different drive if you have drives not controlled by Veritas.

vxprint -th will list all the disks, groups, plexes...more detailed listing AND is one you are suppose to do to help with recovery. It should be saved, printed, put into a D/R book.

# vxprint -th
Disk group: rootdg

DG NAME NCONFIG NLOG MINORS GROUP-ID
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE

dg rootdg default default 0 926539269.1025.isybase

dm crash-p c0t5d0s2 sliced 3590 17678493 -
dm crash-s c4t1d0s2 sliced 3590 17678493 -

v vol01 fsgen ENABLED ACTIVE 21356672 SELECT -
pl vol01-01 vol01 ENABLED ACTIVE 21359268 CONCAT - RW
sd crash-p-01 vol01-01 crash-p 0 17678493 0 c0t5d0 ENA
sd crash-s-01 vol01-01 crash-s 0 3680775 17678493 c4t1d0 ENA

Disk group: datadg

DG NAME NCONFIG NLOG MINORS GROUP-ID
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE

dg datadg default default 50000 926546267.1194.isybase

dm data00p c1t0d0s2 sliced 2159 8378640 -
dm data00s c5t0d0s2 sliced 2159 8378640 -
dm data01p c1t1d0s2 sliced 2159 8378640 -
dm data01s c5t1d0s2 sliced 2159 8378640 -
dm data02p c1t2d0s2 sliced 2159 8378640 -
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Veritas or Legato?

Hi guys, What product would you suggest for a hot/on-line backup with an active oracle database ?? (3 Replies)
Discussion started by: guest100
3 Replies

2. UNIX for Dummies Questions & Answers

Veritas NetBackup

Veritas NetBackup, how does it work?? I mean, I know it is used for backups and restores but really, can anybody give me a brief or any explanation that sums up basically what it is about besides the fact that it does backups and restores??? Please, if you have any information, I would appreciate... (2 Replies)
Discussion started by: TRUEST
2 Replies

3. UNIX for Dummies Questions & Answers

Veritas

Hey all, I've noticed a heap of UNIX jobs like Veritas experience. Just wondering if anyone knows of any softwrae very much alike for free which would be good for learning with? Or if there is a trail like version out there for downloading? Cheers Thx in advance (3 Replies)
Discussion started by: woofie
3 Replies

4. Solaris

Veritas Certification

hAI THIS IS SRIKANTH FROM INDIA AND I AM CERTIFIED SUN SOLARIS NETWORK ADMINISTRATOR AND I AM PLANNING TO APPEAR FOR VERITAS CERTIFICATION BUT THERE ARE LOT OF CERTIFICATIONS IN VERITAS CAN ANY ONE HELP ME IN CHOOSING WHICH CERTIFICATION I CAN OPT FOR THANKS & REGARDS..............SRIK (1 Reply)
Discussion started by: srik_basina
1 Replies

5. Programming

code that reads commands from the standard i/p and executes the commands

Hello all, i've written a small piece of code that will read commands from standard input and executes the commands. Its working fine and is execting the commands well. Accepting arguments too. e.g #mkdir <name of the directory> The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies

6. Solaris

solaris 8 with veritas

Hi All, I need info on veritas volume manager with solaris 8. Although I have worked with HP-UX 10-11 (vmm is integrted), I still don't know what is the command for modifying, monitoring and troubleshooting vvm on solaris 8. Is it the same? Can't find good documentation on my search with... (4 Replies)
Discussion started by: itik
4 Replies

7. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

8. Solaris

veritas

can u plz helpme i have some problem in veritas,i have 4 hard disks one is cpu remaining three is diskarray. whenever iam enter devfsadm command is showing error CAN'T INSTRUMENT RETURNOF FD_INTRACT 7BF58620:NON-CANANICAL RETURN INSRUCTION so iam enter format command is not showing four... (2 Replies)
Discussion started by: tirupathi
2 Replies

9. AIX

HACMP: difference between 'cl' commands and 'cli' commands

Hi all, I'm new in this forum. I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli". The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory. I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies

10. 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
vxinfo(7)						 Miscellaneous Information Manual						 vxinfo(7)

NAME
vxinfo - Veritas Volume Manager general information device SYNOPSIS
/dev/vx/info DESCRIPTION
The vxinfo device in Veritas Volume Manager (VxVM) gathers performance statistics from the kernel for a supplied object. Statistics can be retrieved for volume, plex, subdisk, and disk media objects. Statistics can also be cleared through this interface. IOCTLS
The format for calling each ioctl command is: #include <sys/types.h> #include <vvxvm/volstats.h> struct tag arg; int ioctl (int fd, int cmd, struct tag *arg); The value of cmd is the ioctl command code, and arg is usually a pointer to a structure containing the arguments that need to be passed to the kernel. The return value for all the ioctls, with some exceptions, is 0 if the command was successful, and -1 if it was rejected. If the return value is -1, errno is set to indicate the cause of the error. The following ioctl commands are supported: GET_DAEMON This ioctl returns the process ID of the process with the dev/vx/config device open, or 0 if the dev/vx/config device is closed. The value of arg is undefined and should be NULL. GET_VOLINFO This command accepts a pointer to a volinfo structure as an argument. It fills in the volinfo structure with the corresponding values from the kernel. The members of a volinfo structure are: long version; /*kernel version number*/ long max_volprivmem; /*max size of volprivmem area*/ major_t volbmajor; /*volume blk dev major number*/ major_t volcmajor; /*volume char dev major number*/ major_t plexmajor; /*plex device major number*/ long maxvol; /*max # of volumes supported*/ long maxplex; /*max # of associated plexes*/ long plexnum; /*max plexes per volume*/ long sdnum; /*max subdisks per plex*/ long max_ioctl; /*max size of ioctl data*/ long max_specio; /*max size of ioctl I/O op*/ long max_io; /*max size of I/O operation*/ long vol_maxkiocount; /*max # top level I/Os allowed*/ long dflt_iodelay; /*default I/O delay for utils*/ long max_parallelio; /*max # voldios allowed*/ long voldrl_min_regionsz;/*min DRL region size*/ long voldrl_max_drtregs;i/*max # of DRL dirty regions*/ long vol_is_root; /*if set, root is volume*/ long mvrmaxround; /*max round-robin region size*/ long prom_version; /*PROM version of the system*/ long vol_maxstablebufsize;/*max size of copy buffer*/ size_t voliot_iobuf_limit; /*max total I/O trace buf spc*/ size_t voliot_iobuf_max; /*max size of I/O trace buffer*/ size_t voliot_iobuf_default;/*default I/O trace buf size*/ size_t voliot_errbuf_default;/*default error trace buf size*/ long voliot_max_open; /*max # of trace channels*/ size_t vol_checkpt_default;/*default checkpoint size*/ long volraid_rsrtransmax;/*max # of transient RSRs*/ VOL_CLR_IO_STATS This command accepts a pointer to a vol_io_stats_list structure as an argument and will clear the kernel statistics for the identified objects. VOL_GET_IO_STATS This command accepts a pointer to a vol_io_stats_list structure as an argument so that a single ioctl can operate on any reasonable number of objects. The ioctl then fills in the performance statistics for the objects whose IDs appear in the structure. The members of the vol_io_stats_list structure are: size_t vsl_nobject; /*# of objects*/ struct vol_io_stats /*vsl_stats;*/ The members of the vol_io_stats structure are: volrid_t vs_dg_iid; /*disk group rid*/ volrid_t vs_rid; /*vs_rid;*rid of object*/ int vs_object_type; /*object type*/ size_t vs_stats_size; /*size of stats buffer*/ structure vol_stats /*vs_stats; *stats buffer*/ The vs_dg_iid field identifies the disk group in which the vs_rid object exists. Most statistics are formed as a concatenation of the vol_stats structure. The members of the vol_stats structure are: size_t vs_op; /*count of I/O operations*/ size_t vs_fail_op; /*count of failed I/Os*/ size_t vs_blocks; /*total blocks of I/O*/ time_t vs_time; /*accumulated I/O times*/ The vol_io_stats_list, vol_io_stats, and vol_stats structures are defined in the </usr/include/vxvm/volstats.h> header file. DIAGNOSTICS
The following errors are returned by the VOL_GET_IO_STATS and VOL_CLR_IO_STATS ioctls: EFAULT A pointer passed to the kernel was invalid, causing a bad memory reference. ENOENT The supplied vs_dg_iid does not match any existing imported disk groups, or the supplied vs_rid object could not be found. FILES
/dev/vx/info Veritas Volume Manager information device. SEE ALSO
vxintro(1M), ioctl(2), vxconfig(7), vxio(7) VxVM 5.0.31.1 24 Mar 2008 vxinfo(7)
All times are GMT -4. The time now is 03:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy