The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
suggest some ideas for reuse infyanurag Linux 0 01-25-2008 05:39 AM
CEP in Layman?s Terms: Reuse and Agility iBot Complex Event Processing RSS News 0 01-18-2008 01:30 AM
Password reuse utility rtoba UNIX for Advanced & Expert Users 1 06-22-2006 10:06 AM
How to reuse same major number Agnello UNIX for Dummies Questions & Answers 0 01-09-2006 05:31 AM
[Problem]Reuse port in BSD socket Namely High Level Programming 1 11-28-2003 11:36 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-09-2007
zetadhell zetadhell is offline
Registered User
  
 

Join Date: May 2006
Posts: 11
Reuse disk from other HP-UX

Hello, I have 2 hp-ux both running 11.23, I have move one of a harddisk from "UNIX A" to "UNIX B", so how can I read back the data in "UNIX B"?

Thanks
  #2 (permalink)  
Old 09-09-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
I hope they were isolated volumes and you did not have a virtual file system spanning onto the 2nd disk you have just removed.

What file system format do you have on the disk?
  #3 (permalink)  
Old 09-09-2007
zetadhell zetadhell is offline
Registered User
  
 

Join Date: May 2006
Posts: 11
Thanks for reply, the file system is VxFS, It only have one VG with 3 mount point on this disk and this VG is only on this disk
  #4 (permalink)  
Old 09-09-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Does the new disk device appear in the dmesg output?

Have you tried using "SAM" to get the OS to recognize the volume group?
  #5 (permalink)  
Old 09-09-2007
zetadhell zetadhell is offline
Registered User
  
 

Join Date: May 2006
Posts: 11
I can see the disk in ioscan -fnC disk.
In SAM, it only display this disk with unused status.
How to use SAM to get the OS to recognize the volume group?
Thanks
  #6 (permalink)  
Old 09-10-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Do you know the name of the original volume group?

Did you do a vgexport on the original system?

Quote:
To move the database: a.Shut down the database. Making a backup copy is highly recommended. b.For a file system-based database, unmount the file systems using the umount command. c.Deactivate the volume groups using the vgchange command. d.Create a map file which will facilitate moving the volume groups to the HP Integrity server by using the vgexport command. Use the –p (preview) option to avoid expunging the volume group from the HP 9000 server (to allow for backtracking if necessary). HP also recommends using the –s (shared) option; it was designed to simplify the process of moving volume groups between the nodes of a clustered system, but is also available for non-clustered systems. The following is an example of using vgexport to create a map file named mapfilefor the volume group vgORA: vgexport –p –m mapfile –s /dev/vgORA e.Copy the map file to the HP Integrity (where it will be used by a vgimport command to recreate the volume group). f.Provide the HP Integrity access to the disks containing the database. This could require physically re-cabling the disks from the HP 9000 to the HP Integrity. You can also accomplish this by reconfiguring your SAN, or in the case of a disk array, reconfiguring the LUNs to be visible to the HP Integrity. On the HP Integrity, perform an ioscan and then an insf to initiate configuration of the newly added disks or LUNs. g.Import the volume groups using the map files, and the volume group directories and group files you created earlier. For example, use: vgimport –m mapfile –s /dev/vgORA h.Change the volume group special files to be owned by the same owner and group as on the HP 9000 server, and ensure correct permissions: chown –R oracle:dba /dev/vgracchmod 644 /dev/vgrac/* i.Activate the volume groups using vgchange –a y. For a clustered system, you will need to take the extra steps to change the volumegroups to permit sharing (using vgchange –c y –S y) and then activate the volumegroup in shared mode (using vgchange –a s). j.If your database is implemented using file systems, mount the logical volumes contained in the volume groups you just activated (for example, mount /dev/vgORA/lv01 /ora01).
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0