[prev in list] [next in list] [prev in thread] [next in thread] 

List:       veritas-vx
Subject:    Re: [Veritas-vx] Mirroring issue,
From:       A Darren Dunham <ddunham () taos ! com>
Date:       2010-10-12 15:36:21
Message-ID: 20101012153621.GA5767 () SDF ! LONESTAR ! ORG
[Download RAW message or body]

On Tue, Oct 12, 2010 at 03:58:47PM +0530, Mohd Aslam wrote:
> Is there some way I can define that while mirroring, plex data01-02
> used 33GB space from disk02 and rest 50GB space from disk04.

Instead of:
> # vxplex -g datadg -o rm dis data01-02
> # vxresize -F vxfs -x -g datadg data01 +50g disk03
> # vxassist -g datadg -b mirror data01 disk02 disk04 --> My problem is with this command.

I would have suggested:
vxresize -F Vxfs -x -g datadg data01 +50g disk03 disk04

Since the volume is a mirror at that point, it will extend onto the two
new disks in a mirrored fashion.  

Given where you are now, I don't know of a way for 'vxassist' or 'vxresize'
to mirror in the way you want.  You could either remove the extra size,
go back to the single disk, remirror on disk02 and then extend.

Or you could set up a new plex on the new disks and then attach that to
the volume.  Maybe something like:

vxassist -g datadg tempvol 33g disk03
vxassist -g datadg growby tempvol 50g disk04 # one plex on tempvol
vxplex -f -g datadg dis <plex>

You can then destroy the temp volume and attach the plex to the original
volume.  I don't like doing it this way because getting the sizes to
match up exactly is difficult.

-- 
Darren
_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic