Re: [Veritas-vx] Fwd: vxunreloc for veritas 2.4

2008-10-19 Thread Robinson, Greg
Hi James,
 
not sure about 2.4, but 3.5 and above has option 14 in the vxdiskadm
menu which sounds right up your alley.
 
failing that, the vxassist move option might do the same.
 
So, at a guess, something like:
 
vxassist -g tooldwnld-dg move tooldwnld \!d012 disk24
 
(please dont use that command without further investigation and testing)
 
It also looks like vxsd mv option can also move subdisks.  That one
looks simplier to understand than my vxassist command.
 
I'd be more confortable with option 14 from vxdiskadm though.
 
Hope this helps,
 
Greg.
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Chavez
Sent: Monday, 20 October 2008 8:47 AM
To: veritas-vx@mailman.eng.auburn.edu
Subject: [Veritas-vx] Fwd: vxunreloc for veritas 2.4



Doug, From an address without the confidentiality trailer.

Hello,
I have a question for the list regarding vxunreloc or something similar
for veritas volume manager 2.4.
I have a volume as shown below that is mirrored on 2 arrays c0 and c2,
with 1 plex on each array. I had a failed disk, disk24 (c2t15)and hot
relocation replaced it with d012 shown below as c0t1d2. This is not good
because c0t1d2 is on the on the wrong array. So the plex is not properly
mirrored since now if the c0 array goes down, the volume will have no
valid plex.

I replaced the failed disk which was disk24 (c2t1d5) and veritas now
sees it again.
I do not believe there is a vxunreloc available for vxvm 2.4.

So my question is how can I relocate the stripe now contained on d012
(c0t1d2) back to disk24 (c2t1d5) so I can have all the stripes for this
plex on the same array?

Also do I have to take the volume offline to do this first? I would not
think so since the plex on c0 will not be modified.

Thank you
James

v  tooldwnldfsgenENABLED  ACTIVE   7000 SELECT-
pl tooldwnload-01 tooldwnld  ENABLED  ACTIVE   70713981 STRIPE4/32
RW
sd disk29-01tooldwnload-01 disk29 017678493 0/0   c0t2d3
ENA
sd disk30-01tooldwnload-01 disk30 017678493 1/0   c0t2d4
ENA
sd disk42-01tooldwnload-01 disk42 017678493 2/0   c0t3d2
ENA
sd disk43-01tooldwnload-01 disk43 017678493 3/0   c0t3d3
ENA
pl tooldwnld-02 tooldwnldENABLED  ACTIVE   70713981 STRIPE4/32
RW
sd d211-01  tooldwnld-02 d211 017678493 0/0   c2t1d1
ENA
sd disk35-01tooldwnld-02 disk35   017678493 1/0   c2t2d2
ENA
sd d012-01  tooldwnld-02 d012 017678493 2/0   c0t1d2
ENA  -- used to be disk 24, c2t1d5
sd disk37-01tooldwnld-02 disk37   017678493 3/0   c2t2d4
ENA



IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914.  If you have received this email in error, you are requested to contact 
the sender and delete the email.


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


Re: [Veritas-vx] Fwd: vxunreloc for veritas 2.4

2008-10-19 Thread Doug Hughes
following the top posting..

to use vxsd mv, you must first make the subdisk on the destination by 
hand using vxmake.
something like vxmake -g tooldwnld-dg sd disk24-01 dm_name=disk24 
dm_offset=0 len = 17678493
vxsd -o rm mv d012-01 disk24-01

(this last operation will take a long time)

Check vxmake man pages for proper details on names and usage for vxmake.

Robinson, Greg wrote:
 Hi James,
  
 not sure about 2.4, but 3.5 and above has option 14 in the vxdiskadm 
 menu which sounds right up your alley.
  
 failing that, the vxassist move option might do the same.
  
 So, at a guess, something like:
  
 vxassist -g tooldwnld-dg move tooldwnld \!d012 disk24
  
 (please dont use that command without further investigation and testing)
  
 It also looks like vxsd mv option can also move subdisks.  That one 
 looks simplier to understand than my vxassist command.
  
 I'd be more confortable with option 14 from vxdiskadm though.
  
 Hope this helps,
  
 Greg.
  

 
 *From:* [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] *On Behalf Of 
 *James Chavez
 *Sent:* Monday, 20 October 2008 8:47 AM
 *To:* veritas-vx@mailman.eng.auburn.edu
 *Subject:* [Veritas-vx] Fwd: vxunreloc for veritas 2.4


 Doug, From an address without the confidentiality trailer.

 Hello,
 I have a question for the list regarding vxunreloc or something similar
 for veritas volume manager 2.4.
 I have a volume as shown below that is mirrored on 2 arrays c0 and c2,
 with 1 plex on each array. I had a failed disk, disk24 (c2t15)and hot
 relocation replaced it with d012 shown below as c0t1d2. This is not good
 because c0t1d2 is on the on the wrong array. So the plex is not properly
 mirrored since now if the c0 array goes down, the volume will have no
 valid plex.

 I replaced the failed disk which was disk24 (c2t1d5) and veritas now
 sees it again.
 I do not believe there is a vxunreloc available for vxvm 2.4.

 So my question is how can I relocate the stripe now contained on d012
 (c0t1d2) back to disk24 (c2t1d5) so I can have all the stripes for this
 plex on the same array?

 Also do I have to take the volume offline to do this first? I would not
 think so since the plex on c0 will not be modified.

 Thank you
 James

 v  tooldwnldfsgenENABLED  ACTIVE   7000 SELECT-
 pl tooldwnload-01 tooldwnld  ENABLED  ACTIVE   70713981 STRIPE4/32
 RW
 sd disk29-01tooldwnload-01 disk29 017678493 0/0   c0t2d3
 ENA
 sd disk30-01tooldwnload-01 disk30 017678493 1/0   c0t2d4
 ENA
 sd disk42-01tooldwnload-01 disk42 017678493 2/0   c0t3d2
 ENA
 sd disk43-01tooldwnload-01 disk43 017678493 3/0   c0t3d3
 ENA
 pl tooldwnld-02 tooldwnldENABLED  ACTIVE   70713981 STRIPE4/32
 RW
 sd d211-01  tooldwnld-02 d211 017678493 0/0   c2t1d1
 ENA
 sd disk35-01tooldwnld-02 disk35   017678493 1/0   c2t2d2
 ENA
 sd d012-01  tooldwnld-02 d012 017678493 2/0   c0t1d2
 ENA  -- used to be disk 24, c2t1d5
 sd disk37-01tooldwnld-02 disk37   017678493 3/0   c2t2d4
 ENA


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