Operating System - HP-UX
1753788 Members
7852 Online
108799 Solutions
New Discussion юеВ

Extend a VG online, with online JFS

 
SOLVED
Go to solution
Ganesan R
Honored Contributor

Re: Extend a VG online, with online JFS

Hi Again,

I suspect that you have imported in preview mode on secondary. is it?

You have to import it in normal mode not the preview mode.

#vgimport -v -s -m vgname
Best wishes,

Ganesh.
Stephan.
Honored Contributor

Re: Extend a VG online, with online JFS

N Ward
Regular Advisor

Re: Extend a VG online, with online JFS

ioscan and insf been done, tried it in preview and 'proper' mode (without the -p) and still nothing extra in /etc/lvmtab. Output says "Beginning import... blah blah" then "Volume group already in /etc/lvmtab"
Michal Kapalka (mikap)
Honored Contributor

Re: Extend a VG online, with online JFS

hi,

of couse because the vg is there alredy.

the cluster was configured a nd the vg was imported to both nodes.

mikap



Ganesan R
Honored Contributor

Re: Extend a VG online, with online JFS

Hi,

>>>Output says "Beginning import... blah blah" then "Volume group already in /etc/lvmtab"<<<

As per this message, vg is already there in lvmtab file.

Can you post the volumegroup names you are trying to import and #strings /etc/lvmtab output from secondary node ?
Best wishes,

Ganesh.
N Ward
Regular Advisor

Re: Extend a VG online, with online JFS

"of couse because the vg is there alredy.

the cluster was configured and the vg was imported to both nodes"


I'm aware of this, I was just providing the text output, but that is all I get, /etc/lvmtab does not get updated.
Michal Kapalka (mikap)
Honored Contributor

Re: Extend a VG online, with online JFS

ok check if the vg that you like to import is in the /etc/lvmtab.


mikap
N Ward
Regular Advisor

Re: Extend a VG online, with online JFS

"ok check if the vg that you like to import is in the /etc/lvmtab"

It is already there, with the unextended set of devices..

I can get a strings of /etc/lvmtab off but it will take a while due to the nature of the system.

Ganesan R
Honored Contributor

Re: Extend a VG online, with online JFS

Hi,

If you are not providing the output we asked, it is little difficult to help you out. We are interacting through forum. So it is not possible to understand the issue correctly unless you provide all the necessary details.

ok. back to your reply.
>>"of couse because the vg is there alredy.
the cluster was configured and the vg was imported to both nodes"<<

Does current lvmtab file has entry about the vg or not? Or provide the exact steps you followed starting from exporting on primary node to importing on alt node.
Best wishes,

Ganesh.
N Ward
Regular Advisor

Re: Extend a VG online, with online JFS

Hi I appreciate the help and I haven't said I won't get the input, I'm just explaining that its difficult due to the security of the system.

Yes, the vg is in the /etc/lvmtab on both nodes. On the Primary node it has the newly added devices too, on the Standby node following the import, it does not have the extended devices.

I will try and get the info off and update the forum later.

Process followed..

Extend VGs on Primary, extend LVs, fsadm on mount points. Create map file

# vgexport -p -s -m /tmp/redo1.map /dev/vg_ora_coredb_redo1

Copy map file to Secondary node.
ioscan and insf -e on secondary node.

# vgimport -s -m -v /tmp/redo1.map /dev/vg_ora_coredb_redo1