Showing results for 
Search instead for 
Did you mean: 

Need 11.0 Disk FS, LV & VG

Go to solution
Bill Pontius
Frequent Advisor

Need 11.0 Disk FS, LV & VG

I'm in the middle of an 11.0 install. I want to do a make_recovery & return to 10.20. Right now, there is no fs, lv & vg. Everyting appear to be there under /. The system will not allow building the vg00 because disk was already used. How do I create FS, LV & VG so I can install and run ignite.
so let it be wriiten so let it be done
James R. Ferguson
Acclaimed Contributor

Re: Need 11.0 Disk FS, LV & VG

Hi Bill:

If I understand correctly, by "in the middle", I presume that you have installed the core OS for 11.x (and perhaps the Applications' CD products and/or patch bundles you want) and now wish capture an image of this in order to return to 10.20 temporarily.

If this is correct, then Ignite software should be available from the core installation. If I am incorrect, then you should either be able to download a version from the Ignite web site or install a version from the Application CDROM set.

In either case, to capture the 11.x environment, do:

# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

To recover the disk you currently have 11.x on (after the above), boot your server from the 10.20 Ignite recovery tape and 'vgimport' your volume groups.

Does this help?



Michael Tully
Honored Contributor

Re: Need 11.0 Disk FS, LV & VG

Hi Bill,

You are in the 'middle' of an install ?? and
wish to go back to 10.20. From your post
there is not much point in trying to create
an ignite tape from this install of HPUX 11
as it probably won't work.
As far as going back to 10.20 there should
be no problem if you have an ignite tape
that works. Once the tape successfully loads
there is no need to do any importing of
volume groups, they will simply appear as long
as none of the disks have been trashed during
your 11 install. I have done this on a number
of occassions and there has been no need.

Anyone for a Mutiny ?
Bill Pontius
Frequent Advisor

Re: Need 11.0 Disk FS, LV & VG

I've just did the download, swinstall, make_recovery, check_recovery, and cat of makrec.last for 11.0. It looks okay. I want to create the disk fs, lv and vg on 11.0, do the make-recovery for 11.0 and then recover back to 10.20. I'll probably stay at 10.20 but I'll have the option to go back to 11.0. The problem I have is when trying to create the vg00 in sam I get
SAM can find no unused disk on the system from which to create a
volume group. SAM can only create a volume group with disks that are
currently unused. If you think there is an unused disk which SAM is
not finding, select the "Diagnose Missing Disk" action found in the
"Actions" menu. The bdf looks like
Filesystem kbytes used avail %used Mounted on
/dev/dsk/c0t6d0 1795431 845824 770063 52% /
I looks like my disk is already assigned and thus cannot create the vg00. How can I create the fs, lv and vgf given the above.

so let it be wriiten so let it be done
Honored Contributor

Re: Need 11.0 Disk FS, LV & VG

Hi Bill,

You DO NOT want to create new filesystems (in 11.0) if you are already using up all the disks in 10.20. This will overwrite the data on the disks.

You will have to import the volume groups already configured in 10.20. If you don't have too many disks, you could just run vgscan -p -v and see which disks belong to which VG and import the VGs.

Do you have a copy of the old lvmtab from 10.20?

They think they know but don't. At least I know I don't know - Socrates
Honored Contributor

Re: Need 11.0 Disk FS, LV & VG

Hi Bill,

Even if you don't have a hard/soft copy, the easiest thing you can do is import the old root vg from 10.20 on your 11.0 box and then mount the old filesystems.

For Eg:

mkdir /dev/vg1020
mknod /dev/vg1020/group c 64 0x0??0000
(where ?? is a unique number, ls -al /dev/*/group will give a listing of all group files, most probably in your case, there is only one file at this point, so you should be able to use 0x010000)
vgimport /dev/vg1020 /dev/dsk/cXtYdZ
(where cXtYdZ is your old root disk)

mkdir /oldroot
vgchange -a y /dev/vg1020
mount /dev/vg1020/lvol3 /oldroot

You should be able to see the lvmtab on the 10.20 disk in /oldroot.
Once you mount the filesystem, you can check the disks in other VGs and import the other VGs

Don't forget to update the /etc/fstab on the 11.0 disk once you import the VGs.

They think they know but don't. At least I know I don't know - Socrates