HPUX - online reorg logical volume concat to striped?

  • Follow


Folks,

Is there a way to reorganize an HPUX logical volume from concatenated
to striped on-line?

On AIX I've used "reorgvg" to do it.  On Solaris I've used
"vxrelayout" to do it.

I know that at least I need to have some free logical extents in the
VG.  Done on 1, working on the other 2 systems.

I know I'll need to turn off contiguous allocation with "vgchange -C
n".

If there's no utility to do it, maybe there's a script that does it an
LE at a time?  Running a couple of days on line would still be better
than rolling off to tape and rebuilding.
0
Reply dfreybur (91) 8/31/2009 9:30:21 PM

Doug Freyburger wrote:
> Folks,
> 
> Is there a way to reorganize an HPUX logical volume from concatenated
> to striped on-line?
> 
> On AIX I've used "reorgvg" to do it.  On Solaris I've used
> "vxrelayout" to do it.

HP-UX ships with "Veritas Light".
Just like Solaris,
you must buy the full Veritas for HP-UX in order to get the vxrelayout.

> I know that at least I need to have some free logical extents in the
> VG.  Done on 1, working on the other 2 systems.
> 
> I know I'll need to turn off contiguous allocation with "vgchange -C
> n".
> 
> If there's no utility to do it, maybe there's a script that does it an
> LE at a time?  Running a couple of days on line would still be better
> than rolling off to tape and rebuilding.

Just an idea, I am lacking enough experience:
maybe you can temporarily connect a disk and mirror to it,
then disconnect/delete/recreate your current volume, then mirror back.

-- 
echo imhcea\.lophc.tcs.hmo |
sed 's2\(....\)\(.\{5\}\)2\2\122;s1\(.\)\(.\)1\2\11g;1s;\.;::;2'
0
Reply Michael 9/10/2009 8:23:40 PM


Michael Tosch wrote:
> Doug Freyburger wrote:
>
>> Is there a way to reorganize an HPUX logical volume from concatenated
>> to striped on-line?
>
>> On AIX I've used "reorgvg" to do it.  On Solaris I've used
>> "vxrelayout" to do it.
>
> HP-UX ships with "Veritas Light".
> Just like Solaris,
> you must buy the full Veritas for HP-UX in order to get the vxrelayout.

On HPUX I could install the Veritas LVM and start using it
instead of the on supplied by HPUX.  On Solaris I've
switched from Solstice Disk Suite to Veritas LVM for
reasons like this.  (Then again I have a fair number of
Solaris systems at use Disk Suite to mirror their boot
drives and Veritas LVM on all of their non-boot mount
points).

I find it strange that HPUX uses Veritas FS by default
but then doesn't use Veritas LVM by default either.  But
the HPUX LVM is simpler - KISS says go with it unless
there's a compelling reason.  Have I found a compelling
reason?  At this point I'm working on build a new VG,
then building striped LVs in it, then doing a migration
within the same host.

> Just an idea, I am lacking enough experience:
> maybe you can temporarily connect a disk and mirror to it,
> then disconnect/delete/recreate your current volume, then mirror back.

I've done that to migrate from array to array.  The result
is the same config.

My first guess was to add a bunch of LUNs to the VG.  Then
build same-size LVs that are striped.  Then do the mirroring
at the LV layer (I haven't checked exactly how to do that
and I know doing it at the PV layer doesn't do what I want).

The problem I hit is 2 of the 3 hosts have the VG built so
they can't add any more devices.  if I can't reorg in place
I need to create a new VG with better numbers, build the new
LVs in it striped, migrate the application (Oracle EBS) there.
Doing that now ...

Thanks for the response!
0
Reply Doug 9/10/2009 10:01:24 PM

2 Replies
264 Views

(page loaded in 0.019 seconds)


Reply: