Operating System - HP-UX
1834999 Members
2392 Online
110073 Solutions
New Discussion

Re: Migrate from partitions to LVM (HPUX 11.00)

 
Eduardo Mambrilla
New Member

Migrate from partitions to LVM (HPUX 11.00)

I want to migrate my root disk (non-LVM) to LVM, but when I use the command "lvmmigrate" I get this message error "This tool can run on 10.0 system only"
Thanks
5 REPLIES 5
Bill Hassell
Honored Contributor

Re: Migrate from partitions to LVM (HPUX 11.00)

This won't be possible on the root disk. When you chose a single disk for root, the filesystem covers the entire disk so there is no room to create the volume groups and individual filesystems. I haven't tried this but I believe that Ignite/UX (actually, the make_tape_recovery command) can create a bootable tape in which you can choose an LVM layout. But you will need to look at a standard LVM layout for the mounted lvols to decide how to allocate the space.

Otherwise, you'll probably be better off reinstalling and restoring from backup (except /dev and lvm file in /etc !!!)


Bill Hassell, sysadmin
S.K. Chan
Honored Contributor

Re: Migrate from partitions to LVM (HPUX 11.00)

You can't use that tool anymore for this purpose. If I'm not mistaken, lvmmigrate is used to migrate from 9.x (non-lvm) to 10.0 (lvm) OR 10.0 (non-lvm) to 10.0 (lvm). For some reason it's still in /usr/sbin. The cleanest way to do this is to re-install. Or if you have another disk, you can set that disk up in LVM and cpio the data from the non-lvm disk over.
Martin Johnson
Honored Contributor

Re: Migrate from partitions to LVM (HPUX 11.00)

I would recommend backing up your data and do a cold install of HPUX 11.0.

After the install, restore your data making sure you don't restore any system files.

HTH
Marty
Eduardo Mambrilla
New Member

Re: Migrate from partitions to LVM (HPUX 11.00)

When I use make_tape_recovery to backup my old root disk and I try to restore it in the new one, I can't choose LVM layout to the new one.
How can format the new disk using LVM?
Thanks
harry d brown jr
Honored Contributor

Re: Migrate from partitions to LVM (HPUX 11.00)

Check your version of Ignite making sure you have the LATEST, and when doing your make_tape_recovery, make sure you are backing up the entire vg00 (-A option) and when you restore force it to use interactive mode (-i)

Of course you could just save yourself countless hours by just doing a COLD INSTALL of 11.x

live free or die
harry
Live Free or Die