Operating System - Linux
1828490 Members
2303 Online
109978 Solutions
New Discussion

How to find out the volume layout?

 
Prasad Joshi
Regular Advisor

How to find out the volume layout?

Hi All,

I am using VRITAS volume manager to create volumes.
I have created some volumes with different layouts.

sliam24:/ # vxassist -g dg2 make vol1 10m
sliam24:/ # vxassist -g dg2 make vol2 10m layout=mirror
sliam24:/ # vxassist -g dg2 make vol3 10m layout=stripe
sliam24:/ # vxassist -g dg2 make vol4 10m layout=concat-mirror
sliam24:/ # vxassist -g dg2 make vol5 10m layout=mirror-concat
sliam24:/ # vxassist -g dg2 make vol6 10m layout=stripe-mirror
sliam24:/ # vxassist -g dg2 make vol7 10m layout=mirror-stripe


But, now I want to know layout of each volume. Is there any way I can see it?

I tried vxprint -vhtr but, it is very cryptic Is there any easy way?

Thanks and regards,
Prasad.
1 REPLY 1
JoP_1
Advisor

Re: How to find out the volume layout?

the -r option prints single-line output records that depend upon the configuration record type. For disk groups, the output consists of the record type (dg) the disk group name, and the disk group ID. This can look very cryptic...

Maybe you should try without it first to see if you get the information you want. Here is a good webpage to "inspire" you ;-)

http://docsrv.sco.com/cgi-bin/man/man?vxprint+1M

You can also try these commands:
To display all records in all disk groups, with clearly displayed associations and with output lines tailored to each record type, use the command:

vxprint -Ath

To avoid looking at the 5-line header and the extra disk group headers generated by this command, you can remove all the headers by adding a -q.
To display all subdisks and all disk groups, in sorted order by disk, use:


vxprint -AGts


Have fun!