Ask a Question related to Sun Solaris, Design and Development.
-
Kevin #1
How to determine a VxVM Mirror
Hi,
I am looking for a "quick" way to determine if a VxVM Volume is
Mirrored?
I'm thinking along the lines 'vxprint -h -g grpname -v volname | nawk
....', the logic would be something like :
# START
count=0
if this is not a RAID 5 Volume
then
for each plex
if the plex is not a log plex
then
count=count+1
end if
end for
end if
if count > 1
then
print "this is a volume is mirrored"
end if
# END
Then of course we get into checking plex states and....
Somebody, somewhere must have already written this?
Any advice greatfully recieved (to save me some time).
Cheers
Kevin
Kevin Guest
-
mirror
Hi all, I want an urgent help from anyone in this whole world...PLEASE.. I created mirrors in max but when i am in director through w3d format... -
Mirror effect
Hi guys, I'm in the middle of designing an architectural walkthrough and want to add mirrors to the bathrooms of the house.... Is it possible... -
How to get installed version of Veritas vxvm?
Is there a Veritas volume manager command that returns the version that is currently installed? On Solaris, pkginfo will return the version info,... -
Mirror mirror on the wall.
Is there a way to flip and image around kinda like a mirror effect? -
VxVM / VxFS 3.5 vxlicrep
Schmuck <yamahasw40@latinmail.com> wrote: Nothing should happen. You should be able to simply remove the demo licenses. You can do that... -
Darren Dunham #2
Re: How to determine a VxVM Mirror
Kevin <kevin.hickman@sainsburys.co.uk> wrote:
> Hi,> I am looking for a "quick" way to determine if a VxVM Volume is
> Mirrored?> I'm thinking along the lines 'vxprint -h -g grpname -v volname | nawk
> ...', the logic would be something like :> # START
> count=0
> if this is not a RAID 5 Volume
> then
> for each plex
> if the plex is not a log plex
> then
> count=count+1
> end if
> end for
> end if> if count > 1
> then
> print "this is a volume is mirrored"
> end if
> # ENDYup... That's pretty annoying. In addition, you have to check if a plex> Then of course we get into checking plex states and....
is sparse, and that the plexes cover all the blocks in the volume. (at
least I've been bitten by thinking a volume was fully mirrored but it
wasn't).
I haven't come across it, but it's possible.> Somebody, somewhere must have already written this?
You might check the veritas-vx archives at
[url]http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx/[/url]
If you write it yourself, the following pieces of information from
vol_pattern might be useful for parsing...
v_pl_num or v_nplex
A number representing the number of plexes associ-
ated with the volume.
v_pl_name or v_plex or v_plexes
The set of plex names that are associated with the
volume.
pl_compact
A boolean value that is true if the plex is com-
pact. A plex is compact if its entire length is
mapped by subdisks, leaving no holes. Note that
the length of a plex is computed as the length to
the end of the last block in the plex address
space that is mapped by a subdisk.
--
Darren Dunham [email]ddunham@taos.com[/email]
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Darren Dunham Guest



Reply With Quote

