I am not sure this works across all OS's and all VxVM versions, but it seams 
to work on Solaris and 3.1.1-3.5 at least.  The state column in a "vxprint 
-l <volume>"  output shows if a RAW volume is in use by Sybase.  If the 
volume is in use by Sybase, the state will have "(active)" at the end of the 
line.  If not, it will show "(clean)" at the end.

vxprint -l stab1

Disk group: sybasedg

Volume:   stab1
info:     len=1024000
type:     usetype=fsgen
state:    state=ACTIVE kernel=ENABLED cdsrecovery=0/0 (active)
assoc:    plexes=stab1-03,stab1-01,stab1-02
policies: read=SELECT (round-robin) exceptions=GEN_DET_SPARSE
flags:    open badlog writeback
comment:  subase stab1 device
logging:  type=REGION loglen=5 serial=0/0 (disabled)
apprecov: seqno=0
recov_id=0
device:   minor=48007 bdev=155/48007 cdev=155/48007
path=/dev/vx/dsk/sybasedg/stab1
perms:    user=sybase group=dba mode=0600


Douglas


>From: "Biju Krishnan" <[EMAIL PROTECTED]>
>To: veritas-vx@mailman.eng.auburn.edu
>Subject: [Veritas-vx] How to identify a raw volume from vxprint or any 
>othermeans
>Date: Sat, 2 Sep 2006 01:44:37 +0530
>
>Hi,
>
>I would like to know as to how we could find out whether a volume is RAW
>from the vxprint output.
>
>Secondly is  there ANY method to assure that a volume is used RAW ?? 
>Suppose
>no filesystems are mounted.
>
>--
>Regards,
>PP BIJU KRISHNAN
>-------------------------------------------------------------------------------------
>B.E/SCSA/BCSD                   Navi Mumbai,India


>_______________________________________________
>Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx


_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to